- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Deleting node from the cluster ??
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
07-15-2004 03:17 AM
07-15-2004 03:17 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2004 03:27 AM
07-15-2004 03:27 AM
SolutionSay if you have a three node cluster node1,node2 and node3. To remove node3 from the cluster
# cmquerycl -v -C cluster.conf -n node1 -n node2
Stop the MC-SG on node3
# cmhaltnode -f node3
The cluster needs to be halted before cmapplyconf command if you are running MC-SG version earlier than A.10.10 .
# cmcheckconf -C cluster.conf
# cmapplyconf -C cluster.conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2004 03:31 AM
07-15-2004 03:31 AM
Re: Deleting node from the cluster ??
or, temporarily, say for just this morning, temporarily removing a node from a cluster, and then adding it back in a little while later?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2004 03:33 AM
07-15-2004 03:33 AM
Re: Deleting node from the cluster ??
Even with the latest SG versions, cluster needs to be halted to define/change the cluster lock configuration and you might like to export and remove all the shared VGs from the node's /etc/lvmtab file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2004 03:37 AM
07-15-2004 03:37 AM
Re: Deleting node from the cluster ??
So can I cmapplyconf while other nodes & pkgs are up and running ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2004 04:05 AM
07-15-2004 04:05 AM
Re: Deleting node from the cluster ??
Just make sure you remove the reference for the node from all the package configurations too, if any.
cd /etc/cmcluster/
cmgetconf -p
edit the package configuration file to remove the node you are removing from the adoptive_node list if any.
on a nutshell this is howI would do it
# cd /etc/cmcluster
# cmquerycl -v -C cluster.conf -n node1 -n node2 -n node3 -n noe4
# cd
# cmgetconf -p
# vi
..
..
NODE_NAME node1
NODE_NAMe node5
..
to
NODE_NAME node1
#
remove the NODE_NAME reference for node5 from all the package configuration files that refer node5
# cmhaltnode -f node5
# cmcheckconf -C cluster.conf -p pkg1/pkg1.conf -p pkg2/pkg2.conf ....
# cmapplyconf -C cluster.conf -p pkg1/pkg1.conf -p pkg2/pkg2.conf ....
on node5
# vi /etc/rc.config.d/cmcluster
AUTOSTART_CMCLD=0
#
Node5
# vi /etc/lvmrc
AUTO_VG_ACTIVATE=1
#
Node5
# vgexport /dev/vg_shared1
# vgexport /dev/vg_shared2
have a reboot of node5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2004 05:16 AM
07-15-2004 05:16 AM
Re: Deleting node from the cluster ??
cmhaltnode serverbyby
first - before you re-do the cluster with a cmquerycl/cmapplyconf (or , better yet, just vi your conf file, rmove the node, then cmapplyconf).
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2004 12:30 AM
07-16-2004 12:30 AM
Re: Deleting node from the cluster ??
TITLE:How to decommission a Serviceguard Cluster, Package, Node or VG
... will step you through the process.
Since the node is not an adopter of any packages, the method is as follows:
1) locate the cluster configuration file
(use 'cmgetconf
2) remove the section describing the node that is leaving the cluster
3) cmhaltnode that node and perform a
# cmapplyconf -k -f -C
The node will be removed from the cluster.
4) insure /etc/rc.config.d/cmcluster AUTOSTART_CMCLD=0 on that node.
5) vgexport shared vg's
6) if /etc/lvmrc AUTO_VG_ACTIVATE=0, set it to 1
7) update the /etc/fstab mount table if any shared VG's become private to the departing node
-StephenD.