Operating System - HP-UX
1833931 Members
2026 Online
110063 Solutions
New Discussion

Re: How do I remove an auto raid cabinet?

 
SOLVED
Go to solution
mike worrell
Regular Advisor

How do I remove an auto raid cabinet?

HI guys,
We use to have 3 servers - x31 x32 x33 that were in a service guard environment. These boxes are no longer needed due to a merger a few years ago.
x31 was an application box, x33 was a database box and x32 was a failover box.
There is an autoraid cabinet (18gig drives in it and 2 controllers) in x33 and 2 in x32.
I've never worked with autoraid before, a vendor took care of this for us.
I need to disconnect the autoraids and totally shut down x31 and x33, we are keeping x32 to run omniback on, so all i need is the disks in the jamaica box for vol group vg00.

I have removed/deleted all logical volumes associated with the autoraid on x31/x32 and x33.
I reboot x31 and x33 just fine.
ON x32 during the reboot I get the message where it is changing vg00 and vg01 then it quits. If I powercycle the autoraid it completes the boot up process. If i disconnect the autoraid I quit at the same part and have to hook back up and power cycle. What piece of the pie am I missing?
MIke
8 REPLIES 8
Pete Randall
Outstanding Contributor
Solution

Re: How do I remove an auto raid cabinet?

Check for this volume group in /etc/fstab and /etc/lvmrc. It looks like it's still trying to activate it so you'll probably find an entry in /etc/lvmrc.

Pete

Pete
Helen French
Honored Contributor

Re: How do I remove an auto raid cabinet?

I think you 've not removed the VGs from those systems. You need to do that on x32 system. Find out which VGs were using the disconnected AUTORAID and remove or export those VGs from the system. If you need only vg00 on the system now, then remove all other VGs:

# vgexport /dev/vg01
OR
# vgremove /dev/vg01
# strings /etc/lvmtab - will tell you about all VGs configured on the system. Make sure you have only left with the one's you needed.
Life is a promise, fulfill it!
Denver Osborn
Honored Contributor

Re: How do I remove an auto raid cabinet?

Since the box was in an MC/SG environment.. you should check /etc/lvmrc file as Pete suggests.

Look under the custom_vg_activation() section of the script. You may need to comment out the entries for custom_vg_activation then set AUTO_VG_ACTIVATE from 0 to 1.

Have you removed MC/SG or modified the config scripts to prevent it from running at boot?

hope this helps,
-denver
Denver Osborn
Honored Contributor

Re: How do I remove an auto raid cabinet?

forgot to mention ...rather than edit the /etc/lvmrc back to default... you could just copy from /usr/newconfig/etc/lvmrc

-denver
mike worrell
Regular Advisor

Re: How do I remove an auto raid cabinet?

i did strings /etc/lvmtab on x32
and it shows a volume group that i did delete.
/dev/orabackup

It's gone, how do I get it out of lvmtab
when i do the vgexport it gives message about looking for lvm_lock
???
Pete Randall
Outstanding Contributor

Re: How do I remove an auto raid cabinet?

Mike,

copy /etc/lvmtab /etc/lvmtab.old
vgscan -a

That should straighten out the lvmtab issue.

Pete

Pete
mike worrell
Regular Advisor

Re: How do I remove an auto raid cabinet?

Thanks to all. I just got the /etc/lvmtab on x32 to show as I need. I had to move the /etc/cmcluster/lvm_lock file out of the way to get vgscan to work.
Should I just unhook the autoraid cables now? or is there other items I need to do?

Thanks
Mike
Pete Randall
Outstanding Contributor

Re: How do I remove an auto raid cabinet?

Hey Mike!

Success at last!

It sounds like you're ready to unhook the cables and kiss it goodbye. Hopefully we haven't missed anything.

Pete

Pete