Operating System - HP-UX
1837650 Members
2919 Online
110117 Solutions
New Discussion

Re: Is there any command line/script to get what I can get from SAM?

 
zhaogui
Super Advisor

Is there any command line/script to get what I can get from SAM?

I have a VA7400 and I was wondering if there is any script that will allow me to get whatever "SAM->disk and file system->disk device" can get? Normal ioscan or armdsp/armtopology commands can only get a partial info of vg/lv/Filesystems/disks/LUNs/HW path. Anybody got such script called inquire_array.sh or inquire_VA.sh?
Thanks,
6 REPLIES 6
Michael Tully
Honored Contributor

Re: Is there any command line/script to get what I can get from SAM?

Hi,

Try running sam --> options --> view samlog

If this is of no help, I am sure that there will be software that you may have to purchase from HP in order to do this. I know that there is this type of software for XP512's and EMC units. It might be possible that out there
is somebody who has written scripts to deal
with this scenario.

-Michael
Anyone for a Mutiny ?
Steven Sim Kok Leong
Honored Contributor

Re: Is there any command line/script to get what I can get from SAM?

Hi,

SAM uses scripts and executables residing in directories such as /usr/sam/lbin.

You can use the following to extract information on your VGs unaligned:

# /usr/sam/lbin/vginfo -v


If you are looking for nicely formatted full system information, you should be looking at the following free tools/scripts:

1) collect.sh
2) getconfig
3) cfg2html
4) make_manifest
Etc etc.

Hope this helps. Regards.

Steven Sim Kok Leong
zhaogui
Super Advisor

Re: Is there any command line/script to get what I can get from SAM?

May I know where I can get these free tools/scripts?
Steven Sim Kok Leong
Honored Contributor

Re: Is there any command line/script to get what I can get from SAM?

Hi,

This link will point you in the right direction. I don't have access to a HP-UX server at this moment so I can't send you a copy.

http://members.tripod.com/rose_swe/cfg/cfg.html

Hope this helps. Regards.

Steven Sim Kok Leong
Steven Sim Kok Leong
Honored Contributor

Re: Is there any command line/script to get what I can get from SAM?

Hi,

Here is another good site you can download sample scripts for modification from:

http://www.introcomp.co.uk/examples/

Note that collect.sh is listed but it is probably outdated. Look at the links right at the bottom of the page.

Hope this helps. Regards.

Steven Sim Kok Leong
Sanjay_6
Honored Contributor

Re: Is there any command line/script to get what I can get from SAM?

Hi,

you should have received a CD with the array. The CD contains a software called "hp surestore command view sdm storage device menagement". I think it has both gui as well as command line utilities to manipulate the array.

Hope this helps.

Regds