User Tools

Site Tools


aix:rg_move

How to move a resource from one node to another node in an PowerHA cluster

Login to one node of the cluster using putty (no matter what node)

ssh cl6havaloqpre (in an exeed or putty session)

Request root privileges:

iwanttoberoot

Start management interface

smitty hacmp


                                                 HACMP for AIX
Move cursor to desired item and press Enter.

  Initialization and Standard Configuration
  Extended Configuration
  System Management (C-SPOC)
  

  Problem Determination Tools

  Can't find what you are looking for ?

  Not sure where to start ?

choose System Management (C-SPOC)


  
                                                               System Management (C-SPOC)

Move cursor to desired item and press Enter.

  Storage
  HACMP Services
  Communication Interfaces
  Resource Groups and Applications
  HACMP Logs
  File Collections
  Security and Users

  Open a SMIT Session on a Node

choose Resource Groups and Applications

                                                          Resource Groups and Applications

Move cursor to desired item and press Enter.

  Show the Current State of Applications and Resource Groups
  Bring a Resource Group Online
  Bring a Resource Group Offline
  Move a Resource Group to Another Node / Site
  
  Suspend/Resume Application Monitoring
  Application Availability Analysis

choose Move a Resource Group to Another Node / Site

                                                   Move a Resource Group to Another Node / Site

Move cursor to desired item and press Enter.

  Move Resource Groups to Another Node
  Move Resource Groups to Another Site
  

                                    ============================================================================
                                    x                         Select Resource Group(s)                         x
                                    x                                                                          x
                                    x Move cursor to desired item and press Enter. Use arrow keys to scroll.   x
                                    x                                                                          x
                                    x   #                                                                      x
                                    x   # Resource Group                  State                Node(s) / Site  x
                                    x   #                                                                      x
                                    x   cl6avaloqpreRG1                   ONLINE               cl6ravaloqpre / x
                                    x   cl6avaloqpreRG2                   ONLINE               cl6ravaloqpre / x
                                    x                                                                          x
                                    x   #                                                                      x
                                    x   # Resource groups in node or site collocation configuration:           x
                                    x   # Resource Group(s)                           State    Node / Site     x
                                    x   #                                                                      x
                                    x                                                                          x
                                    x F1=Help                 F2=Refresh              F3=Cancel                x
                                    x F8=Image                F10=Exit                Enter=Do                 x
F1=Help                             x /=Find                  n=Find Next                                      x8=Image
F9=Shell                            ============================================================================

choose Move Resource Groups to Another Node

After list apears, choose a resource group.(If more than one resource is displayed, RG1 is production and RG2 is standby)

A box will open and you have to choose the destination node.

Normally ounly one node should be available

     
                                    
                                    ============================================================================
                                    x                        Select a Destination Node                         x
                                    x                                                                          x
                                    x Move cursor to desired item and press Enter.                             x
                                    x                                                                          x
                                    x   # *Denotes Originally Configured Highest Priority Node                 x
                                    x   cl6havaloqpre                                                          x
                                    x                                                                          x
                                    x F1=Help                 F2=Refresh              F3=Cancel                x
                                    x F8=Image                F10=Exit                Enter=Do                 x
F1=Help                             x /=Find                  n=Find Next                                      x8=Image
F9=Shell                            ============================================================================

choose the node and confirm

                                                       Move Resource Group(s) to Another Node

Type or select values in entry fields.
Press Enter AFTER making all desired changes.
  
                                                        [Entry Fields]
  Resource Group(s) to be Moved                       cl6avaloqpreRG1
  Destination Node                                    cl6havaloqpre
  

confirm the summary of your choice (Resource group and destination node)

                                                                  COMMAND STATUS

Command: running       stdout: yes           stderr: no

Before command completion, additional instructions may appear below.

Attempting to move resource group cl6avaloqpreRG1 to node cl6havaloqpre.

Waiting for the cluster to process the resource group movement request....

Waiting for the cluster to stabilize.......

Move is initiated. This may take a couple of minutes (3-15)

Command: OK            stdout: yes           stderr: no

Before command completion, additional instructions may appear below.

[TOP]
Attempting to move resource group cl6avaloqpreRG1 to node cl6havaloqpre.

Waiting for the cluster to process the resource group movement request....

Waiting for the cluster to stabilize.................................................................

Resource group movement successful.
Resource group cl6avaloqpreRG1 is online on node cl6havaloqpre.



Cluster Name: cl6avaloqpre

Resource Group Name: cl6avaloqpreRG1
Node                         Group State
---------------------------- ---------------
cl6ravaloqpre                OFFLINE
cl6havaloqpre                ONLINE

Resource Group Name: cl6avaloqpreRG2
Node                         Group State
---------------------------- ---------------
cl6havaloqpre                OFFLINE
cl6ravaloqpre                ONLINE

[BOTTOM]

Now the move is finished and the result displayed.

aix/rg_move.txt · Last modified: 2021/01/01 21:21 (external edit)