9.15 Customizing Cluster Services Management

Some portions of Novell Cluster Services management can be performed and customized by using virtual XML files that exist in the /admin/Novell/Cluster directory on Linux.

The cluster-related virtual XML files (management access points) are created on each server's /admin/Novell/Cluster directory. These files let you manage the cluster from any node in the cluster. This means that as long as the cluster is running, you can always access the cluster-related XML virtual files in the /admin/Novell/Cluster directory.

There are two types of virtual files in the /admin/Novell/Cluster directory: XML files and CMD files. The XML files are read-only and contain cluster configuration or cluster state information. The CMD files are write-then-read command files that are used to issue commands to the cluster and retrieve resulting status.

Table 9-3 lists the cluster-related virtual XML files and gives a brief description of each.

Table 9-3 Cluster-Related Virtual XML Files

Virtual XML File Name

Description

Config.xml

Provides the combined information from ClusterConfig.xml, NodeConfig.xml, ResourceConfig.xml, and PoolConfig.xml.

ClusterConfig.xml

Provides cluster configuration information.

NodeConfig.xml

Provides node configuration information for all nodes in the cluster that were active at the time the cluster was brought up.

NodeState.xml

Provides current information on the state of each node in the cluster (cluster membership).

PoolConfig.xml

Provides cluster-enabled pool and volume configuration information for each pool and volume.

PoolState.xml

Provides current information on the state of each cluster-enabled pool in the cluster.

ResourceConfig.xml

Provides resource configuration information for each resource in the cluster.

ResourceState.xml

Provides current information on the state of each resource in the cluster.

State.xml

Provides the combined information from NodeState.xml, ResourceState.xml, and PoolState.xml.

Table 9-4 lists the cluster-related CMD files and gives a brief description of each.

Table 9-4 Cluster-Related CMD Files

CMD File Name

Description

Node.cmd

Write-then-read command file used in conjunction with a Perl script to issue node-specific commands to the cluster and retrieve resulting node status and configuration information.

Cluster.cmd

Write-then-read command file used in conjunction with a Perl script to issue cluster-specific commands to the cluster and retrieve resulting cluster status and configuration information.

Resource.cmd

Write-then-read command file used in conjunction with a Perl script to issue resource-specific commands to the cluster and retrieve resulting resource status and configuration information.