bcfg2-admin
Section: Maintenance Commands (8)Index Return to Main Contents
NAME
bcfg2-admin - Perform repository administration tasksSYNOPSIS
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)
- Add or remove clients from metadata
- Search for clients based on group or profile
- Compare two client configurations. Can be used to verify consistent behavior between releases
- Build structure entries based on client statistics extra entries
- Install configuration information into repo based on client bad entries
- Interact with the Snapshots database
- Remove unused files from repository
- Create a graphviz diagram of client, group and bundle information
CLIENT OPTIONS
mode
- Add a client 'add' or delete a client 'del'
- Specify the client's name
- Set attribute values when adding a new client
QUERY OPTIONS
g=group
- Specify a group to search within
- Specify a profile to search within
- Write the results of the query to a file
- Print the results, one on each line
- Print the results, separated by commas
COMPARE OPTIONS
old
- Specify the location of the old configuration file
- Specify the location of the new configuration file
MINESTRUCT OPTIONS
client
- Client whose metadata is to be searched for extra entries
- Hierarchy of groups in which to place the extra entries in
- Specify the xml file in which to write the extra entries
PULL OPTIONS
client
- Specify the name of the client to search for
- Specify the type of the entry to pull
- Specify the name of the entry to pull
SNAPSHOTS OPTIONS
init
- Initialize the snapshots database
- Query the snapshots database
- Dump some of the contents of the snapshots database
- Generate reports for clients in the snapshots database
VIZ OPTIONS
-H
- Include hosts in diagram
- Include bundles in diagram
- Write to outfile file instead of stdout
- Produce raw graphviz output
- 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: 15:26:32 GMT, November 06, 2009