- Community Home
- >
- Servers and Operating Systems
- >
- HPE BladeSystem
- >
- BladeSystem - General
- >
- How to automate(by using scripts/ssh) HP OA Board ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2015 08:34 PM - last edited on 04-08-2015 06:49 PM by Maiko-I
04-06-2015 08:34 PM - last edited on 04-08-2015 06:49 PM by Maiko-I
How to automate(by using scripts/ssh) HP OA Board and VC-Flex configuration backup?
Hi,
Has anybody automated the HP OA Board and VC-Flex configuration backup using scripts/ssh? If you have a sample scripts available for both OA Board and VC-Flex, that would be great.
I was trying to backup the VC-Flex configuration using a script, but it fails. If I manually execute the same command in a SSH session, it is successful.
When using script I get the following response: "ERROR: Operation failed", and when I run the same command manually in SSH session I get "SUCCESS: Config backup transfer completed"
The command I'm using is:
save configbackup address=sftp://user:password@host/new-vc-config-backup
Thanks!
P.S. This thread has been moved from HP BladeSystem to HP BladeSystem Virtual Connect. - Hp Forum Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2015 01:23 PM
08-18-2015 01:23 PM
Re: How to automate(by using scripts/ssh) HP OA Board and VC-Flex configuration backup?
Here's a snippet from the Windows command file I use, that envokes VCSU and passes it parameters.
VCSU -a collect -i %Encl-Name% -u UserID -p password -vcu UserID -vcp password
VCSU -a configbackup -i %Encl-Name% -u UserID -p password -vcu UserID -vcp password -l %Encl-Name%-VCM-ConfigBackup.CFG
rename oaShowAll.txt %Encl-Name%-OA1-Summary.txt
rename vcmShowAll.txt %Encl-Name%-VCM-Summary.txt