Showing posts with label PowerShell. Show all posts
Showing posts with label PowerShell. Show all posts

24 February 2013

Automated backup for Cisco UCS instances



Prerequisites


1.    For each UCS cluster instance logon and create dedicated user with admin rights for backup purposes. 
2.    Enable HTTPS port on UCS cluster instance

 3.    Password for user “backup” out of Cisco UCS should be kept in secure string. It is already created and saved at file D:\UCS_SCRIPT\CISCO_UCS_BCKP_PWD.txt as secure string.


Note:     If there is a need for new password for new Cisco UCS instance different from currently used you have to create new text file for storing new secure string, otherwise you will overwrite
D:\UCS_SCRIPT\CISCO_UCS_BCKP_PWD.txt and logon will fail for all previously setup instances.

4.    Create new secure string from plain password.
   i.    Logon with local admin user to Windows box. Keep in mind this user should start scheduled job later so you have to setup it with same Windows credentials.
   ii.    Open Cisco UCS PowerTool or MS PowerShell.