Administering cluster functionality

 

403

 

 

 

 

 

Overview of cluster volume management

 

 

Table 13-1

Activation modes for shared disk groups

 

 

 

Activation mode

 

Description

 

 

 

 

 

sharedwrite (sw)

The node has write access to the disk group. Attempts to

 

 

activate the disk group for shared read and shared write

 

 

access succeed. Attempts to activate the disk group for

 

 

exclusive write and read-only access fail.

 

 

 

 

off

 

The node has neither read nor write access to the disk

 

 

group. Query operations on the disk group are permitted.

 

 

 

 

 

The following table summarizes the allowed and conflicting activation modes for shared disk groups:

Table 13-2

Allowed and conflicting activation modes

 

 

 

 

 

 

 

 

Disk group

 

Attempt to activate disk group on another node as...

activated in cluster

exclusive-

 

readonly

 

sharedread

 

sharedwrite

 

 

 

as...

 

 

 

 

 

write

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

exclusivewrite

 

Fails

 

Fails

 

Succeeds

 

Fails

 

 

 

 

 

 

 

 

 

readonly

 

Fails

 

Succeeds

 

Succeeds

 

Fails

 

 

 

 

 

 

 

 

 

sharedread

 

Succeeds

 

Succeeds

 

Succeeds

 

Succeeds

 

 

 

 

 

 

 

 

 

sharedwrite

 

Fails

 

Fails

 

Succeeds

 

Succeeds

 

 

 

 

 

 

 

 

 

Shared disk groups can be automatically activated in any mode during disk group creation or during manual or auto-import. To control auto-activation of shared disk groups, the defaults file /etc/default/vxdg must be created.

The defaults file /etc/default/vxdg must contain the following lines:

enable_activation=true

default_activation_mode=activation-mode

The activation-modeis one of exclusivewrite, readonly, sharedread, sharedwrite, or off.

When a shared disk group is created or imported, it is activated in the specified mode. When a node joins the cluster, all shared disk groups accessible from the node are activated in the specified mode.