modify resource_group

Adds or modifies the attributes and resources that are part of the resource group.

Syntax

clvt modify resource_group <resource group name> 
[ SERVICE_LABEL="service1 service2..." ] 
[ APPLICATIONS="app1 app2..." ] 
[ VOLUME_GROUP="vg1 vg2 ..." ] 
[ FORCED_VARYON="true | false" ] 
[ VG_AUTO_IMPORT="true | false" ] 
[ FILESYSTEM="/fs1 /fs2 ..." ] 
[ FS_BEFORE_IPADDR="true | false" ] 
[ EXPORT_FILESYSTEM="/expfs1 /expfs2 ..." ] 
[ MOUNT_FILESYSTEM="/nfs_fs1 /nfs_fs2 ..." ] 
[ NFS_NETWORK="nfs_network" ][ DISK="hdisk1 hdisk2 ..." ] 

Parameters

Parameter Description
SERVICE_LABEL Comma-separated list of defined service labels and addresses
APPLICATIONS Comma-separated list of defined application controllers
VOLUME_GROUP Comma-separated list of volume groups to be varied on
FORCED_VARYON True if force varyon will be used to varyon volume groups
VG_AUTO_IMPORT = "true | false"
FILESYSTEM File systems to mount. (Default is ALL)
FS_BEFORE_IPADDR = "true | false"
EXPORT_FILESYSTEM The mount points of the file systems and directories that are exported to all nodes in the resource chain when the resource is initially acquired.
NFS_NETWORK Preferred network for NFS mounts
MOUNT_FILESYSTEM All nodes in the resource chain that do not currently hold the resource will attempt to NFS-mount these file systems.
DISK = "hdisk1 hdisk2..."

Required objects

  • cluster
  • resource_group.

Errors

  • The cluster is not defined
  • The resource group does not exist
  • The service label is not defined
  • The application controller does not exist.

Examples

  • To modify the volume groups to be varied on in resource group MyDBapp:
    clvt modify resource_group MyDBGapp VOLUME_GROUP=vgmyDB1,vgmyDB3 
  • To modify the NFS network and application controllers for resource group MyDBapp:
    clvt modify resource_group myDBapp NFS_NETWORK=ether2 
    APPLICATIONS=appserv1,appserv3