Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

configuration backups of UCS config

Anyone know how to do automated, regular backups of the full UCS config? So far, all

I can find in the docs is how to setup regular scheduled backups of the system event log.

Everyone's tags (3)
3 REPLIES
New Member

Re: configuration backups of UCS config

I have recently run into your issue, there is no automated backup functionality within the GUI.

To get around this I had to create a script to submit the appropriate XML to the UCS manager. You will need to create a backup in the GUI and use a packet sniffer to capture the XML that the GUI uses to send the backup command to UCS manager.

The UCS Manager XML API Programmers Guide will get you started with logging in and obtaining your session cookie. http://www.cisco.com/en/US/docs/unified_computing/ucs/sw/api/ucs_api_book.html

Hopefully automated scheduled backup is added in a future release of UCS.

Cisco Employee

Re: configuration backups of UCS config

Fortunately you don't always need to use a sniffer to find out what XML API commands to use. There are three ways:

a) the not-so-pretty "reverse-engineering" method: on your PC search for a folder called ".ucsm". Inside that folder you'll see text files that contain all incoming and outgoing XML transactions performed by the GUI

b) using UCSM with version 1.2 you can right-click on most elements in the GUI and ask to "copy XML". That helps you pinpoint the tree object you need to query/modify

c) we publish the XML schema along with the managed objects tree on the developer community. Go to http://developer.cisco.com/web/unifiedcomputing/start and look for the XML API Programmer's guide - it's a large PDF file.

New Member

Re: configuration backups of UCS config

Hi Mark,

My name is Lane. I have successfully setup a "work around" to automate the Cisco UCSM backups. My solution actually backs up all four types of UCS backups. You can see all the instructions on my blog. If you have any questions or want to let me know how it goes I'd appreciate the feedback. I'm sure a scheduling engine will be coming in future releases of the UCSM, but as of 1.3(n) no such luck.

http://www.laneroush.com

thanks!

Lane

4274
Views
0
Helpful
3
Replies