White Papers
41 Zero-touch, bare-metal server provisioning using the Dell EMC iDRAC with Lifecycle Controller Auto Config
6.4.1 RACADM workflow example using Auto Config server provisioning in a Linux
environment
In this example, a Red Hat Enterprise Linux (RHEL) version 6.6 DHCP server and NFS share is used. A
PowerEdge R730 server is already deployed in this environment with its BIOS, iDRAC, PERC, and NIC
settings configured. A new R730 is arriving from the Dell factory and the goal is to apply the configuration
settings from the “gold” R730 to the new R730 by using Auto Config. These commands can also be run on a
remote system by using racadm –r <IPAddress> -u <UserName> –p <Password> preceding the commands
highlighted here:
1. Capture the current Server Configuration Profile from the “gold”. Log in to a Linux server, start an SSH session to connect to the
R730’s iDRAC.
2. Type racadm which initiates a RACADM command session.
3. Run a “get” command which will export the Server Configuration Profile file to the NFS network share:
racadm>>get -f system_config.xml -t xml -l 192.168.0.130:/nfs_share
racadm get -f system_config.xml -t xml -l 192.168.0.130:/nfs_share
RAC976: Export configuration XML file operation initiated.
Use the "racadm jobqueue view -i JID_307853717675" command to view the
status of the operation.
4. After running the “get” command, a job ID is displayed. Continue to query the job ID until the job is completed.
racadm>>jobqueue view -i JID_307853717675
racadm jobqueue view -i JID_307853717675
---------------------------- JOB -------------------------
[Job ID=JID_307853717675]
Job Name=Export: System configuration XML file
Status=Completed
Start Time=[Not Applicable]
Expiration Time=[Not Applicable]
Message=[SYS043: Successfully exported system configuration XML file.]
Percent Complete=[100]
----------------------------------------------------------
racadm>>
5. On the Linux DHCP or NFS server, view the NFS share and ensure that the Server Configuration Profile file called
“system_config.xml” has been exported.
6. Using a text editor, view the Profile file and make any attribute changes required for the new R730. Example below highlights in
yellow the file on the NFS share:
[root@sandXD nfs]# ls -la
total 576
drwxrwxrwx 2 root root 4096 May 5 12:25 .
dr-xr-xr-x. 28 root root 4096 Apr 28 03:39 ..
-rw-rw-rw- 1 root root 105231 Apr 29 09:16 69T0C42-config.xml
-rw-rw-rw- 1 root root 124890 Apr 30 10:11 R620-config.xml
-rw-rw-rw- 1 root root 105232 Apr 29 08:45 R730-config.xml