HP XC System Software Administration Guide Version 4.0

Table Of Contents
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 79)
“Querying the Configuration and Management Database” (page 79)
“Finding and Setting System Attribute Values” (page 81)
“Backing Up the Configuration Database” (page 81)
“Restoring the Configuration Database from a Backup File” (page 81)
Archiving Sensor Data from the Configuration Database” (page 81)
“Restoring the Sensor Data from an Archive File ” (page 82)
“Purging Sensor Data from the Configuration and Management Database” (page 82)
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 79)
“Displaying the Services Provided by a Specified Node” (page 60)
“Displaying the Nodes That Provide a Specified Service” (page 60)
“Displaying Blade Enclosure Information” (page 81)
“Displaying All Services” (page 59)
“Disabling and Enabling a Node” (page 56)
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 79