Operating System - HP-UX
1844508 Members
3382 Online
110233 Solutions
New Discussion

Service Guard Related Question

 
Mike_305
Super Advisor

Service Guard Related Question

Hello,

I am removing the SG package from my system. And this is what I think needs to be done. This is on Clarion environment and we use POWERPATH. Appreciate your help.

1) cmhaltpkd xyzasd

2) cmdeleteconf -v -p xyzasd

3) Rename the pkg directory to xyzasd.old

3a) cmviewcl - to check is gone

4) cmchecmconf -v -C /etc/cmcluster/cmclconf.ascii

5) strings lvmtab > lvmtab.orig - to find out disk

6) vgexport /dev/vgxysasd - to remove from lvmtab file.

******* This is were I am not sure ********

7) powermt remove dev=c35t0d2

8) rmsf –a /dev/dsk/c35d0d2 or use -H for H/W path

9) ioscan –fnC disk

10) insf -C disk - To reinstall files

11) powermt config - Reconfigure the device in powerpath.

12) powermt display dev=all - Display the powerpath devices and verify.

13) powermt save - Save the powerpath configuration.

14) HAPPY ENDING

Thanks,

M
If there is problem then don't think as problem, think as opportunity.
10 REPLIES 10
Michael Steele_2
Honored Contributor

Re: Service Guard Related Question

Hi M:

I use the rmsf -H but I've also have seen threads with rmsf -k -H, and this looks like the equivalent of rmsf -a.

:-)
Support Fatherhood - Stop Family Law
Patrick Wallek
Honored Contributor

Re: Service Guard Related Question

Why are you doing steps 7 to 13 at all? Once you export the VG, you can run a 'pvcreate -f' on the disk and re-use it in another VG.
Mike_305
Super Advisor

Re: Service Guard Related Question

Hello,

I am not going to re-use the disk and this will be a removal of the package. If you think my process is in-correct then please let me know how you would do this.

Appreciate you help and feedback.

Thanks,

M
If there is problem then don't think as problem, think as opportunity.
Mike_305
Super Advisor

Re: Service Guard Related Question

Hello,

sorry forgot to answer Patrick's question. The reaso I am doing 7 thru 13 because this disks are part of Clarion. And I think I need to remove from power path.

Thanks,

M
If there is problem then don't think as problem, think as opportunity.
Patrick Wallek
Honored Contributor

Re: Service Guard Related Question

OK, the problem I see with 7-13 is that even though you are doing an rmsf, the ioscan and insf will reinstall the same disk, UNLESS you remove the LUN from the Clarion. At the very least you need to modify the LUN so that the server no longer has access to it.

As long as the server has access to the LUN on the array, steps 7-8 will remove the device from the server, and steps 9 & 10 will add it back.
Mike_305
Super Advisor

Re: Service Guard Related Question

Hello Patrick,

So then I do 7, 8 skip 9 and 10 and then do 11, 12, and 13. Or please let me know what is best way to do this so that I don't lend up with DEAD paths when I do power path display command.

Appreciate your help.

Thanks

M
If there is problem then don't think as problem, think as opportunity.
Patrick Wallek
Honored Contributor

Re: Service Guard Related Question

I would do 7 & 8. Then go to the array and do whatever you need to do so that LUN can not be seen by your server. What exactly you need to do here, I don't know as I don't have this type of array.

You can then use ioscan to verify that the LUN is no longer available. Then you can finish your powermt stuff.
Mike_305
Super Advisor

Re: Service Guard Related Question

After the RMSF I can have SAN guys unmask from their side but do I have to 11,12 and 13 or not before unmasking process on SAN side?

Thanks,

M
If there is problem then don't think as problem, think as opportunity.
Frank_W
Frequent Advisor

Re: Service Guard Related Question

Hi,

what I am usualy doing is:

6.5 ) in Clariion: remove the disks from Storage group after vgexport
7 ) ioscan -fnCdisk # should show NO_HW
8 ) powermt check # removes all dead powerpath links, repeat this step till all removed disks are removed from the powerpath config. This can take a while.
9 ) powermt save
10) powermt display dev=all # to check
11) HAPPY ENDING

I would not use rmsf before reconfiguring powerpath.


Mike_305
Super Advisor

Re: Service Guard Related Question

Hello,

Thanks for all your help. I was successfully able to remove and not get any dead path when I do powermt check.
Once again appreciate all your help.

Thanks,

M
If there is problem then don't think as problem, think as opportunity.