Reference Guide

Example
Get Power Status on iDRAC
racadm serveraction powerstatus
Server Power Status: ON
racadm serveraction powercycle
Server power operation successful
set
Description Modies the value of conguration objects on a device.
NOTE:
For conguration of staged objects such as BIOS or NIC, commit and reboot job creation must be
used to apply the pending values. For more information, see jobqueue.
To run this subcommand for conguration xml le type, the Lifecycle Contoller version 1.1 or later is
required.
Synopsis
racadm set -f <filename> [--continue]
racadm set <FQDD Alias>.<group>.<index>.<object> <value>
racadm set <FQDD Alias>.<group>.<object> <value>
racadm set <FQDD Alias>.<group>.<index>.<object> <value>
racadm set -f <filename> -t xml -u myuser -p xxx -l <CIFS or NFS share>
racadm set –f <filename> -t <filetype> -u <username> -p <password> -l
<CIFS or NFS share> --preview
racadm set -f <filename> -t <filetype> -u <username> -p <password> -l
<CIFS or NFS share> -c <FQDD>
racadm set -f <filename> -t <filetype> -u <username> -p <password> -l
<CIFS or NFS share> -c <FQDD>, <FQDD>, <FQDD>, <FQDD>
Input
<FQDD Alias>
<group>Species the group containing the object that must be written.
<object>Species the object name of the value that must be written.
<index> — This option is specied where FQDD Aliases or Groups must be indexed.
-f <filename> — Enables set to congure the device from a specied le. This option is not supported
in the Firmware RACADM interface.
--continue — This option is used with –f only. If conguration through le is unsuccessful for a group,
then conguration continues with the next group in the le. If this option is not used, then conguration
stops when it is unsuccessful for a particular group. After the unsuccessful group, the rest of the groups
are not congured.
-u Species user name of the remote share from where the le must be imported.
-pSpecies password for the remote share from where the le must be imported.
-l Species network share location from where the le must be imported.
-tSpecies the le type that must be imported. Valid values are xml and ini. These values are case-
insensitive. ini imports the legacy conguration le. The ini le cannot be imported from a remote share. If -
t is not specied, the ini le format (default) is imported.
NOTE: To import or export .xml cong les, Lifecycle Controller version 1.1 or later is required.
-bSpecies the type of shutdown for the host after the import operation completes. The parameters
are Graceful, Forced, and NoReboot for graceful shutdown, forced shutdown, and no reboot
respectively. If this parameter is not specied, graceful shutdown is taken as the default.
NOTE: If the operating system is in use, then the graceful shutdown option may time out
within 300 seconds. If this operation is unsuccessful, then retry with the force option.
-w — Maximum time to wait for the graceful shutdown to occur. The value must be entered in seconds.
Minimum accepted value is 300 seconds and the maximum accepted value is 3600 seconds. The default
value is 1800 seconds.
66