1bcfg2-admin(8)              System Manager's Manual             bcfg2-admin(8)
2
3
4

NAME

6       bcfg2-admin - Perform repository administration tasks
7

SYNOPSIS

9       bcfg2-admin [-C config-file] <mode> <mode args> <mode options>
10

DESCRIPTION

12       bcfg2-admin Perform Bcfg2 repository administration
13

OPTIONS

15       -C <config-file>
16              Specify  the location of the configuration file (if it is not in
17              /etc/bcfg2.conf)
18

MODES

20       init
21              Initialize a new repository (interactive)
22       client <action> <client> [attribute=value]
23              Add or remove clients from metadata
24       query [g=group] [p=profile] [-f output-file] [-n] [-c]
25              Search for clients based on group or profile
26       compare <old> <new>
27              Compare two client configurations. Can be used to verify consis‐
28              tent behavior between releases
29       minestruct <client> [-f xml-file] [-g groups]
30              Build structure entries based on client statistics extra entries
31       pull <client> <entry-type> <entry-name>
32              Install  configuration information into repo based on client bad
33              entries
34       snapshots [init|dump|query|reports]
35              Interact with the Snapshots database
36       tidy
37              Remove unused files from repository
38       viz [-H] [-b] [-k] [-o png-file] [-r]
39              Create a graphviz diagram of client, group and  bundle  informa‐
40              tion
41       bundle <action>
42              Display details about the available bundles
43

CLIENT OPTIONS

45       mode
46              Add a client 'add' or delete a client 'del'
47       client
48              Specify the client's name
49       attribute=value
50              Set attribute values when adding a new client
51

QUERY OPTIONS

53       g=group
54              Specify a group to search within
55       p=profile
56              Specify a profile to search within
57       -f <output-file>
58              Write the results of the query to a file
59       -n
60              Print the results, one on each line
61       -c
62              Print the results, separated by commas
63

COMPARE OPTIONS

65       old
66              Specify the location of the old configuration file
67       new
68              Specify the location of the new configuration file
69

MINESTRUCT OPTIONS

71       client
72              Client whose metadata is to be searched for extra entries
73       -g <groups>
74              Hierarchy of groups in which to place the extra entries in
75       -f <xml-output-file>
76              Specify the xml file in which to write the extra entries
77

PULL OPTIONS

79       client
80              Specify the name of the client to search for
81       entry-type
82              Specify the type of the entry to pull
83       entry-name
84              Specify the name of the entry to pull
85

SNAPSHOTS OPTIONS

87       init
88              Initialize the snapshots database
89       query
90              Query the snapshots database
91       dump
92              Dump some of the contents of the snapshots database
93       reports [-a] [-b] [-e] [--date=<MM-DD-YYYY>]
94              Generate reports for clients in the snapshots database
95

VIZ OPTIONS

97       -H
98              Include hosts in diagram
99       -b
100              Include bundles in diagram
101       -o <output file>
102              Write to outfile file instead of stdout
103       -r
104              Produce raw graphviz output
105       -k
106              Add a shape/color key
107
108
109
110
111                                                                bcfg2-admin(8)
Impressum