跳转至主要内容
  • 快速、轻松地下订单
  • 查看订单并跟踪您的发货状态
  • 创建并访问您的产品列表
  • 使用“Company Administration”(公司管理),管理Dell EMC站点、产品和产品级联系人。

Integrated Dell Remote Access Controller 8 (iDRAC8) Version 2.00.00.00 RACADM Command Line Interface Reference Guide

PDF

set

Description Modifies the value of configuration objects on a device.
  • NOTE:
    • For configuration 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 configuration xml file 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 mypass -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> — Specifies the group containing the object that must be written.
  • <object> — Specifies the object name of the value that must be written.
  • <index> — This option is specified where FQDD Aliases or Groups must be indexed.
  • -f <filename> — Enables set to configure the device from a specified file. This option is not supported in the Firmware RACADM interface.
  • --continue — This option is used with –f only. If configuration through file is unsuccessful for a group, then configuration continues with the next group in the file. If this option is not used, then configuration stops when it is unsuccessful for a particular group. After the unsuccessful group, the rest of the groups are not configured.
  • -u — Specifies user name of the remote share from where the file must be imported.
  • -p — Specifies password for the remote share from where the file must be imported.
  • -l — Specifies network share location from where the file must be imported.
  • -t — Specifies the file type that must be imported. Valid values are xml and ini. These values are case-insensitive. ini imports the legacy configuration file. The ini file cannot be imported from a remote share. If -t is not specified, the ini file format (default) is imported.
    • 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 mypass -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 dell_123 -l //10.94.162.74/xyz --preview
  • Import the xml configuration of the iDRAC component to a CIFS share
    racadm set -f file -t xml -u myuser -p mypass -l //10.1.12.13/share -c iDRAC.Embedded.1

对此内容评级

准确性
有用性
易理解性
这篇文章对您有帮助吗?
0/3000 characters
  请提供评级(1-5星)。
  请提供评级(1-5星)。
  请提供评级(1-5星)。
  请选择这篇文章是否有帮助。
  注释中不得包含以下特殊字符:<>()\