User's Manual

Using the RACADM Command Line Interface 71
Accessing RACADM Remotely
Table 4-2 lists the options for the remote RACADM subcommands.
To access RACADM remotely, type the following commands:
racadm -r
<CMC IP address>
-u
<username>
-p
<password>
<subcommand>
<subcommand options>
racadm -i -r
<CMC IP address> <subcommand> <subcommand
options>
NOTE: The -i option instructs RACADM to interactively prompt for user name and
password. Without the -i option, you must provide the user name and password in
the command using the -u and -p options.
For example:
racadm -r 192.168.0.120 -u root -p calvin getsysinfo
racadm -i -r 192.168.0.120 getsysinfo
Table 4-2. Remote RACADM Subcommand Options
Option Description
-r <
racIpAddr
>
-r <
racIpAddr
>:<
port
>
Specifies the controller’s remote
IP address.
Use <port number> if the CMC port
number is not the default port (443)
-i Instructs RACADM to interactively query
the user for user name and password.
-u <
usrName
> Specifies the user name that is used to
authenticate the command transaction.
If the -u option is used, the -p option
must be used, and the -i option
(interactive) is not allowed.
-p <
password
> Specifies the password used to
authenticate the command transaction.
If the -p option is used, the -i option is
not allowed.