Unsolved
This post is more than 5 years old
2 Intern
•
743 Posts
0
104056
January 31st, 2016 13:00
Getting a template and then distributing that template for new servers
Hi,
Is there a "How to" step-by-step for making a server template then distributing that template to other servers of the same model?
eg Set up one R730xd with email, snmp, power requirements etc, and then copy that config to a file and the final step, how to load that config on to any other R730xd?
Will the method get ALL the parameters from one server to the next?
Thx,
John Bradshaw
No Events found!
DELL-Martijn G
291 Posts
0
February 1st, 2016 01:00
All settings that are not unique for one server, like service tag, are configurable through the server profiles. Some settings however are commented out in the server profile XML, like Virtual disk settings, to prevent accidental data loss.
Take a look at these Whitepapers.
That should get you started.
bradje1
2 Intern
•
743 Posts
0
February 3rd, 2016 16:00
Hi again,
Can someone pls confirm that to dump an XML file for an m620 blade to a Windows CIFS share I have the correct RACADM command line to use in OME? I then want to use that xml file to clone other m620's.
(I think a firewall is blocking the traffic back from the DRAC, but I would like to check first that the command line is correct. Error is Message: SYS045: Unable to copy the system configuration XML file to the network share.).
Thx,
John Bradshaw
get -f idrac-m620.xml -t xml -u MyDomain\MyUser -p MyPassword -l //IPofServer/Share
DELL-Martijn G
291 Posts
0
February 4th, 2016 02:00
Your problem appears to be the domain in the user, either remove the domain or use user@domain.lan also put names and password between double quotes to be sure special characters don't break DOS.
You could start by using the command line on the OME server.
From there you can test the command and set that in to OME.
To test the creation of the xml just let it generate it locally like this:
C:\>racadm -r 192.168.2.202 -i get -f c:\temp\idrac-r630.xml -t xml
Security Alert: Certificate is invalid - Certificate is not signed by Trusted Th
ird Party
Continuing execution. Use -S option for racadm to stop execution on certificate-
related errors.
UserName: root
Password:
Job ID = JID_545791928679
Please wait while the file is generated for export.
Please wait while racadm fetches the file. Depending on the network speed,
it may take several minutes to complete this operation.
XML configuration file exported successfully.
C:\>
That will give you an xml file in the OME servers local file system in the C:\Temp
After that try the share.
C:\>racadm -r 192.168.2.202 -u root -p "Password" get -f idrac-r630.xml -t xml -u "user@domain.lan" -p "Password" -l "//192.168.2.201/Data/Upload"
Security Alert: Certificate is invalid - Certificate is not signed by Trusted Third Party Continuing execution. Use -S option for racadm to stop execution on certificate-related errors.
RAC976: Export configuration XML file operation initiated.
Use the "racadm jobqueue view -i JID_545802432624" command to view the status of the operation.
C:\>
bradje1
2 Intern
•
743 Posts
0
February 4th, 2016 15:00
Thx very much for that Martijn.
I have confirmed with our firewall guys that they will not allow the traffic from the DRAC VLAN back to the OME server. Going the reverse however is fine.
So the Template will need to be run from the drac, then transfer that file manually to the OME server to push out to other servers.
When I open a console up to a DRAC and run a backup of the settings to VFlash, how can I get at that file in order to save it to my OME server?
Or is there a way to do the same from OMSA within Windows??
Thx,
JB
DELL-Pupul M
2 Intern
•
1K Posts
0
February 8th, 2016 06:00
Hi,
I don't think you can do it from OMSA though you can directly create a template from the iDRAC and then use that template in OME. When you create a template in OME, use "from file" option and then pass this template. You need to create the template in XML format and the command to be used is:
winrm i ExportSystemConfiguration schemas.dmtf.org/.../DCIM_LCService -u: -p: -r:https:// /wsman -SkipCNCheck -SkipCACheck -encoding:utf-8 -a:basic @{IPAddress=" ";ShareName=<"SHARENAME">;ShareType="2";Username=<"SHAREACCESSUSERNAME">;Password=<"SHAREACCESSPASSWORD">;FileName=<"TEMPLATENAME.xml">}
You may be able to use the ServerConfig folder which gets created in OME after installation as the share if you do not want to get into the pain of creating a separate share.