CLI Guide
To use this subcommand, you must have the Server Administrator privilege.
NOTE: You can also use setniccfg to configure static IP address, subnet mask,
gateway, DHCP, speed, and duplex properties.
Synopsis
• racadm deploy -m <module> -u root -p <password> -s <ipaddress>
<subnet> <gateway> -b <device> -o <no|yes>
• racadm deploy -m <module> -u root -p <password> -s -6
<ipv6Address> <prefixlen> <gateway> -b <device> -o <no|yes>
where <prefixlen> is a number between 0 and 128.
• racadm deploy -m <module> -u root -p <password> -d [-6]
• racadm deploy -a -u root -p <password>
• racadm deploy —q —e 1
• racadm deploy —q --qd
Input
• -b <device> — Specifies the first boot device; must be used with -o.
• Use with -m <module> to specify for an individual server, or with -a for all servers.
Legal values: device=None, PXE, hard disk drive (HDD), CD-DVD, vFDD, vCD-DVD, iSCSI, SD,
FDD, RFS
• -o <no|yes> — Indicates if the server should boot from the device once; must be used with -
o.
Use with -m <module> to specify for an individual server, or with -a for all servers.
• -a — Creates and enables an iDRAC root user if it does not exist, and is executed on all the
existing servers in the chassis.
• -u root — Indicates that the <password> is supplied for the root user on the server. root is a
constant parameter, the only value that is valid with the ‑u option.
• -m <module> — Specifies the server you want to configure.
Legal value must be one of the following values:
• server-<n> where n=1 to 4
• switch-<n> where n=1
• -p <password> — Specifies the password for the root user on the server.
• -s <ipaddress subnet gateway> — Sets the IP address, subnet mask, and gateway for the
specified server, separated by single spaces.
• 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 specified server.
The -s and -d options cannot be used together in the same command.
• -6 — Enables IPv6 auto configuration (when used with -d.) Sets static IPv6 addresses (when
used with -s).
• -q — Displays or modifies the quick deploy parameters.
• -n<numofblades> — Specifies the number of reserved IP addresses for quick deploy. The
valid values are 2 and 4.
• -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
• racadm deploy -m server-8 -s 192.168.0.20 255.255.255.0
192.168.0.1
The server was deployed successfully.
RACADM Subcommand Details 29