HP XC System Software Administration Guide Version 3.1

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 77)
“Querying the Configuration and Management Database” (page 77)
“Finding and Setting System Attribute Values” (page 79)
“Backing Up the Configuration Database” (page 79)
“Restoring the Configuration Database from a Backup File” (page 79)
Archiving Sensor Data from the Configuration Database” (page 80)
“Restoring the Sensor Data from an Archive File ” (page 80)
“Purging Sensor Data from the Configuration and Management Database” (page 80)
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 77)
“Displaying the Services Provided by a Specified Node” (page 58)
“Displaying the Nodes That Provide a Specified Service” (page 58)
“Displaying Blade Enclosure Information” (page 79)
“Displaying All Services” (page 57)
“Disabling and Enabling a Node” (page 53)
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
host_name: cp-n1
hwaddr: 00:e0:8b:01:02:03
6.1 Accessing the Configuration and Management Database 77