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 4 July 2011

HACMP INFORMATION THROUGH COMMAND LINE

HACMP INFORMATION THROUGH COMMAND LINE
SET THE PATH FIRST TO RUN CLUSTER COMMANDS PEACEFULLY ( WITHOUT THINKING ABOUT THEIR PATHS)

# cd /usr/es/sbin/cluster

# export PATH=$PATH:$(pwd)

# cd utilities
# set -o vi
# export PATH=$PATH:$(pwd)
# cd ..
# cd sbin
# export PATH=$PATH:$(pwd)

# cd etc
# export PATH=$PATH:$(pwd)
#


INFO ABOUT VG

# cl_lsvg
cws: mksysvg
cws: sharevg
cws: shvg
pci: sharevg
pci: shvg
#
GETTING INFORMATION ABOUT RESOURCE GROUPS
SMALL INFO

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

DETAILED INFO
# clshowres

Resource Group Name ravirg
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 pci_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 shvg sharevg
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 false
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
# clRGinfo
-----------------------------------------------------------------------------
Group Name Type State Location
-----------------------------------------------------------------------------
ravirg non-concurrent OFFLINE pci
ONLINE cws



GETTING INFORMATION ABOUT THE DISKS IN RESOURCE GROUP

# cllsdisk -g ravirg

000ac13302f48c19
000ac13311b97dc2
00fad1d4388d422c
#
GETTING INFORMATION ON THE FILE SYSTEMS IN RESOURCE GROUP

# cllsfs -g ravirg
/ravifs
/tstfs
#
GETTING INFORMATION ABOUT DISKS IN RESOURCE GROUP VG

# /usr/es/sbin/cluster/cspoc/cl_lsrgvgdisks
#Volume Group hdisk PVID Cluster Node
#---------------------------------------------------------------------
shvg hdisk3 000ac13302f48c19 cws ravirg
sharevg hdisk4 000ac13311b97dc2 cws ravirg
sharevg hdisk5 00fad1d4388d422c cws ravirg
#

COMPLETE CLUSTER INFORMATION

# /usr/es/sbin/cluster/utilities/cllscf
Cluster Name: ravicl
Cluster Connection Authentication Mode: Standard
Cluster Message Authentication Mode: None
Cluster Message Encryption: None
Use Persistent Labels for Communication: No
There were 1 networks defined: net_ether_01
There are 2 nodes in this cluster

NODE cws:
This node has 1 service IP label(s):

Service IP Label pci_svc:
IP address: 10.0.10.1
Hardware Address:
Network: net_ether_01
Attribute: public
Aliased Address?: Enable

Service IP Label pci_svc has 2 communication interfaces.
(Alternate Service) Communication Interface 1: cws_std
IP Address: 10.0.20.2
Network: net_ether_01
Attribute: public

Alias address for heartbeat:
(Alternate Service) Communication Interface 2: cws
IP Address: 10.0.0.2
Network: net_ether_01
Attribute: public

Alias address for heartbeat:
Service IP Label pci_svc has no communication interfaces for recovery.


NODE pci:
This node has 1 service IP label(s):

Service IP Label pci_svc:
IP address: 10.0.10.1
Hardware Address:
Network: net_ether_01
Attribute: public
Aliased Address?: Enable

Service IP Label pci_svc has 2 communication interfaces.
(Alternate Service) Communication Interface 1: pci_std
IP Address: 10.0.20.1
Network: net_ether_01
Attribute: public

Alias address for heartbeat:
(Alternate Service) Communication Interface 2: pci_std1
IP Address: 193.9.200.224
Network: net_ether_01
Attribute: public

Alias address for heartbeat:
Service IP Label pci_svc has no communication interfaces for recovery.




Breakdown of network connections:

Connections to network net_ether_01
Node cws is connected to network net_ether_01 by these interfaces:
cws_std
cws
pci_svc

Node pci is connected to network net_ether_01 by these interfaces:
pci_std
pci_std1
pci_svc

#
DETAIL INFORMATION ABOUT VG IN CLUSTER
# /usr/es/sbin/cluster/utilities/cllsvgdata
hdisk0:000ac133608d9e98:rootvg:10:0:active:0
hdisk1:000ac13382115287:rootvg:10:0:active:0
hdisk2:000ac13302f48c19:shvg:50:0:inactive:0
hdisk3:000ac13311b97dc2:sharevg:49:0:inactive:0
hdisk4:00fad1d4388d422c:sharevg:49:0:inactive:0
FREEMAJORS:45..48,51...

GETTING COMPLETE TOPOLOGY INFORMATION

# cltopinfo
Cluster Name: ravicl
Cluster Connection Authentication Mode: Standard
Cluster Message Authentication Mode: None
Cluster Message Encryption: None
Use Persistent Labels for Communication: No
There are 2 node(s) and 1 network(s) defined
NODE cws:
Network net_ether_01
pci_svc 10.0.10.1
cws_std 10.0.20.2
cws 10.0.0.2
NODE pci:
Network net_ether_01
pci_svc 10.0.10.1
pci_std 10.0.20.1
pci_std1 193.9.200.224

Resource Group ravirg
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
Participating Nodes pci cws
Service IP Label pci_svc
#

No comments:

Post a Comment