Operating System - HP-UX
1834480 Members
3818 Online
110067 Solutions
New Discussion

Re: Addressing multiple EMC devices

 
Neil Smith NGIT
Occasional Contributor

Addressing multiple EMC devices

I currently have several hosts that have STD and BCV devices presented from and single EMC DMX3, which I manage the split and establish with perl scripts utilizing the symmir application. Our storage team recently presented additional devices (both STD and BCV) to extend and existing file system, but they were presented from a DMX2. This presents the issue that I now have two "sid" to perform my split and establish on.
Has anyone had to deal with this, and if so, how?

This is all running on Superdomes with HPUX11.11

Thanks in advance!

Neil
2 REPLIES 2
Tim Nelson
Honored Contributor

Re: Addressing multiple EMC devices

Have not been in an EMC environment for 3 years or so, so bear with my generalities as I do not have a symm to test my comments on.

With more then one symm you will have to supply the SID with every command (you know this). You should be able to use symdev or symbcv to id the device and its cooresponding SID.

Not much to go on and maybe just obvious to you.

Sorry,

T.
Chris Vail
Honored Contributor

Re: Addressing multiple EMC devices

I don't have an EMC-connected system to check this with, so the actual field names and positions will vary a little bit from the script I'm about to write:

syminq>/tmp/syminq.txt
for VG in `ls -1 /dev/*/group|awk -F/ '{ print $3 }'`
do
for PV in `vgdisplay -v $VG|grep "PV Name"|awk -F/ '{ print $NF ]'`
do
#If I remember correctly, the SymDev number is the last 4 digits of the 2nd field
SYMDEV=`grep $PV /tmp/syminq|awk '{ print $2 ]'|sed 's/^....//'`
echo "$VG\t$PV\t$SYMDEV"
done
done
rm /tmp/syminq.txt