HP XC System Software Administration Guide Version 3.0

5. 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 57)
Querying the Configuration and Management Database (page 57)
Finding and Setting System Attribute Values (page 59)
Backing Up the Configuration Database (page 59)
Restoring the Configuration Database from a Backup File (page 59)
Archiving Metrics Data from the Configuration Database (page 59)
Restoring the Metrics Data from an Archive File (page 60)
Purging Metrics Data from the Configuration Database (page 60)
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).
Querying the Configuration and Management Database
The shownode command provides subcommands that enable you to perform the following operations:
Displaying Configuration Details (page 57)
Displaying the Services Provided by a Specified Node (page 46)
Displaying the Nodes That Provide a Specified Service (page 46)
Displaying All Services (page 45)
Disabling and Enabling a Node (page 41)
Displaying Configuration Details
The shownode command enables you to list the configuration details for nodes and other hardware.
# shownode config all:
all:
attributes:
node:
multicast_install_disab
cp_ports:
cp-n1:
cp_type: IPMI
host_name: cp-n1
Accessing the Configuration and Management Database 57