cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5224
Views
0
Helpful
3
Replies

configuration backups of UCS config

masennott
Level 1
Level 1

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.

3 Replies 3

TheSix2006
Level 1
Level 1

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.

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.

randomUser6524
Level 1
Level 1

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card