Sie sind auf Seite 1von 3

unixwerk: how to remove a node from an hacmp luster http://www.unixwerk.eu/aix/rmnode.

html

HP-UXTips and tricks f

unixwerk > AIX > remove a cluster node October 22, 2011

unixwerk How to R emove a Node fr om a n HACM P Cluster

Contents
AIX
1. Introduction
BSD 2. STEP 1: Stop the Cluster Services on the Second Node
3. STEP 2: Remove the Node from all Resource Groups
HP-UX 4. STEP 3: Remove the Node from the Cluster
5. STEP 4: Verify and Synchronize Cluster
Solaris
A. Related Information
Others

Un*x
Introduction
Topics
This article describes how to remove a node from an HACMP cluster. We find the following situation:

node01# clRGinfo
-----------------------------------------------------------------------------
Group Name Group State Node
-----------------------------------------------------------------------------
Guestbook RES_GRP_01 ONLINE node01
OFFLINE node02
Contact
RES_GRP_02 ONLINE node01
Archive OFFLINE node02

Conclusion: node02 is member of two resource groups, but all resources are active on node01.

STEP 1: Stop the Cluster Services on the Second Node


We need to release all resources from the node we want to remove from the cluster. If there are any
resources active we have to move the resources to the next priority node. In this example (see above)
node02 has no active resources so we can select Bring Resource Groups Offline here:

node02# smitty clstop

Stop Cluster Services

Type or select values in entry fields.


Press Enter AFTER making all desired changes.

[Entry Fields]
* Stop now, on system restart or both now
Stop Cluster Services on these nodes [node02]
BROADCAST cluster shutdown? false
* Select an Action on Resource Groups Bring Resource Groups Offline

STEP 2: Remove the Node from all Resource Groups

1 of 3 Saturday 06 July 2013 12:33 PM


unixwerk: how to remove a node from an hacmp luster http://www.unixwerk.eu/aix/rmnode.html

node01# smitty hacmp


-> Extended Configuration
-> Extended Resource Configuration
-> HACMP Extended Resource Group Configuration
-> Change/Show a Resource Group

Change/Show a Resource Group

Type or select values in entry fields.


Press Enter AFTER making all desired changes.

[Entry Fields]
Resource Group Name RES_GRP_01
New Resource Group Name []
Participating Nodes (Default Node Priority) [node01]

Startup Policy Online On Home Node Only


Fallover Policy Fallover To Next Priority Node
Fallback Policy Never Fallback

Remove node02 from the list of participating nodes. Repeat this step for all resource groups with node02 as
partitipating node.

STEP 3: Remove the Node from the Cluster

node01# smitty hacmp


-> Extended Configuration
-> Extended Topology Configuration
-> Configure HACMP Nodes
-> Remove a Node in the HACMP Cluster
-> Select node02

Configure HACMP Nodes

Move cursor to desired item and press Enter.

Add a Node to the HACMP Cluster


Change/Show a Node in the HACMP Cluster
>Remove a Node in the HACMP Cluster<

STEP 4: Verify and Synchronize Cluster

node01# smitty hacmp


-> Extended Configuration
-> Extended Verification and Synchronization

Job done: clRGinfo now shows one node less:

node01# clRGinfo
-----------------------------------------------------------------------------
Group Name Group State Node
-----------------------------------------------------------------------------
RES_GRP_01 ONLINE node01

2 of 3 Saturday 06 July 2013 12:33 PM


unixwerk: how to remove a node from an hacmp luster http://www.unixwerk.eu/aix/rmnode.html

RES_GRP_02 ONLINE node01

A. Related Information

AIX 7.1 Information Center > PowerHA SystemMirror > HACMP Version 6.1 > Removing a cluster
node from the HACMP configuration

Also on unixwerk
HACMP: Cluster Commandline
How to Add a New VG to an Active HACMP Resource Group
How to Add a New Resource Group to an Active Cluster
How to Add a Node to an HACMP Cluster
Setup a Two-Node Cluster with HACMP

(c) unixwerk Content is available under the BSD Documentation License.

3 of 3 Saturday 06 July 2013 12:33 PM

Das könnte Ihnen auch gefallen