CVMCluster Agent
Description
|
Controls node membership on the cluster port associated with CVM. The CVMCluster resource requires the CVMMultiNIC resource and must be configured to depend on CVMMultiNIC. The CVMCluster agent executable is /opt/VRTSvcs/bin/CVMCluster/CVMClusterAgent. The type definition is in the file /etc/VRTSvcs/conf/config/CVMTypes.cf. The configuration is added to the main.cf file after running the cfscluster config command.
|
Entry Points
|
- Online---Joins a node to the CVM cluster port.
- Offline---Removes a node from the CVM cluster port.
- Monitor---Monitors the node's CVM cluster membership state.
- Clean---A null operation for a cluster file system mount.
|
Required Attributes
|
Type and Dimension
|
Definition
|
CVMClustName
|
string-scalar
|
Name of the cluster.
|
CVMNodeAddr
|
string-association
|
List of host names and IP addresses.
|
CVMNodeId
|
string-association
|
List of host names and LLT node numbers.
|
CVMTransport
|
string-association
|
The CVM transport mode, either gab or udp. For SFCFS, gab is the only valid transport mode.
|
PortConfigd
|
integer-scalar
|
Port number used by CVM for vxconfigd-level communication.
|
PortKmsgd
|
integer-scalar
|
Port number used by CVM for kernel-level communication.
|
CVMTimeout
|
integer-scalar
|
Timeout used by CVM during cluster reconfigurations.
|
Type Definition
type CVMCluster (
static int NumThreads = 1
static int OnlineRetryLimit = 2
static int OnlineTimeout = 400
static str ArgList[] = { CVMTransport, CVMClustName, CVMNodeAddr,
CVMNodeId, PortConfigd, PortKmsgd, CVMTimeout }
NameRule = ""
str CVMClustName
str CVMNodeAddr{}
str CVMNodeId{}
str CVMTransport
int PortConfigd
int PortKmsgd
int CVMTimeout
)
Sample Configuration
CVMCluster cvm_clus (
Critical = 0
CVMClustName = vcs
CVMNodeId = { node1 = 1, node2 = 2 }
CVMTransport = gab
CVMTimeout = 200
)
|