beautypg.com

1 saving user settings, 17 hp insight cmu cli, 1 starting a cli interactive session – HP Insight Cluster Management Utility User Manual

Page 128: 2 basic commands

background image

1.

In the /opt/cmu/etc/cmu_custom_menu file, uncomment the following line:

SERVER;audit|dmidecode;/opt/cmu/bin/cmu_dsh -f CMU_TEMP_NODE_FILE -c "dmidecode" -e "-b -n -v0 -R0"

2.

Run the CLI.

3.

cmu> custom_run

Title Command
-------------------|-------
audit|dmidecode /opt/cmu/bin/cmu_dsh -f CMU_TEMP_NODE_FILE -c "dmidecode" -e "-b -n -v0 -R0"
cmu>

The available custom commands are displayed.

4.

Run the dmidecode command on node10 from the CLI.

cmu> custom_run "audit|dmidecode" node10

7.16.1 Saving user settings

Users can save and restore preferences locally in the cmu_gui_local_settings file without
cluster administrator privileges.

7.17 HP Insight CMU CLI

7.17.1 Starting a CLI interactive session

The cmucli command can be invoked at any time to start the CLI session in interactive mode.

# cmucli

The following output appears:

CMU - Cluster Management Utility
(c)HP Competency Center

Start of CMU CLI Session Wed Jan 4 17:30:49 CET 2006

cmu>

7.17.2 Basic commands

These commands help you manage the cluster in command-line mode. The command-line mode is
used interactively or in a script mode, giving a file name when invoking the command. Each
command is executed on a specified set of nodes. Use a complete list of nodes, or a regular
expression to specify the nodes. This interface includes the administration, backup, and cloning
features of HP Insight CMU.

Exiting an HP Insight CMU CLI interactive session

cmu> exit

#

Starting a noninteractive HP Insight CMU CLI session

To start the CLI session and execute commands from a file:

# cmucli my_path/my-file

NOTE:

The file must contain a set of valid HP Insight CMU commands. The available commands

and syntax are described in the following sections.

Management card naming

Management card naming differs between HP Insight CMU GUI and HP Insight CMU CLI.

iLO in HP Insight CMU GUI is ILO in HP Insight CMU CLI.

128

Managing a cluster with HP Insight CMU