HP XC System Software Administration Guide Version 3.2

6 Managing the Configuration and Management Database
The configuration and management database, CMDB, is key to the configuration of the HP XC
system. It keeps track of which nodes are enabled or disabled, the services that a node provides,
the services that a node receives, and so on.
This chapter addresses the following topics:
Accessing the Configuration and Management Database” (page 81)
“Querying the Configuration and Management Database” (page 81)
“Finding and Setting System Attribute Values” (page 83)
“Backing Up the Configuration Database” (page 83)
“Restoring the Configuration Database from a Backup File” (page 83)
Archiving Sensor Data from the Configuration Database” (page 83)
“Restoring the Sensor Data from an Archive File ” (page 84)
“Purging Sensor Data from the Configuration and Management Database” (page 84)
6.1 Accessing the Configuration and Management Database
The CMDB is a MySQL database. Enter the following command to access it directly:
# mysql -u root -p cmdb
The HP XC system software provides an array of commands that retrieve and modify the data
in the CMDB. Use these commands to access the CMDB instead of accessing it manually.
IMPORTANT:
The CMDB is a collection of interrelated tables. Making changes manually without understanding
the interrelationship of these tables can have serious consequences. Make manual changes in
this database only on the advice of the trained HP service representative.
For additional information on the mysql command, see mysql(1).
6.2 Querying the Configuration and Management Database
The shownode command provides subcommands that enable you to perform the following
operations:
“Displaying Configuration Details” (page 81)
“Displaying the Services Provided by a Specified Node” (page 62)
“Displaying the Nodes That Provide a Specified Service” (page 62)
“Displaying Blade Enclosure Information” (page 83)
“Displaying All Services” (page 61)
“Disabling and Enabling a Node” (page 58)
6.2.1 Displaying Configuration Details
The shownode command enables you to list the configuration details for nodes and other
hardware.
# shownode config
all:
attributes:
node:
multicast_install_disab
cp_ports:
cp-n1:
cp_type: IPMI
6.1 Accessing the Configuration and Management Database 81