Reference Guide
Example
Get Power Status on iDRAC
racadm serveraction powerstatus
Server Power Status: ON
racadm serveraction powercycle
Server power operation successful
set
Description Modies the value of conguration objects on a device.
NOTE:
• For conguration 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 conguration 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> — Species the group containing the object that must be written.
• <object> — Species the object name of the value that must be written.
• <index> — This option is specied where FQDD Aliases or Groups must be indexed.
• -f <filename> — Enables set to congure the device from a specied le. This option is not supported
in the Firmware RACADM interface.
• --continue — This option is used with –f only. If conguration through le is unsuccessful for a group,
then conguration continues with the next group in the le. If this option is not used, then conguration
stops when it is unsuccessful for a particular group. After the unsuccessful group, the rest of the groups
are not congured.
• -u — Species user name of the remote share from where the le must be imported.
• -p — Species password for the remote share from where the le must be imported.
• -l — Species network share location from where the le must be imported.
• -t — Species the le type that must be imported. Valid values are xml and ini. These values are case-
insensitive. ini imports the legacy conguration le. The ini le cannot be imported from a remote share. If -
t is not specied, the ini le format (default) is imported.
NOTE: To import or export .xml cong les, Lifecycle Controller version 1.1 or later is required.
• -b — Species 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 specied, 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