Storage Software
1753394 Members
7205 Online
108792 Solutions
New Discussion юеВ

Re: How to make a storage report with SSSU?

 
SOLVED
Go to solution

How to make a storage report with SSSU?

Hi

Is there anyone who knows how to get SSSU, to show a nice report somewhat like this:
Name : \Virtual Disks\Costumer\SERVER_Delta\DISK_Delta_Data01\ACTIVE
Disk_Group : \Disk Groups\Third Disc Group
Capacity_Req : 70
Redundancy : vRaid5

And how to get out in a txt file?

I have tried Show vdisk full, but I donтАЩt need all that information.

/ Hugosson

 

 

P.S. This thread has been moevd from Storage Area Networks (SAN) (Enterprise) to HP Storage System Scripting Utility (SSSU). - Hp Forum Moderator

8 REPLIES 8
Herr Ing. RUEHRNESSEL
Respected Contributor

Re: How to make a storage report with SSSU?

Kristjan,

have you tried "Capture Configuration"?

How to get the date into a text file:
sssu.exe < input_commands.txt > outputlog.txt

Regards
Manfred

Sheriff Andy
Trusted Contributor

Re: How to make a storage report with SSSU?

Have a SSSU script that looks like this;

select manager ip_addr username=administrator password=administrator
select cell SANname
show vdisk full
exit

Have a separate script that looks like this.

sssu "FILE sssuscript" > sssu.out

cat sssu.out | grep -e 'Name :' -e 'Disk_Group :' -e 'Capacity_Req :'

This is of course if you are running this from Unix.

Re: How to make a storage report with SSSU?

Hi Sheriff Andy

Thanks, but I am running it from Windows...
Do you know of a similar command in Windows?

/ Hugosson
Sheriff Andy
Trusted Contributor
Solution

Re: How to make a storage report with SSSU?

Yes,

You can do the sssu command to an out file, then instead of doing a cat, do a type with double quotes.

type sssu.out | grep -e "Name :" -e "Disk_Group :" -e "Capacity_Req :"

Re: How to make a storage report with SSSU?

Thanks a lot..

I made a small change, and it now looks like this:

findstr /c:"\Virtual Disks"/c:"Capacity_Req :" sssu_EVA_01.out > sssu_EVA_01.txt

/ Hugosson

Sheriff Andy
Trusted Contributor

Re: How to make a storage report with SSSU?

I wasn't familiar with the findstr command. Good choice.
AwadheshPandey
Honored Contributor

Re: How to make a storage report with SSSU?

Although ur problem get solved but here is something, check attachement. u can collect it remotly.
Modify the attachment "show_batch.txt" as follows....

step 1. Please type the ip address of SMA after manager in line 2
step 2. Change the name of cell (in quotes) to the name of your cell (capital letters) in line 3
step 3. save this file as show_batch.txt

step 4. run "sssu "file show_batch.txt" >report.txt (attached along with this)

Awadhesh
It's kind of fun to do the impossible

Re: How to make a storage report with SSSU?

Thanks Awadhesh, but what I needed this time was a quick and dirty view of all the virtual disks.
But I have saved your file and will use it another time.

/ Hugosson