Tanti Technology

My photo
Bangalore, karnataka, India
Multi-platform UNIX systems consultant and administrator in mutualized and virtualized environments I have 4.5+ years experience in AIX system Administration field. This site will be helpful for system administrator in their day to day activities.Your comments on posts are welcome.This blog is all about IBM AIX Unix flavour. This blog will be used by System admins who will be using AIX in their work life. It can also be used for those newbies who want to get certifications in AIX Administration. This blog will be updated frequently to help the system admins and other new learners. DISCLAIMER: Please note that blog owner takes no responsibility of any kind for any type of data loss or damage by trying any of the command/method mentioned in this blog. You may use the commands/method/scripts on your own responsibility. If you find something useful, a comment would be appreciated to let other viewers also know that the solution/method work(ed) for you.

Monday, 11 November 2013

MOVING RESOURCE GROUP FROM ONE NODE TO ANOTHER


SEE THE RESOURCES ATTRIBUTES 


# clshowres
Resource Group Name                          RG1
Participating Node Name(s)                   pci cws
Startup Policy                               Online On Home Node Only
Fallover Policy                              Fallover To Next Priority Node In The List
Fallback Policy                              Fallback To Higher Priority Node In The List
Site Relationship                            ignore
Node Priority
Service IP Label                             cws_svc
Filesystems                                  ALL
Filesystems Consistency Check                fsck
Filesystems Recovery Method                  sequential
Filesystems/Directories to be exported
Filesystems to be NFS mounted
Network For NFS Mount
Volume Groups                                sharedvg
Concurrent Volume Groups
Use forced varyon for volume groups, if necessaryfalse
Disks
GMD Replicated Resources
PPRC Replicated Resources
ERCMF Replicated Resources
SVC PPRC Replicated Resources
AIX Connections Services
AIX Fast Connect Services
Shared Tape Resources
Application Servers
Highly Available Communication Links
Primary Workload Manager Class
Secondary Workload Manager Class
Delayed Fallback Timer
Miscellaneous Data
Automatically Import Volume Groups           true
Inactive Takeover
SSA Disk Fencing                             false
Filesystems mounted before IP configured     false

 Run Time Parameters:
Node Name                                    pci
Debug Level                                  high
Format for hacmp.out                         Standard
Node Name                                    cws
Debug Level                                  high
Format for hacmp.out                         Standard

CHECK THE AVAILABILITY OF RESOURCE GROUP 

# clRGinfo
-----------------------------------------------------------------------------
Group Name     Type           State      Location
-----------------------------------------------------------------------------
RG1            non-concurrent OFFLINE    pci
                              ONLINE     cws
#
# clRGinfo
-----------------------------------------------------------------------------
Group Name     Type           State      Location
-----------------------------------------------------------------------------
RG1            non-concurrent OFFLINE    pci
                              ONLINE     cws

MOVE THE RESOURCEGROUP BY USING COMMAND BELOW 


# clRGmove -g RG1 -n pci -m
Attempting to move group RG1 to node pci.
Waiting for cluster to process the resource group movement request....
Waiting for the cluster to stabilize..................
Resource group movement successful.
Resource group RG1 is online on node pci.

VERIFY THE MOVEMENT

# clRGinfo
-----------------------------------------------------------------------------
Group Name     Type           State      Location
-----------------------------------------------------------------------------
RG1            non-concurrent ONLINE     pci
                              OFFLINE    cws

No comments:

Post a Comment