1826480 Members
4106 Online
109692 Solutions
New Discussion

How do find Raid levels?

 
SOLVED
Go to solution
skravi17
Advisor

How do find Raid levels?

Hi

We have HP UX - 11.0 machine, I want to know the RAID level and strip sizes. I want to know the entire hp ux configuration - operating system block size,systemI/O read,memory,number
of disks,diskcontrollers. Any script is avilable to find all configuration information.

regards
ravi
16 REPLIES 16
malay boy
Trusted Contributor

Re: How do find Raid levels?

I guest nickel is good script to know your configuration.I attached here the nickel script which HP engineer gave to me.But not sure whether this is the newest version ot not .

There are three person in my team-Me ,myself and I.
Michael Tully
Honored Contributor

Re: How do find Raid levels?

Hi Ravi,

These two links may help. In regards to the RAID level you may not be able to find this out, this may depend entirely on the disk hardware your using.

cfg2html
http://members.tripod.com/rose_swe/cfg/cfg.html
nickel
http://www.grc.hp.com/docs/nickel/

Regards
Michael
Anyone for a Mutiny ?
Steven E. Protter
Exalted Contributor

Re: How do find Raid levels?

lvdisplay -v /dev/vg##/volname | more

This command will give you the information on the logical volume, how they are laid out and such.

for the replace the ## with the volume group number. This can be obtained from the bdf command.

To look at the contents of individual disks:

pvdisplay /dev/dsk/c#t#d#

Replace the # signs with the disks found in /dev/dsk directory.

The -v option will give you more details

You can also use vgdsiplay to set the layout of volume groups.

This should do it for you.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sunil Sharma_1
Honored Contributor

Re: How do find Raid levels?

Hi,
You can use LVM commands like
lvdisplay, pvdisplay and vgdisplay with -v option to see detail characteristic of volumes.
for file system information you can use
fstype command.

Nickel is best script to get full system information in HTML format.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
skravi17
Advisor

Re: How do find Raid levels?

Hi

Still i need more scripts to find out the
hp ux information.

Thanks

regards
ravi
Animesh Chakraborty
Honored Contributor

Re: How do find Raid levels?

Hi,
There is a scripts used by HP guys to collect system information called COP.
It may be usefull.
Thanks
Animesh
Did you take a backup?
Animesh Chakraborty
Honored Contributor

Re: How do find Raid levels?

Hi,
There is a scripts used by HP guys to collect system information called COP.
It may be usefull.
Did you take a backup?
Animesh Chakraborty
Honored Contributor

Re: How do find Raid levels?

Attachment did not work!
Did you take a backup?
skravi17
Advisor

Re: How do find Raid levels?

Hi anim


When i excuting the script cop i am getting
this error.

Creating ouput directory and calculating files to be collected
cat: Cannot open *.tpl: No such file or directory
Creating output file /tmp/oratest030507.1344

Please how to rectify the above problem.

regards
ravi

skravi17
Advisor

Re: How do find Raid levels?

Hi anim


When i excuting the script cop i am getting
this error.

Creating ouput directory and calculating files to be collected
cat: Cannot open *.tpl: No such file or directory
Creating output file /tmp/oratest030507.1344

Please how to rectify the above problem.

regards
ravi

Animesh Chakraborty
Honored Contributor

Re: How do find Raid levels?

Hi,
There are many scritps associated with this scripts. around 26 files.
Ask your HP accoutn engineer to install it on your servers.

I can email you all the files if you want

Thanks
Animesh
Did you take a backup?
skravi17
Advisor

Re: How do find Raid levels?

Hi anim


Please send me the files to my email.
skravi17@yahoo.com.

Thanks

regards
ravi

V. V. Ravi Kumar_1
Respected Contributor
Solution

Re: How do find Raid levels?

Hi,
If u have ignite installed on ur machine,
/opt/ignite/bin/print_manifest will give good info on all peripherals, memory, swap, SCSI controllers etc./ of ur system.

Regards
Never Say No
skravi17
Advisor

Re: How do find Raid levels?

HI v.v.RAVI

Thanks.
/opt/ignite/bin/print_manifest -

I2O RAID5 277848 Mb 0/10/0/1.0.0.0 I2O Block Storage

This is our RAID level and stripe size.
Please confirm.

Thanks


regards
ravi
Pete Randall
Outstanding Contributor

Re: How do find Raid levels?

ravi,

I think print_manifest will give you most everything you need but here are a few scripts that may help:

echo `hostname` "is a " `model |sed 's/9000\/800\///' |sed 's/9000\/899\///'` "with" `ioscan -k |grep -n pro
cessor |wc -l` `cpuspeed` "Mhz processors and" `memo
ry` "KB of memory"


Script "cpuspeed":

HPUX=/stand/vmunix

MHZ=$(echo itick_per_tick/D | adb -k $HPUX /dev/kmem | tail -1 | awk '{print $2/10000}')
echo $MHZ



Script "memory":

HPUX=/stand/vmunix
MAJORREV=$(uname -r | cut -f2 -d .)
if [ $MAJORREV -ge "11.0" ]
then
MYSYMBOL="phys_mem_pages"
else
MYSYMBOL="physmem"
fi

MYMEM=$(echo "${MYSYMBOL}/D" | adb $HPUX /dev/kmem | grep "${MYSYMBOL}: *." | awk '{printf "%.0f MB\n",$2/256}')
echo $MYMEM



Pete

Pete
Ron Lawson_1
Trusted Contributor

Re: How do find Raid levels?

The output of print_manifest indicates that you have the A5856A RAID4Si product.

You can use irdiag -v to show detailed information about your RAID settings.

The IRM tool (command: irm) is used to change the settings.