- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Uninstall of MC/SG
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 07:46 AM
10-02-2001 07:46 AM
There is only one shared LUN in the package and hence it forms the cluster lock PV.
I need to remove the package and the cluster and make the data on the disk available as an unshared VG to one system.
I anticipate the following steps.
- cmhaltpkg -v -P packagename
- cmdeleteconf -v -P packagename
- vgchange -a e VGNAME (node1)
- vgchange -c n VGNAME (node1)
- vgchange -a n VGNAME (node1)
- vgexport VGNAME (node2)
- cmhaltcl
- cmdeleteconf -v -C clustername
- vgchange -a y VGNAME (node1)
- mount ..... (node1)
I would appreciate it if there is something wrong with the above methodology.
Thanks in advance.
Jasti
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 07:52 AM
10-02-2001 07:52 AM
Re: Uninstall of MC/SG
Looks pretty good to me, just a couple of things I can think of:
1. Set the /etc/rc.config.d/cmcluster file so that the environment variable AUTOSTART_CMCLD is set to zero, so that your machine won't try to start/stop MC/SG at boot/shutdown.
2. On node1 be sure to put the entries in /etc/fstab for your filesystems so that they will get mounted at boot.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 07:53 AM
10-02-2001 07:53 AM
Re: Uninstall of MC/SG
Your commands look good but it may be even easier.
cmhaltcl
swremove
vgchange -a y
mount -a
I think thats all you should need, and to modify /etc/rc.config.d/netconf to unconfigure the extra lan cards (heartbeat plus maybe a standby lan).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 07:54 AM
10-02-2001 07:54 AM
Re: Uninstall of MC/SG
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 08:24 AM
10-02-2001 08:24 AM
SolutionYou can actually skip the vgchanges between cmdeleteconf packaganame and cmhaltcl and do a vgchange -c n and vgchange -a y after deleting the package and the cluster. Also i believe you can delete both the package and cluster in one go,
So this is another option,
cmhaltpkg -v pkgname
cmhaltcl -v
(Check to make sure cluster daemons are halted on both nodes)
cmdeleteconf -v -c clustername -p pkgname
On node2
vgexport vgshared
On node1
vgchange -c n /dev/vgshared
vgchange -a y /dev/vgshared
I don't remember if cmdeleteconf actually deletes the /etc/cmcluster directory, so you may want to clean that up as well (save some space in / directory ;)
Edit /etc/rc.config.d/cmcluster and modify the AUTO_START_CMCLD to 0.
Edit /etc/lvmrc to enable activating the /dev/vgshared on reboots, otherwise when node1 is rebooted, /dev/vgshared won't be activated.
Edit and Modify the /etc/fstab to mount the filesystems in /dev/vgshared.
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 08:25 AM
10-02-2001 08:25 AM
Re: Uninstall of MC/SG
Also, you don't need to active the VG in exclusive mode first before doing a vgchange -c n, i.e. you could just
cmhaltcl -f, take down all the packages and the cluster
vgchange -c n VGNAME
vgchange -a y VGNAME
swremove
edit /etc/rc.config.d/netconf take out the heartbeat lan.
edit /etc/fstab add the SG LVs.
edit /etc/lvrc, change AUTO_VG_ACTIVATE to 1 and comment out everything but the return 0 in custom_vg_activation.
-Santosh
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 08:30 AM
10-02-2001 08:30 AM
Re: Uninstall of MC/SG
One more thing, if you had updated the NIS/DNS or the /etc/hosts, you might want to remove the entries for the relocatable packages IPs /Heartbeat IPs.
Also check the /etc/rc.config.d/netconf file to remove any unnecessary IPs that are configured to be activated on reboots.
One more note of warning, when you stop using MC/SG, the shared disk is still seen on the other machine, and if you are working in a group, someone might mistake it for a free disk (on node2) and (even if you use SAM, SAM does not complain if this disk is seen and configured on another shared node) create a new filesystem, so you might want to disconnect the disk at the earliest from node2.
-Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 09:03 AM
10-02-2001 09:03 AM
Re: Uninstall of MC/SG
don't forget to set AUTO_VG_ACTIVATE=1 in /etc/lvmrc (this was only mentionned by Santosh!).
(I did :(( but once bitten, twice shy ;))
good luck,
Thierry.
edit /etc/lvrc, change AUTO_VG_ACTIVATE to 1