Reference Guide
NOTE: To import or export .xml config files, Lifecycle Controller version 1.1 or
later is required.
• -b — Specifies the type of shutdown for the host after the import operation
completes. The parameters are Graceful for graceful and Forced for forced
shutdown. If this parameter is not specified, 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.
• -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 — Validate the configuration .xml file and view the status.
The --preview option includes the Job ID that is used to verify the status of the file
configuration before applying. The
Job ID can be tracked by running the racadm
jobqueue view –I <JID> command.
NOTE:
– This 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.
Example
• Configure the iDRAC using a file.
$ racadm set -f myrac.cfg
• Configure LCD String.
$ racadm set system.lcd.LCDUserString test
• Configure rack name for server.
$ racadm set system.location.rack.name rack1
• Configure a RAC from an XML configuration file at a remote CIFS share.
$ racadm set -f myfile.xml -t xml -u myuser -p xxx -l //
10.1.2.3/myshare
• Configure a RAC from an XML configuration file at a remote NFS share.
$ racadm set -f myfile.xml -t xml -l 10.1.2.3:/myshare
• Configure a RAC from an .xml file, with a wait time of 10 minutes, shutdown type
graceful and end host type power on.
$ racadm set -f myfile.xml -t xml -b "graceful" -w 600 -s "on"
• Verify the .xml file content located in a remote share.
racadm set -f temp_Configuration_file -t xml -u Administrator -
p xxx -l //192.168.0/xyz --preview
87