beautypg.com

5 administration utilities pdcp and pdsh, 6 hp insight cmu linux shell commands – HP Insight Cluster Management Utility User Manual

Page 138

background image

7.17.5 Administration utilities pdcp and pdsh

HP Insight CMU includes the open source software pdcp and pdsh.

Usage example of pdcp:

# /opt/cmu/bin/pdcp -w cn0001,cn0002 source /tmp/dest

where:

source

is a file on the management node.

dest

is the name of the destination file copied to compute nodes cn0001 and cn0002.

Usage example of pdsh:

# /opt/cmu/bin/pdsh -w cn0001,cn0002 ls

cn0001: bin
cn0001: inst-sys
cn0002: anaconda-ks.cfg
cn0002: CMU_CLONING_INFO
cn0002: install.log.syslog
cn0002: install.log

The ls command is executed on compute nodes cn0001 and cn0002.

7.17.6 HP Insight CMU Linux shell commands

HP Insight CMU provides a Linux shell API interface. Most functions provided from the GUI and
CLI have their equivalent in the API interface. The API interface is easily called from a shell script.

For more information on HP Insight CMU commands, see

“HP Insight CMU manpages” (page 167)

,

or the manpages.

138

Managing a cluster with HP Insight CMU