VCS 6.1 – How to allocate two disk heartbeating resources, one for port a (the GAB control port) and one for port h (the VCS port) using gabdiskhb.

vcs-how-toThe gabdiskhb utility sets up and maintains the configuration of GAB driver heartbeat disk regions. GAB driver heartbeat disk regions provide channels in addition to the network connections for protection from network failures. These resources describe a 64K region that GAB uses to read and write to the disk. This region must be uniquely identified by the block device name and the start location. Heartbeat disk resources must also be associated with a GAB control port. The heartbeat disk must be attached and accessible by all machines that run applications using the GAB port with which the disk is associated.
Belowcommands (shown with platform variations) allocate two disk heartbeating resources, one for port a (the GAB control port) and one for port h (the VCS port):

For Solaris:

# /sbin/gabdiskhb -a /dev/dsk/c1t1d0s0 -s 16 -p a
# /sbin/gabdiskhb -a /dev/dsk/c1t1d0s0 -s 144 -p h

For AIX:

# /sbin/gabdiskhb -a /dev/hdisk4 -s 0 -p a
# /sbin/gabdiskhb -a /dev/hdisk4 -s 128 -p h

For Linux:

# /sbin/gabdiskhb -a /dev/sdg -s 0 -p a
# /sbin/gabdiskhb -a /dev/sdh -s 128 -p h

For HP:

# /sbin/gabdiskhb -a /dev/vg01/lvol1 -s 0 -p a
# /sbin/gabdiskhb -a /dev/vg01/lvol1 -s 128 -p h
Ramdev

Ramdev

I have started unixadminschool.com ( aka gurkulindia.com) in 2009 as my own personal reference blog, and later sometime i have realized that my leanings might be helpful for other unixadmins if I manage my knowledge-base in more user friendly format. And the result is today's' unixadminschool.com. You can connect me at - https://www.linkedin.com/in/unixadminschool/

1 Response

  1. September 24, 2015

    […] Read – How to allocate two disk heartbeating resources, one for port a (the GAB control port) and one for port h (the VCS port) using gabdiskhb. […]

What is in your mind, about this post ? Leave a Reply

Close
  Our next learning article is ready, subscribe it in your email

What is your Learning Goal for Next Six Months ? Talk to us