- Community Home
- >
- Storage
- >
- Midrange and Enterprise Storage
- >
- StoreVirtual Storage
- >
- How would I automate a P4000 cli script?
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-2012 08:48 AM
04-06-2012 08:48 AM
How would I automate a P4000 cli script?
I would like to create a couple of CLI scripts. But I am not sure how to create the script so I can use Windows task scheduler to start the script. Any thoughts appreciated.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2012 07:52 AM
04-10-2012 07:52 AM
Re: How would I automate a P4000 cli script?
Hi Gene,
You can create a batch file and configure the Windows task scheduler to execute the batch. Just make sure your batch executes in the same directory as the CLIQ. You can place the batch in the same directory or simply add a line to CD to the correct directory. I actually use this approach using putty instead of using the CLIQ.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2012 10:38 AM
04-11-2012 10:38 AM
Re: How would I automate a P4000 cli script?
Thanks I got that far now my problem is presenting the snapshot to a windwos server. Ultimately on a daily bases I want to create a snap shot present it to a server, and mount the snapshot. I am now working with the MS iSCSI CLI tool. Now the problem is how to use a wild card with the command iscsicli qlgointarget targetname. Since the new snapshot is always a different name, how can use a wildcard or have the snapshot always use the same name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2012 07:47 AM
04-12-2012 07:47 AM
Re: How would I automate a P4000 cli script?
I'm not familiar with the MS iSCSI CLI. Is there a way to get a list of targets? Perhaps you could parse the output to grab the new target and assign it to a variable? If you save the list of targets each time you run your script, it will be easy to identify the new target name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2012 08:54 PM
04-17-2012 08:54 PM
Re: How would I automate a P4000 cli script?
Have you got any solution for this? I am looking for exactly the same way to connect a remote snapshot to a remote windows server for backup to tape.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2013 07:22 PM - last edited on 01-17-2013 06:55 PM by Maiko-I
01-16-2013 07:22 PM - last edited on 01-17-2013 06:55 PM by Maiko-I
Re: How would I automate a P4000 cli script?
Hi Gene,
Do you have the solution to deal with your request? I also have the question about how to automatically connecting the latest snapshot to the backup server. Can you give me some advice?
Thanks a lot!!