Re: [Veritas-bu] ovpass on AIX, anyone?
2011-03-22 12:36:11
My experience is to do the install_ovpass
command. The part that I find peculiar involving luns / scsci ids is
with regards to setting up the media changer device. Here's a quick
and dirty script I use to help me get the correct settings. It works for
me but no guarantees on any other environment. Maybe it will
help.
>> more
get_tape_info
#!/bin/sh ovpass=`lsdev|grep -i ovpass|wc -l` if [ ${ovpass} -lt 1
] then echo
"
Looks like you need to:" echo
"
/usr/openv/volmgr/bin/driver/install_ovpass" fi for RMT in `lsdev|grep
rmt|cut -f1 -d" "` do
WWN=`lsattr -l ${RMT} -E -H|grep ww_name|awk '{print
$2}` SID=`lsattr -l ${RMT} -E
-H|grep scsi_id|awk '{print $2}`
LID=`lsattr -l ${RMT} -E -H|grep lun_id|awk '{print
$2}` DEVI=`lsdev|grep ${RMT}|awk
'{print $3}'` FSI=`lsdev|grep
${DEVI}|grep "^fscsi"|awk '{print $1}'`
echo "${RMT} ${FSI} ${SID}
${WWN} ${LID}" if [ "${LID}" =
"0x1000000000000" ]
then
echo
"
Probable commands for
changer"
echo
"
mkdev -c media_changer -s fcp -t ovpass -p ${FSI} -w
${SID},0" fi done
--------------------------------------------------------------------------------
Sample
run (ovpass was active in my case)
>>
./get_tape_info
rmt0 fscsi1 0x77d01 0x2100000d77976f65 0x0 rmt1 fscsi1 0x77f01
0x2100000d779c4fe2
0x1000000000000
Probable commands for
changer
mkdev -c media_changer -s fcp -t ovpass -p fscsi1 -w 0x77f01,0 rmt2 fscsi3
0x67d01 0x2100000d779c0ee3
0x1000000000000
Probable commands for
changer
mkdev -c media_changer -s fcp -t ovpass -p fscsi3 -w 0x67d01,0 rmt3 fscsi3
0x67f01 0x2100000d779ceb79 0x0
Regards,
Sanda
Smith
Whoa! Not that desperate
yet.
My whole issue is with scsi id
and lun id, and I remember there being something peculiar about it. I was
hoping that somebody else had the same experience.
From:
| "Patrick"
<netbackup AT whelan-consulting.co DOT uk>
|
To:
| <scott.george AT parker DOT com>,
<veritas-bu AT mailman.eng.auburn DOT edu>
|
Date:
| 03/22/2011 12:15 PM
|
Subject:
| RE: [Veritas-bu] ovpass on AIX,
anyone? |
Restore from a backup?
Regards, Patrick
Whelan VERITAS Certified
NetBackup Support Engineer for UNIX. VERITAS Certified NetBackup Support Engineer for Windows.
netbackup AT whelan-consulting.co DOT uk From:
veritas-bu-bounces AT mailman.eng.auburn DOT edu [mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of scott.george AT parker DOT com Sent:
22 March 2011 16:05 To:
veritas-bu AT mailman.eng.auburn DOT edu Subject: [Veritas-bu] ovpass on AIX,
anyone? I just did the upgrade to 7.01 this morning from 6.5.5.
Like a dummy, I removed the ovpass device instead of the upgrade after NBU
was done installing. I can't find any notes on how I did it last time, and
I am brain cramping big time. I need it to drive my EMC DL4100. I
have it serving up 110 drives across 6 adapters. I only needed one ovpass0
to serve all 110 drives in 6.5.5, so I don't think I need to do
multiples.
Any ideas?
Scott George "PLEASE NOTE: The preceding information may
be confidential or privileged. It only should be used or disseminated for the
purpose of conducting business with Parker. If you are not an intended
recipient, please notify the sender by replying to this message and then delete
the information from your system. Thank you for your cooperation."
"PLEASE NOTE: The preceding information may be confidential or
privileged. It only should be used or disseminated for the purpose of conducting
business with Parker. If you are not an intended recipient, please notify the
sender by replying to this message and then delete the information from your
system. Thank you for your cooperation."
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|
|
|