Global Attomic Broadcast (GAB) now provides the ability to track its kernel clients by name in VCS 6.0. A new option -C in gabconfig command lists the names of the GAB (kernel) clients that have registered their names with GAB.
Below outputs are from a two node SFRAC 6.0 cluster.
# gabconfig -C
List of 3 GAB clients
Refcount Client Name
1 GAB_Control
2 VxFen
2 VCSMM
The above command (gabconfig -C) when combined with -a would list the ports along with their clients, if a name is registered.
# gabconfig -aC
GAB Port Memberships
===============================================================
Port a client refcount 1 name GAB_Control
Port a gen 36cf0c membership 01
Port b client refcount 2 name VxFen
Port b gen 36cf10 membership 01
Port d gen 36cf0b membership 01
Port f gen 36cf31 membership 01
Port h gen 36cf39 membership 01
Port o client refcount 2 name VCSMM
Port o gen 36cf0d membership 01
Port u gen 36cf2f membership 01
Port v gen 36cf2a membership 01
Port w gen 36cf2c membership 01
Port y gen 36cf29 membership 01
#
The field refcount for the particular GAB client gets incremented when the client:
- Inits GAB API
- Registers a GAB port
And is decremented when the GAB client:
- Unregisters a GAB port
- Deinits GAB API
The following line indicates that VxFEN has initialized itself with the GAB API (refcount=1) and is incremented when it has also register a GAB port (refcount=2).
Port b client refcount 2 name VxFen
The GAB Client tracking feature is currently available for only GAB kernel clients. Currently VxFen (port b) and VCSMM (port o) are the clients that use this feature.