- Community Home
- >
- Storage
- >
- Legacy
- >
- Storage Software
- >
- Re: SSSU commands
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
тАО10-12-2009 05:33 AM - last edited on тАО02-17-2014 07:07 PM by Lisa198503
тАО10-12-2009 05:33 AM - last edited on тАО02-17-2014 07:07 PM by Lisa198503
SSSU commands
Hi,
Doers anyopne know if there is an SSSU command to list all Vdisk which are not presented to any hosts?
I am using CV EVA 9.1.
Thanks,
D
P.S. This thread has been moved from Disk Array to HP Storage System Scripting Utility (SSSU). -HP Forum Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2009 06:45 AM
тАО10-12-2009 06:45 AM
Re: SSSU commands
The LS VDISK command displays information about the virtual disks, containers, snapshots and
mirrorclones configured for the currently selected array.
Syntax
LS VDISK virtual_disk_name
The following option is available with the LS VDISK command.
full Lists all virtual disks and their properties.
nofull Lists all virtual disks.
virtual_disk_name Displays detailed information about the virtual disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2009 06:47 AM
тАО10-12-2009 06:47 AM
Re: SSSU commands
you can try this
Syntax
CAPTURE CONFIGURATION file_name
Options
SAVE_ALL_WORLD_WIDE_LUN_NAME
Saves the world wide LUN names for all virtual disks, except containers and DR group members on
the destination array.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 05:56 AM
тАО10-13-2009 05:56 AM
Re: SSSU commands
Go through the below link & select the following to download :
http://h20000.www2.hp.com/bizsupport/TechSupport/DocumentIndex.jsp?lang=en&cc=us&taskId=101&prodClassId=-1&contentType=SupportManual&docIndexId=64180&prodTypeId=18964&prodSeriesId=471497
HP StorageWorks Storage System Scripting Utility reference (T5494-96307, July 2009)
This guide contains all the required SSSU commands.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2009 11:59 PM
тАО10-22-2009 11:59 PM
Re: SSSU commands
Please see the attachment it will help you.
Thanks,
Bhola
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2009 01:48 AM
тАО10-23-2009 01:48 AM
Re: SSSU commands
In basic the script does the following
Use the SSSU file command and run "ls vdisk full" and redirect to a file (file1.txt)
The grep out the relevant information:
grep -E "objecttype | familyname | redundancy | allocatedcapacity | lunnumber | hostname " file1.txt | awk ' BEGIN { FS=": " } {print $NF}' | sed '
s/\\Hosts\\//g' | sed 's/virtualdisk//g' | sed 's/snapshot//g' >> file2.txt
Some more formatting:
cat file2.txt | awk -F\\ '{print $NF } ' | awk ' BEGIN { FS="\n" ; RS="" } { printf "%-1s %-1s %-1s,%03d,%-1s,%-1s,%-1s\n ",$5
,$7,$9,$4,$2,$3,$1} ' | sort >> file3.txt
I then put it into html but this should be enough to give you a start. Anything with a blank first field is unpresented disk.