Product data

Chapter 3. Basic operation 59
3.3 Command-line interface
The IBM Systems Director provides the systems management command-line
interface, referred to as smcli, for issuing commands. You can run smcli
commands locally from SDMC or remotely by accessing the SDMC using a
remote access utility, such as secure shell (SSH).
SDMC provides all the commands that were available in HMC. You can run the
same command as in HMC, but using the smcli prefix. So the HMC command
lssyscfg -r sys becomes smcli lssyscfg -r sys.
Note that the smcli is prepended to the HMC command, and you can execute all
the HMC commands with the same parameters and values. Note that you do not
need to prepend smcli when you look up the man page of a command. When
looking up the man page of a command that is related to managed Power
resources, you should issue the following command:
man psm.<command_name>
The commands related to console management and user management are
discontinued in SDMC. There are some commands that exist both in the HMC
and IBM Systems Director, such as lsled. If you issue the command with the
smcli prefix, SDMC executes the command belonging to IBM Systems Director.
If you want to execute the same command that existed in HMC, you have to
include the bundle name psm in the command, as shown below:
smcli psm lsled
This command executes the lsled command as executed in the HMC. For
further information, see Chapter 10, “Command-line interface” on page 275.