HP XC System Software Administration Guide Version 2.1
5
Managing the Configuration and
Management Database
The configuration and m anagement data
base, cmdb, is key to the configuration of the HP XC
system. It keeps track of which nodes ar
e enabled or disabled , the services that a node provides,
the services that a node receives, and
so on.
This chapter cont ains the following informat ion :
• Accessing the cmdb (Section 5.1)
• Querying the cmdb (Section 5.2)
• Determining the value of a system attribute and s etting it (Section 5 .3)
• Backingupthecmdb (Section 5.4)
•Restoringthecmdb (Section 5.5)
• Archiving metrics data from the cmdb (Section 5 .6)
• Restoring metrics data f ro m the cmdb (Section 5.7)
• Purging metrics data from the cmdb (
Section 5.8)
5.1 Accessing the Configuration
and Management Database
The cmdb is a M ySQL database. E nter the following command to access it directly:
# mysql -u root -p cmdb
The HP XC system softw are provides an array of commands th at retrieve and mod if y the data in
the cmdb. You should use these comm a nds to access the cmdb instead of accessing it manually.
_________________________ Note _________________________
The cmdb is a collectio n of interrelated tables. Making changes manually without
understanding the in terrelationship of these tables can have serious consequences.
Make manual chang es in this database only on the advice of trained HP Support
personnel.
See the mysql(7) manpage for
additional information on this command.
5.2 Querying the Configurat
ion and Management Database
The shownode command provides subcomm a nds that en able you to:
• Display the details of the c
onfiguration of the system (Section 5.2.1)
• List all the services for the system (Section 3.2.3)
• Find all the nodes th at p rov ide a specified service (Section 3.2.2)
• List all the services provi
ded by a specified node (Section 3.2.1)
• List the enabled and disabled nodes (Section 2.5)
Managing the Configuration and Management Database 5-1