configuration backups of UCS config

Unanswered Question
Mar 16th, 2010

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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
TheSix2006 Mon, 05/17/2010 - 01:07

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.

cpaggen Mon, 05/17/2010 - 07:55

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.

roushl0530 Fri, 11/26/2010 - 13:41

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

Actions

This Discussion

Related Content