The BCCVFS.NLM contains all of the elements for configuring, managing, and controlling BCC after it is integrated with Novell Cluster Services, as described in the following sections:
The following XML elements configure the BCC using the command datastream. These files are currently used by the Novell iManager snapin and the Perl-based CLI:
Retrieves the BCC-specific attributes from the current cluster (that is, the cluster to which the _ADMIN volume is currently connected).
<bccRequest> <bccConfig> <getClusterInfo> </bccConfig> </bccRequest>
<bccReply> <bccConfig> <getClusterInfo> <name> <enabled> <peers> <peer> <cluster> <tree> </peer> </peers> <xforms> <search> <replace> </xform> </xforms> <result value=""> <description> </result> </getClusterInfo> </bccConfig> </bccReply>
Retrieves peer data for the current cluster. The peer data lists those clusters that are members of this BCC.
<bccRequest> <bccConfig> </getPeerData> </bccConfig> </bccRequest>
bccReply |
Description |
---|---|
peers
|
Optional
|
result value=""
|
value is a BCC result code. |
<bccReply> <bccConfig> <getPeerData> <peers> <peer> <cluster> <tree> </peer> </peers> <result value=""> <description> </result> </getPeerData> </bccConfig> <bccReply>
Retrieves the BCC specific attributes of the given cluster resource.
<bccRequest> <bccConfig> <getResourceInfo> <name> </getResourceInfo> </bccConfig> </bccRequest>
<bccReply> <bccConfig> <getResourceInfo> <name> <enabled> <peers> <peer> <cluster> <tree> </peer> </peers> <xforms> <xform> <search> <replace> </xform> </xforms> <lunMap> <result value=""> <description> </result> </getResourceInfo> </bccConfig> </bccReply>
Retrieves a list of all the resources on the given cluster. The NCS XML interface has a similar function. However, this function provides BCC-specific attributes.
<bccRequest> <bccConfig> <listClusterResources> </bccConfig> </bccRequest>
bccReply |
Description |
---|---|
name |
The name of resource or template. |
ResourceType
|
The type of resource. The type sub-elements are mutually exclusive.
|
ipAddress |
(Optional) IP address of the resource. |
distringuishedName |
(Optional) The DN of the resource. |
poolName |
(Optional) The pool name the resource is using. |
result value=""
|
value is a BCC result code (see the description of the Section B.6.6, BCC Result Code). |
result |
<bccReply> <bccConfig> <listClusterResources> <resourceInfo> <resourceType> <bccPool/> </resourceType> <ipAddress> <distinguishedName> <poolName> </resourceInfo> </listClusterResources> <result value=""> <description> </result> </getClusterInfo> </bccConfig> </bccReply>
Sets the BCC-specific attributes on the current cluster.
<bccRequest> <bccConfig> <setClusterInfo> <enabled> <xforms> <xform> <search regex="true|false"> <replace> </xform> </xforms> </setClusterInfo> </bccConfig> </bccRequest>
<bccReply> <bccConfig> <setClusterInfo> <result value=""> <description> </result> </setClusterInfo> </bccConfig> </bccReply>
Sets the credentials used by the BCC software on the current cluster to communicate with the remote peer clusters in the BCC.
<bccRequest> <bccConfig> <setCredentials> <cluster> <blob> </clearText> </setCredentials> </bccConfig> </bccRequest>
<bccReply> <bccConfig> <setCredentials> <result value=""> <description> </result> </setCredentials> </bccConfig> </bccReply>
Modifies the BCC-specific attributes of the given cluster resource.
<bccRequest> <bccConfig> <setResourceInfo> <name> <enabled> <peers> <peer> <cluster> <tree> </peer> </peers> <xforms> <xform> <search> <replace> </xform> </xforms> <lunMap> </setResourceInfo> </bccConfig> </bccRequest>
<bccReply> <bccConfig> <setResourceInfo> <result value=""> <description> </result> </setResourceInfo> </bccConfig> </bccReply>
Use the following command datastream elements to manage the BCC. These elements are currently used by the iManager snapin and the Pearl-based CLI:
Retrieves the BCC connection status for the current cluster.
<bccRequest> <bccManage> <getClusterConnections/> <name> <targetNode> <targetCluster> <sourceCluster> </getClusterConnections> </bccManage> <bccRequest>
<bccReply> <bccManage> <getClusterConnections> <connections> <connection> <cluster> <username> <tree> <status> </connection> </connections> <result value=""> <description> </result> </getClusterConnections> </bccManage> </bccReply>
Retrieves the status for the specified cluster. Note that the cluster can be a remote peer cluster in the BCC.
bccRequest |
Description |
---|---|
cluster |
Name of the cluster to retrieve the status from. This can be the name of a remote cluster in the BCC. |
<bccRequest> <bccManage> <getClusterStatus> <cluster> </getClusterStatus> </bccManage> <bccRequest>
<bccReply> <bccManage> <getClusterStatus> <name> <status> <epoch> <masterNode> <nodeInfo> <name> <state> </nodeInfo> <result value=""> <description> </result> </getClusterStatus> </bccManage> </bccReply>
Retrieves the BCC connection status for the specified cluster. Note that the cluster can be a remote peer cluster in the BCC.
bccRequest |
Description |
---|---|
cluster |
Name of the cluster to retrieve the connection status for, which can be the name of a remote cluster in the BCC. |
<bccRequest> <bccManage> <getConnections> <cluster> </getConnections> </bccManage> <bccRequest>
<bccReply> <bccManage> <getConnections> <connections> <connection> <cluster> <username> <tree> <status> </connection> </getConnections> <result value=""> <description> </result> </getConnections> </bccManage> </bccReply>
Retrieves the status for all resources from the specified cluster. Note that the cluster can be a remote peer cluster in the BCC.
bccRequest |
Description |
---|---|
cluster |
Name of the cluster to retrieve the resource status from. This can be the name of a remote cluster in the BCC. |
<bccRequest> <bccManage> <getResourceStatus> <cluster> </getResourceStatus> </bccManage> </bccRequest>
<bccReply> <bccManage> <getResourceStatus> <statusInfo> <name> <resourceType> <state> <location> <incarnation> <upSince> </statusInfo> <result value=""> <description> </result> </getResourceStatus> </bccManage> </bccReply>
Migrates a resource or all resources to another cluster in the BCC.
<bccRequest> <bccManage> <migrate> <name> <targetNode> <targetCluster> <sourceCluster> </migrate> </bccManage> <bccRequest>
bccReply |
Description |
---|---|
result value=""
|
The value is a BCC result code.
|
result |
<bccReply> <bccManage> <migrate> <result value=""> <description> </result> </migrate> </bccManage> </bccReply>
Performs a VFS request on a remote cluster.
<bccRequest> <bccManage> <remoteRequest> <cluster> <file> <tag> <embeddedRequest> </remoteRequest> </bccManage> <bccRequest>
bccReply |
Description |
---|---|
embeddedReply |
The reply from the other cluster. |
result value=""
|
BCC result code. Not results from the other cluster. |
<bccReply> <bccManage> <remoteRequest> <result value=""> <description> </result> </remoteRequest> </bccManage> </bccReply>
This file is used internally by the BCC during resource failover and migration and is not intended to be used by iManager, the Perl-based CLI, or end users.
WARNING:Opening or locking this file can result in disastrous effects during a BCC failover.
This file is used internally by the BCC during resource failover and migration and is not intended to be used by iManager, the Perl-based CLI, or end users.
WARNING:Opening or locking this file can result in disastrous effects during an attribute synchronization.
Returns the version and build numbers for the BCC. This information is static and cannot be changed.
<bccReply> <module> <build> <version> </module> </bccReply>
BCC_Readme.txt provides a brief overview of all BCCVFS.NLM files documented in this section. Because this file is intended to provide documentation information for the end user, it is written in human readable text rather than XML.