CLI Guide

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).
-v SNMPv2 <snmpCommunityString> roSpecies the SNMP community string for switches. Valid
community strings are 1–20 characters in length, with valid ASCII characters in the range [33–125] (decimal).
Protocol version set to SNMPv2. Permission on community string is read-only.
-q — Displays or modies the quick deploy parameters.
-n <numofblades>Species the number of reserved IP addresses for quick deploy. The allowed values
are: 8, 16, and 32.
NOTE
: The -q option must be specied with the -n option.
-e — Uses the CMC DNS settings for quick deploy. The legal values are:
1 — Enable
0 — Disable
--qd — Updates the quick deploy parameters to the servers. This option works only with the -q option.
Output
None
Example
Set root password, congure static IPV4 address, set rst boot device to HDD, and enable boot once for
server-1.
racadm deploy -m server-1 -u root -p <password> -s 192.168.0.20 255.255.255.0
192.168.0.1 -b HDD -o yes
Set root password, congure static IPV6 address, set rst boot device to HDD, and enable boot once for
server-1.
racadm deploy -m server-1 -u root -p <password> -s -6 1 2001:DB8::2 64
2001:DB8::1 -b HDD -o yes
Set root password and enable DHCP for server-3.
racadm deploy -m server-3 -u root -p <password> -d
RACADM Subcommand Details 23