The DST cluster resource is a pool cluster resource for the primary pool that has been modified to manage both the primary pool and secondary pool. Renaming a volume changes the Volume object name, updates the volume information for the pool, and updates the volume name in its pool’s resource scripts. However, a volume rename for a secondary volume cannot also update the scripts for the primary pool’s resource because its default Pool object and Volume object do not contain information about the primary pool. You must manually modify the scripts for the DST cluster resource after you rename a secondary volume.
When you rename a shared volume in a DST cluster resource, you also affect the settings that define the DST shadow relationship. The DST settings are not automatically updated when you rename the primary volume or secondary volume.
The DST relationship between the primary volume and secondary volume is defined by the ncpcon mount command in the DST cluster resource. DST settings that use the volume names are found in the following files that exist on each cluster node. You must manually remove the information on each node.
This file contains the EXCLUDE_VOLUME <secondary_volume_name> entry that prevents the secondary volume from being mounted in NCP. For example:
The rename function does not remove this entry from the file. Cluster Services also does not remove the entry from the file. After the volume is renamed, when you bring the resource online on a node, a new entry is made for the secondary volume with the new name. You must manually remove the entry for the old volume name from the file on each node as part of the rename process.
This file contains the shadow volume entry. For example:
SHADOW_VOLUME HOME /media/nss/VOLD
After you rename the primary volume or secondary volume, a new entry is made in the file with the new primary volume name or secondary volume path. You must remove the entry for the DST volume from the file as part of the rename process.
After you rename the volume, new entries are added to the ncp2nss.conf file and ncpserv.conf file on the node where you bring the modified resource online.
To rename a volume in a shared DST shadow volume pair: