bcfg2-admin
bcfg2-admin
Section: Maintenance Commands (8) Local index
Up
NAME
bcfg2-admin - Perform repository administration tasks
SYNOPSIS
bcfg2-admin
[-C config-file]
<mode>
<mode args>
<mode options>
DESCRIPTION
bcfg2-admin
Perform Bcfg2 repository administration
OPTIONS
-C <config-file>
-
Specify the location of the configuration file (if it is not in
/etc/bcfg2.conf)
MODES
init
-
Initialize a new repository (interactive)
client <action> <client> [attribute=value]
-
Add or remove clients from metadata
query [g=group] [p=profile] [-f output-file] [-n] [-c]
-
Search for clients based on group or profile
compare <old> <new>
-
Compare two client configurations. Can be used to verify consistent
behavior between releases
minestruct <client> [-f xml-file] [-g groups]
-
Build structure entries based on client statistics extra entries
pull <client> <entry-type> <entry-name>
-
Install configuration information into repo based on client bad
entries
snapshots [init|dump|query|reports]
-
Interact with the Snapshots database
tidy
-
Remove unused files from repository
viz [-H] [-b] [-k] [-o png-file] [-r]
-
Create a graphviz diagram of client, group and bundle information
bundle <action>
-
Display details about the available bundles
CLIENT OPTIONS
mode
-
Add a client 'add' or delete a client 'del'
client
-
Specify the client's name
attribute=value
-
Set attribute values when adding a new client
QUERY OPTIONS
g=group
-
Specify a group to search within
p=profile
-
Specify a profile to search within
-f <output-file>
-
Write the results of the query to a file
-n
-
Print the results, one on each line
-c
-
Print the results, separated by commas
COMPARE OPTIONS
old
-
Specify the location of the old configuration file
new
-
Specify the location of the new configuration file
MINESTRUCT OPTIONS
client
-
Client whose metadata is to be searched for extra entries
-g <groups>
-
Hierarchy of groups in which to place the extra entries in
-f <xml-output-file>
-
Specify the xml file in which to write the extra entries
PULL OPTIONS
client
-
Specify the name of the client to search for
entry-type
-
Specify the type of the entry to pull
entry-name
-
Specify the name of the entry to pull
SNAPSHOTS OPTIONS
init
-
Initialize the snapshots database
query
-
Query the snapshots database
dump
-
Dump some of the contents of the snapshots database
reports [-a] [-b] [-e] [--date=<MM-DD-YYYY>]
-
Generate reports for clients in the snapshots database
VIZ OPTIONS
-H
-
Include hosts in diagram
-b
-
Include bundles in diagram
-o <output file>
-
Write to outfile file instead of stdout
-r
-
Produce raw graphviz output
-k
-
Add a shape/color key
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- MODES
-
- CLIENT OPTIONS
-
- QUERY OPTIONS
-
- COMPARE OPTIONS
-
- MINESTRUCT OPTIONS
-
- PULL OPTIONS
-
- SNAPSHOTS OPTIONS
-
- VIZ OPTIONS
-
This document was created by
man2html,
using the manual pages.
Time: 22:01:20 GMT, April 16, 2011