HP XC System Software Administration Guide Version 2.1
# cexec -a "users"
n4: root db dal guest
n3: cjg
n2: rc wk
n1: root tcr
The follow ing example runs the who --count com mand on nodes n12 and n25:
# cexec -a "who --count"
n12: root bg rmk
n12: # users=3
n25: root wra guest spg
n25: # users=4
See the cexec(1) manpage for additional information
.
1.5 Understanding the Configuration and Managemen
t
Database
The HP XC s ystem stores information about the nodes and system configuration in t he
configuration a n d management database (cmdb). This is a MySQL database that runs on
the node with the node management role. The cmdb is constructed durin g HP XC system
installation; it contains data on hardw a re and software con figuratio n and on th e connectivity
of the system.
The configuration parameters stored in the c
mdb include:
• Node names
• Server types
•Memory
• Processors
• MAC addresses
• IP addresses
• Switch p or ts
• Services
•Roles
• Metrics
A number of custom management tools access the data stored in cmdb; they are as follows:
•Theshownode command searches the d ataba
se and displays a list of services defined for
agivenparameter.
•Thedbsysparams command searches the database and displays the value of the given
attribute.
•Themanagedb command lets y ou archive metrics data from the cmdb, backup the cmdb,
or du mp (disp lay) the cmdb data.
Additionally, you can inter ro gate th
e cmdb and m odify parameters.
Although it is possible to access the cmdb with mysql, the MySQL interactive client, this
practice is discouraged.
Chapter 5 describes the tasks that are performed in conjunction with the cmdb.
HP XC Administrative Environment 1-7