CLI Guide
The valid values are:
– JSON—It exports the SCP JSON le to a network share le.
– xml—It exports the SCP xml format le, either to a local or network share le.
– ini—It exports the legacy conguration le. If -t is not specied, then the ini format le is exported. It can
only be exported to a local le.
NOTE: To import or export Server Conguration Prole xml/JSON les, Lifecycle Controller version
1.1 or later is required.
• --clone—Gets the conguration .xml les without system-related details such as service tag. The .xml le
received does not have any virtual disk creation option.
• --replace—Gets the conguration .xml les with the system-related details such as service tag.
• -c—Species the FQDD or list of FQDDs separated by ',' of the components for which the congurations should
be exported. If this option is not specied, the conguration related to all the components are exported.
• --includeph—Species that the output of the passwords included in the exported conguration .xml/JSON
le are in the hashed format.
NOTE: if –includeph is not used, the output of the passwords will be in the .xml/JSON le in clear
text.
NOTE: For --clone and --replace options, only .xml le template is received. These options --
clone and --replace cannot be used in the same command.
Examples
• Get system LCD information.
racadm get system.lcdLCDUserString
• Display an entire group, in this case the topology conguration.
racadm get system.location
• Display a single object from a particular group.
racadm get system.location.rack.name
• Export the xml conguration to a CIFS share.
racadm get -f file -t xml -u myuser -p xxx -l //192.168.0/share
• Export the xml conguration to an NFS share.
racadm get -f file -t xml -l 192.168.0:/myshare
• Export a “cloned” xml conguration to a CIFS share
racadm get -f xyz_temp_clone -t xml -u Administrator -p xxx -l //192.168.0/
xyz --clone
• Export a “replace” xml conguration to a CIFS share
racadm get -f xyz_temp_replace -t xml -u Administrator -p xxx -l //192.168.0/
xyz --replace
• Export the xml conguration of the iDRAC component to a CIFS share.
racadm get -f file -t xml -u myuser -p xxx -l //192.168.0/share -c
iDRAC.Embedded.1
• Include password hash in the conguration .xml le.
racadm get -f<filename> -t xml -l<NFS or CIFS share> -u<username> -
p<password> -t xml --includeph
getcong
Table 23. Details of
getcong attribute
Description
Retrieves iDRAC conguration parameters individually or all iDRAC
conguration groups may be retrieved and saved to a le.
58 RACADM Subcommand Details