CLI Guide

NOTE: The –b, -w, –s, and --preview options are applicable only with –f option.
-b — . Specifies the type of shutdown for the system after a file import operation completes. The parameters
are Graceful, Forced, and NoReboot for graceful shutdown, forced shutdown, and no reboot respectively.
If -b is not specified, graceful shutdown is taken as the default except as noted above for files containing new
values for immediate application-capable <FQDD>s.
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.
-s — Power state of the host when the import operation completes. The parameters are "On" for powered ON
and "Off" for powered OFF. If this parameter is not specified, power ON is taken as default.
--preview — Validates the configuration .xml file and view the status.
The --preview option provides the Job ID to verify the status of the file preview operation. The Job ID can
be tracked by running the
racadm jobqueue view –I <JID> command.
NOTE:
The --preview option does not restart the system.
The-b,-w options cannot be included with the --preview option.
A scheduled job or pending configuration should not be running while using the --preview
option.
-c — Specifies the FQDD or list of FQDDs separated by ',' of the components for which the configurations
should be imported. If this option is not specified, configuration related to all the components are imported.
NOTE: To use the -c or --preview option, the minimum Lifecycle Controller version required is 1.2.
NOTE: On certain devices, importing the server configuration profile requires two imports to apply
the configuration to all the devices. The first import of the profile enables hidden devices which are
then configured with a second import. The devices that require two imports are as follows:
PERC S110 and PERC S130 controllers
PERC S110 and PERC S130 controllers
BIOS and PCIe device: enabling PCIe slots in the system that are disabled and configuring the
PCIe device
BIOS: enabling processor trusted execution (TXT) when server has Trusted Platform Module
(TPM) 2.0 installed
BIOS: if SCP contains only a BIOS section that includes switching boot mode to UEFI and
configuration of UEFI PXE network settings
BIOS: if SCP contains only a BIOS section that includes switching boot mode to legacy BIOS or
UEFI along with changes to the boot order sequence using changes to BootSeq, HddSeq, or
UefiBootSeq attributes.
BIOS: changing TPM 2.0 cryptographic support from the default of SHA-1
NOTE: Boot mode and boot order sequence can be changed with a single SCP import if the
SetBootOrderFqddN and SetLegacyHddOrderFqddN attributes are used.
This command does not support setting the proxy parameters if the share location (-l) is HTTP/HTTPS. For more
information, see
Proxy parameter section.
Example
Single-object Set of real-time objects
Configure LCD String.
$ racadm set system.lcd.LCDUserString test
Configure iDRAC name.
racadm set iDRAC.Info.Name idrac-server100
Single-object Set of staged objects
RACADM Subcommand Details 107