Operating System - HP-UX
1828204 Members
2591 Online
109975 Solutions
New Discussion

Help with rebuilding shared filesystems.

 
SOLVED
Go to solution
Hai Nguyen_1
Honored Contributor

Help with rebuilding shared filesystems.

Folks,

Below is my current TESTING cluster configuration.

- cluster of two nodes A and B.
- One Package dbpkg.
- One volume group vg01 shared by A and B.
- Within vg01, two logical volumes lvol1 and lvol2 were created for filesystem1 and filesystem2 respectively. the two filesystems are controlled by dbpkg.

And now is what I want to do BUT do not know how yet.

1) stop the TESTING cluster permanently.
2) Remove lvol1, lvol2 within vg01 and then vg01 (I guess this needs to be done on both nodes.)
3) Remove the LUN assigned to vg01 from Virtual Array VA7100.

Please let me know if you think I miss anything which may make the computers not to function. Thanks.

Regards,
Hai
2 REPLIES 2
Mladen Despic
Honored Contributor
Solution

Re: Help with rebuilding shared filesystems.

1. cmhaltcl -f
2. cmdeleteconf -f -c -p dbpkg
3. On both nodes: set AUTOSTART_CMCLD=0 in /etc/rc.config.d/cmcluster
4. On both nodes: run
vgexport vg01
5. Then you can remove the LUNs.
6. If you had previously modified /etc/lvmrc (e.g., AUTO_VG_ACTIVATE=0)
now you can change it back to the default (if you want)
Hai Nguyen_1
Honored Contributor

Re: Help with rebuilding shared filesystems.

Mladen,

Thanks for your help. It worked.

Hai