- Community Home
- >
- Storage
- >
- Legacy
- >
- Storage Software
- >
- SSSU Script and Syntax to Queue up VDISK Creation
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
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
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
тАО02-02-2007 04:22 AM
тАО02-02-2007 04:22 AM
I need to create a number of VDISKS.. I need an SSSU script to create a vdisk one after another so it waits on completion of one vdisk before going to the other.
Is this possible?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2007 04:52 AM
тАО02-02-2007 04:52 AM
SolutionADD VDISK "\Virtual Disks\PSoft 8\Prod Database-d1" DISK_GROUP="\Disk Groups\FC140" SIZE=380 REDUNDANCY=VRAID5 WRITECACHE=WRITEBACK MIRRORCACHE=MIRRORED READ_CACHE NOWRITE_PROTECT OS_UNIT_ID=0 NOPREFERRED_PATH WAIT_FOR_COMPLETION
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2007 05:06 AM
тАО02-02-2007 05:06 AM
Re: SSSU Script and Syntax to Queue up VDISK Creation
BTW, what's the syntax again for the PREFERRED PATH ?
Is it PREFERED_PATH=wwid_of_ctrlA?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2007 05:19 AM
тАО02-02-2007 05:19 AM
Re: SSSU Script and Syntax to Queue up VDISK Creation
The preferred_path takes as argument:
Path_A_Both├в Controller A fails over to controller B. When controller A restarts, the virtual disks fail back to controller A. This is failover/failback mode.
Path_A_Failover├в Controller A fails over to controller B. When controller A restarts, the
virtual disks do not fail back over to controller A. This is failover-only mode.
Path_B_Both├в Controller B fails over to controller A. When controller B restarts, the virtual disks fail back to controller B. This is failover/failback mode.
Path_B_Failover├в Controller B fails over to controller A. When controller B restarts, the
virtual disks do not fail back over to controller B. This is failover-only mode.
You should download the:
"HP StorageWorks Storage System Scripting
Utility reference"
Part number: T3724├в 96063
Ninth edition: July 2006
From the eva documentation page for details about all commands and options.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2007 07:10 AM
тАО02-02-2007 07:10 AM
Re: SSSU Script and Syntax to Queue up VDISK Creation
For example, try:
> add ?
> add vdisk ?
> add vdisk ... PREFERRED_PATH=?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2007 10:18 PM
тАО02-04-2007 10:18 PM
Re: SSSU Script and Syntax to Queue up VDISK Creation
i.e.
select manager hydranew u=administrator p=
select system PEGASUS
DELETE LUN "\Hosts\Hostname\100"
DELETE LUN "\Hosts\Hostname\101"
DELETE LUN "\Hosts\Hostname\102"
DELETE VDISK "\Virtual Disks\Hostname\DG1_039_1\lifeprodbcdg1_039" WAIT_FOR_COMPLETION
DELETE VDISK "\Virtual Disks\hostname\DG1_040_1\lifeprodbcdg1_040" WAIT_FOR_COMPLETION
DELETE VDISK "\Virtual Disks\Hostname\DG1_041_1\lifeprodbcdg1_041" WAIT_FOR_COMPLETION
Then for refresh/creation
select manager hydranew u=administrator p=administrator
select system PEGASUS
ADD SNAPSHOT lifeprodbcdg1_039 VDISK="\Virtual Disks\Hostname\DG1_039_1\ACTIVE" ALLOCATION_POLICY=DEMAND REDUNDANCY=VRAID5 WORLD_WIDE_LUN_NAME = 6005-08b4-001
0-09ed-0001-0000-01ba-0000
ADD SNAPSHOT lifeprodbcdg1_040 VDISK="\Virtual Disks\Hostname\DG1_040_1\ACTIVE" ALLOCATION_POLICY=DEMAND REDUNDANCY=VRAID5 WORLD_WIDE_LUN_NAME = 6005-08b4-001
0-09ed-0001-0000-01be-0000
ADD LUN 100 VDISK="\Virtual Disks\Hostname\DG1_039_1\lifeprodbcdg1_039" HOST=Hostname
ADD LUN 101 VDISK="\Virtual Disks\Hostanem\DG1_040_1\lifeprodbcdg1_040" HOST=Hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2007 06:49 AM
тАО02-05-2007 06:49 AM
Re: SSSU Script and Syntax to Queue up VDISK Creation
-----
Doing that manually can be a bit of work...
For that case I take the output of the "SHOW LUN" command, store it in a file (show_lun.txt) and run it though a script (one line):
$ sed -e 's/ \\Hosts/delete lun \\Hosts/g' show_lun.txt | grep "^delete" > delete_luns.txt
In case you want to present them later again, do a "CAPTURE CONFIGURATION" before you start working with the EVA and store it in 'config.txt'. Then you can easily extract the mapping commands:
$ grep "^ADD LUN " config.txt > present_vdisks.txt
-----