CLI Guide

Connect to server 1 serial console:
racadm connect -m server-1
deploy
Table 15. Details of deploy attribute
Description Deploys blade server or IOM by specifying the required properties.
To use this subcommand, you must have the Server Administrator privilege.
NOTE: Use setniccfg to congure static IP address, subnet mask, and gateway, and DHCP, speed and
duplex properties.
Synopsis
racadm deploy -m server-<n> -u root -p <password> -s <ipaddress> <subnet>
<gateway> -b <device> -o no | yes
racadm deploy -m server-<n> -u root -p <password>-s -6 <ipv6Address>
<prefixlen> <gateway> -b <device> -o no | yes
where <prefixlen> must be a number between 0 and 128.
racadm deploy -m server-<n> -u root -p <password> -d [-6]
racadm deploy -m switch-<n> -u root -p <password>
racadm deploy -m switch-<n> -v SNMPv2 <snmpCommunityString> ro
racadm deploy -a [server/switch] -u root -p <password>
racadm deploy -q [-n <numofblades>]
Input
—b <device>Species the rst boot device must be used with -o. Use with-m <module> to specify for
an individual server, or with an -a for all servers.
Legal values are: None, PXE, HDD, CD-DVD, vFDD, vCD-DVD, iSCSI, SD, FDD, RFS.
-o no/yes — Indicates if the server must start from the device once. Use this option with -b option.
Use with -m <module> to specify for an individual server, or with -a for all servers.
-a — server/switch. Applies options to all modules present in the chassis of the given module type. Specify the
value as server or switch. Default value is server. Switches must support Ethernet Management.
-u <username> — Indicates that the <password> is supplied for the root user on the server or switch.
Root is a constant parameter, the only value that is valid with the —u option.
—m <module>Species the server or switch you want to congure.
Legal values:
server-<n>, where n=1–16
server-<nx>, where n=1– 8; x = a,b,c,d (lower case)
switch-<n>, where n=1– 6
-p <password>Species the password for the root user on the server or switch. For switches, valid
passwords are 6–32 ASCII characters in length, ranging in value 32–125 (decimal). For servers, valid passwords
are 1–20 ASCII characters in length, ranging in value 32–126 (decimal).
-s <ipaddress> <subnet> <gateway> — Sets the IP address, subnet mask, and gateway for the
specied server.
ipaddress — A string representing a valid IP address. For example, 192.168.0.20.
subnet — A string representing a valid subnet mask. For example, 255.255.255.0.
gateway — A string representing a valid gateway address. For example, 192.168.0.1.
-d — Enables DHCP for the specied server.
The -s and -d options cannot be used together in the same command.
-6 — Enables IPv6 auto conguration (when used with -d). Sets static IPv6 addresses (when used with -s).
24
RACADM Subcommand Details