Selecting the command target

This topic describes command targets and the persistent command environment.

You can use the command-line interface to target commands to the management module or to other devices in the BladeCenter unit. The command-line prompt indicates the persistent command environment: the environment in which commands are entered unless they are otherwise redirected. When a command-line interface session is started, the persistent command environment is system; this indicates that commands are being directed to the BladeCenter unit.

Command targets are specified hierarchically, as shown in the following illustration. This illustration shows command targets for all management module and BladeCenter unit types.

Graphic illustrating the BladeCenter command target hierarchy.

You can change the persistent command environment for the remainder of a command-line interface session by using the env command (see env (environment) command). When you list the target as a command attribute by using the -T option, you change the target environment for the command that you are entering, temporarily overriding the persistent command environment. You can specify target environments by using the full path name or by using a partial path name that is based on the persistent command environment. Full path names always begin with "system". The levels in a path name are divided using a colon (:).

For example:

Most management-module commands must be directed to the primary management module. If only one management module is installed in the BladeCenter® unit, it always acts as the primary management module. Either management module can function as the primary management module; however, only one management module can be primary at one time. You can determine which management module is acting as the primary management module by using the list command (see list (system physical configuration) command).