- Community Home
- >
- Servers and Operating Systems
- >
- HPE BladeSystem
- >
- BladeSystem - General
- >
- Re: Writing VCM Scripts.
BladeSystem - General
1752778
Members
6119
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО06-14-2010 04:59 AM
тАО06-14-2010 04:59 AM
Writing VCM Scripts.
I am looking into the uses of scripting at the VCM CLI level, to recreate a Domain in a different enclosure.
It looks to be fairly straight forward, except I cant figure out how to trigger it. For example, I create a single line script, in file TestScript.txt
# Add Profile.
add profile TEST -NoDefaultENetConn -NoDefaultFcConn SNType=Factory-Default
Now I want to execute this remotely using SSH
from Windows (XP)
I tried
ssh BaxterD@www.xxx.yyy.zzz -F TestScript.txt
and it appeared to log in (after I supplied the pasword, but it didn't appear to create anything.
Last login: Mon Jun 14 12:37:50 2010 from 10.30.11.94
-------------------------------------------------------------------------------
HP Virtual Connect Management CLI v2.33
(C) Copyright 2006-2009 Hewlett-Packard Development Company, L.P.
All Rights Reserved
-------------------------------------------------------------------------------
GETTING STARTED:
help : displays a list of available subcommands
exit : quits the command shell
? : displays a list of managed elements for a subcommand
? : displays detailed help for a command
->show profile TEST
No profiles exist
->show profile
=========================================================
Name Device Bay Server Status
=========================================================
TEST-WIN1 -- -- OK
DEV-W2K3 enc0:13 ProLiant BL465c G1 OK
TEST-ESX -- -- OK
What am I doing wrong?? Can anyone show me an example, or point me to some more specific documentation.
thanks
Dave
It looks to be fairly straight forward, except I cant figure out how to trigger it. For example, I create a single line script, in file TestScript.txt
# Add Profile.
add profile TEST -NoDefaultENetConn -NoDefaultFcConn SNType=Factory-Default
Now I want to execute this remotely using SSH
from Windows (XP)
I tried
ssh BaxterD@www.xxx.yyy.zzz -F TestScript.txt
and it appeared to log in (after I supplied the pasword, but it didn't appear to create anything.
Last login: Mon Jun 14 12:37:50 2010 from 10.30.11.94
-------------------------------------------------------------------------------
HP Virtual Connect Management CLI v2.33
(C) Copyright 2006-2009 Hewlett-Packard Development Company, L.P.
All Rights Reserved
-------------------------------------------------------------------------------
GETTING STARTED:
help : displays a list of available subcommands
exit : quits the command shell
->show profile TEST
No profiles exist
->show profile
=========================================================
Name Device Bay Server Status
=========================================================
TEST-WIN1
DEV-W2K3 enc0:13 ProLiant BL465c G1 OK
TEST-ESX
What am I doing wrong?? Can anyone show me an example, or point me to some more specific documentation.
thanks
Dave
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2010 09:22 AM
тАО06-14-2010 09:22 AM
Re: Writing VCM Scripts.
OK forget it. I discovered that
ssh@www.xxx.yyy.zzz < filename.txt
does the job. (where filename contains the script of VCM cli commands.
Dave.
ssh
does the job. (where filename contains the script of VCM cli commands.
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2010 06:21 AM
тАО06-17-2010 06:21 AM
Re: Writing VCM Scripts.
See above
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP