|
Description
|
Modifies the value of configuration objects on a component. The
Set sub-command has two forms:
- The modification of a single object to a new value specified in the command line.
- The modification of multiple objects to new values using a configuration file. It supports multi-object value import from the below configuration file format:
Depending on the type of configuration object being modified, the new values could be applied immediately (in “real-time”) or require staging and a reboot of the system to apply the new values. The following components support either real-time or staged application of new values:
The following components require staging and system reboot for application of new values:
- BIOS
- Other PowerEdge RAID controllers — For software RAID configuration
- Networking devices – Ethernet and Fibre Channel
NOTE:
- To modify the value of staged objects such as BIOS or NIC, commit and reboot job creation must be used to apply the pending values. When single object
Setoperations are used to stage value modification, use the jobqueue command to schedule a job to reboot the server and apply the new values. For staged multi-object
Setoperations using xml configuration files, a job will automatically be created by the
Set command; use the –b, -w and -s options to specify how the staged reboot will be performed. For more information, see
jobqueue.
- Import and Export of INI file type doesn't support -c option for firmware versions earlier than iDRAC 4.40.00.00.
- For more information on the
set subcommand, run the RACADM command
racadm help set.
|
|
Synopsis
|
Single-object Set
-
racadm set <FQDD Alias>.<group> <value>
-
racadm set <FQDD Alias>.<group>.<object> <value>
-
racadm set <FQDD Alias>.<group>.[<index>].<object> <value>
-
racadm set <FQDD Alias>.<index>.<group>.<index>.<object> <value>
|
Multi-object Set
-
racadm set -f <filename> -t xml -l <NFS share> [--preview] [--continue]
-
racadm set -f <filename> -t xml -l <NFS share> -c <FQDD>[,<FQDD>*]
-
racadm set -f <filename> -t xml -u <username> -p <password> -l <CIFS share> [--preview] [--continue]
-
racadm set -f <filename> -t xml -u <username> -p <password> -l <CIFS share> -c <FQDD>[,<FQDD>*]
-
racadm set -f <filename> -t <file_type> -u <user> -p <pass> -l <location> \ [-s <state>] [-c <component_FQDD>] [--preview] [--customdefaults]
-
racadm set --savecustomdefaults
- Configure a RAC from an XML configuration file located on a remote NFS share
racadm set -f <filename> -t xml -l <NFS> 10.1.2.3:/myshare
- Configure a RAC from an XML configuration file located on a remote HTTP share.
racadm set -f <filename> -t xml -u <httpuser> -p <httppwd> -l <HTTP> http://test.com/myshare -port <port number>
- Configure a RAC from an XML configuration file located on a remote HTTPS share.
racadm set -f <filename> -t xml -u <httpsuser> -p <httpspwd> -l <HTTPS> https://test.com/myshare -port <port number>
- Configure a RAC from an XML configuration file located on a remote FTP share
racadm set -f <filename> -t xml -u <username> -p <password> -l <FTP share> -c <FQDD>
- Configure a RAC from an XML configuration file located on a remote TFTP share.
racadm set -f <filename> -t xml -l <TFTP share> -c <FQDD>
- To modify the value of InfiniBand attribute
racadm set <InfiniBand Attribute> <value>
|
|
Input
|
Staging and reboot control options. The following options control when and how system reboots are performed when using the –f option. As noted above, some
FQDDs require a system reboot to apply the new values; other
FQDDs optionally support immediate application of new values. If the imported file contains ONLY immediate application-capable
FQDDs such as iDRAC, do NOT use the –b option and the Set command will schedule a real-time job to immediately apply the new values.
NOTE:The –b, -w, –s, and --preview options are applicable only with –f option.
NOTE:
- To use the
-c or
--preview option, the minimum Lifecycle Controller version required is 1.2.
- 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:
- --savecustomdefaults—Saves current configuration as custom default configuration.
- --customdefaults—Performs the upload of custom default configuration file. This option should not be combined with
--preview. Supports XML file type only.
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
-
racadm set iDRAC.Info.Name idrac-server100
Single-object Set of staged objects
Multi-object Set of real-time objects
- Configure the iDRAC using a local Server Configuration Profile XML file containing only iDRAC settings.
racadm set -f myidrac.xml -t xml
- Configure the iDRAC using a Server Configuration Profile XML file stored on an NFS share containing only iDRAC settings.
racadm set -f myidrac.xml -t xml -l 10.1.2.3:/myshare
- Import a Server Configuration Profile from a CIFS share, using only the iDRAC component.
racadm set -f file –t xml -u myuser -p mypassword -l //192.168.0/share -c iDRAC.Embedded.1
Multi-object Set of staged objects
- Configure a systems using a local Server Configuration Profile XML file containing a mix of real-time and staged objects; reboot the server gracefully with a wait time of ten minutes, leaving the server powered on after the reboot.
racadm set -f myfile.xml -t xml -b "graceful" -w 600 -s "on"
- Configure a systems using a local Server Configuration Profile XML file containing a mix of real-time and staged objects; postpone reboot until other operations have been completed.
racadm set -f myfile.xml -t xml -b NoReboot
- Verify the Server Configuration Profile XML file content located in a remote CIFS share.
racadm set -f temp_Configuration_file -t xml -u Administrator -p Password -l //192.168.0/xyz –preview
- Configure a RAC from an XML configuration file located on a remote FTP share.
racadm set -f myfile.xml -t xml -u username -p password -l ftp://192.168.10.24/
- Configure a RAC from a JSON configuration file located on a remote FTP share.
racadm set -f myfile.xml -t json -u httpsuser -p httpspwd -l ftp://192.168.10.24/
- Configure a RAC from an XML configuration file located on a remote TFTP share.
racadm set -f myfile.xml -t xml -l tftp://192.168.10.24/
- Configure a RAC from a JSON configuration file located on a remote TFTP share.
racadm set -f myfile.xml -t json -l tftp://192.168.10.24/
- Configure a RAC from an XML configuration file located on a remote HTTP share.
racadm set -f myfile.xml -t xml -u httpuser -p httppwd -l http://test.com/myshare -port 8080
- Configure a RAC from an XML configuration file located on a remote HTTPS share.
racadm set -f myfile.xml -t xml -u httpsuser -p httpspwd -l https://test.com/myshare -port 8080
- Configure a RAC from a JSON configuration file located on a remote HTTPS share.
racadm set -f myfile.xml -t json -u httpsuser -p httpspwd -l https://test.com/myshare -port 8080
- Configure the proxy parameter.
racadm set lifecyclecontroller.lcattributes.UserProxyUsername admin1
- Remove the proxy parameter.
racadm set lifecyclecontroller.lcattributes.UserProxyUsername
- Upload the custom default XML configuration file located on NFS share to RAC.
racadm set -f myfile.xml -t xml -l share_ip:/PATH --customdefaults
- Save current configuration as custom default configuration.
racadm set --savecustomdefaults
|