Creating service group in vcs

CVM is an extension of Veritas Volume Manager, the industry-standard storage virtualization platform. CVM extends the concepts of VxVM across multiple nodes. Each node recognizes the same logical volume layout, and more importantly, the same state of all volume resources.

CVM supports performance-enhancing capabilities, such as striping, mirroring, and mirror break-off (snapshot) for off-host backup. You can use standard VxVM commands from one node in the cluster to manage all storage. All other nodes immediately recognize any changes in disk group and volume configuration with no user interaction.

Process to create CVM SG in VCS is given below  and its tested as well.

Create mount point on both servers.
#mkdir –p /infapps/dae
In Second node also create the mount point.
#mkdir –p /infapps/dae

=========================================================

# haconf -makerw

# hagrp -add vrts_vea_cfs_int_cfsmountinfapps_dae
VCS NOTICE V-16-1-10136 Group added; populating SystemList and setting the Parallel attribute recommended before adding resources

# hagrp -modify vrts_vea_cfs_int_cfsmountinfapps_dae Parallel 1

# hagrp -modify vrts_vea_cfs_int_cfsmountinfapps_dae SystemList nj09mhf0373 0 nj09mhf0374 1

# hagrp -modify vrts_vea_cfs_int_cfsmountinfapps_dae AutoStartList nj09mhf0373 nj09mhf0374

# hares -add cvmvoldg28 CVMVolDg vrts_vea_cfs_int_cfsmountinfapps_dae
VCS NOTICE V-16-1-10242 Resource added. Enabled attribute must be set before agent monitors

# hagrp -resources vrts_vea_cfs_int_cfsmountinfapps_dae
cvmvoldg28
# hares -modify cvmvoldg28 CVMDiskGroup sdap_racdg

# hares -modify cvmvoldg28 CVMActivation sw

# hares -modify cvmvoldg28 CVMVolume infapps_dae

# hares -add cfsmount102 CFSMount vrts_vea_cfs_int_cfsmountinfapps_dae
VCS NOTICE V-16-1-10242 Resource added. Enabled attribute must be set before agent monitors

# hagrp -resources vrts_vea_cfs_int_cfsmountinfapps_dae
cvmvoldg28
cfsmount102

# hares -modify cfsmount102 MountPoint “/infapps/dae”

# hares -modify cfsmount102 BlockDevice “/dev/vx/dsk/sdap_racdg/infapps_dae”

# hares -link cfsmount102 cvmvoldg28

# hagrp -link vrts_vea_cfs_int_cfsmountinfapps_dae cvm online local firm

# hagrp -enableresources vrts_vea_cfs_int_cfsmountinfapps_dae

# haconf -dump -makero

# hagrp -online vrts_vea_cfs_int_cfsmountinfapps_dae -any
VCS NOTICE V-16-1-50735 Attempting to online group on system nj09mhf0373
VCS NOTICE V-16-1-50735 Attempting to online group on system nj09mhf0374

# hagrp -state vrts_vea_cfs_int_cfsmountinfapps_dae
#Group Attribute System Value
vrts_vea_cfs_int_cfsmountinfapps_dae State nj09mhf0373 |ONLINE|
vrts_vea_cfs_int_cfsmountinfapps_dae State nj09mhf0374 |ONLINE|

By: VK