hirinkus1
15 years agoLevel 3
VCS new volume created. Need to add up under existing Resource Group under 2 node clustered Solaris 10 Server...Important..please assist
Hi,
I am newbi to VCS. OS is Solaris10. Two node cluster env.
New filesystem already created and mounted with dedicated Vertual IP and is already under VCS.
We have added two more Vol's (Vol03 & Vol04) in the existing Resource Group say 'node1_rg'
Guys, please help me out to know the sequential and step by step procedure with commands to take the newly created Volumes under existing Resource Group......and how to carry out the Failover Test. this is a test server on which we need to do the task. Oracle Database is also there and we can coordinate with App & DBA team to do this activity......
Pleaseeeeeeee help. this is first time I had been to this forum seeking the help...
Thanks,
Rinku,
Pune- India
I am newbi to VCS. OS is Solaris10. Two node cluster env.
New filesystem already created and mounted with dedicated Vertual IP and is already under VCS.
We have added two more Vol's (Vol03 & Vol04) in the existing Resource Group say 'node1_rg'
Guys, please help me out to know the sequential and step by step procedure with commands to take the newly created Volumes under existing Resource Group......and how to carry out the Failover Test. this is a test server on which we need to do the task. Oracle Database is also there and we can coordinate with App & DBA team to do this activity......
Pleaseeeeeeee help. this is first time I had been to this forum seeking the help...
Thanks,
Rinku,
Pune- India
- Hello Rinku,
I hope you have added volumes in veritas volume manager diskgroup first, if not, following would be commands to do that:
# vxassist -g <diskgroup> make <volume> <size>
Disks of this diskgroup must be located on shared storage.
Create a filesystem
# mkfs -F <fstype> <raw_device>
Create mount points on both the cluster nodes
# mkdir <dir>
Once volumes are created, you need to put them under VCS control.... so you need to add them as resources into a VCS service group:
# hares -add <resource> <resource_type> <service_group>
Add both volumes with above step... your resource type here would be Volume (V is capital)
You will need to modify some attributes of your volume resource which are mandatory
# hares -modify <resource> Enabled 1 (to enable resource>
# hares -modify <resource> Critical 0 (Assume you don't want to make volume as critical resource)
# hares -modify <resource> BlockDevice <block_device>
# hares -modify <resource> DiskGroup <diskgroup>
Finally you have to link volume resource to diskgroup &/OR mount
# hares -link <parent> <child>
Please note in VCS, parent resource depends on child resource, so be careful while linking.... for example in a group where volume depends on diskgroup resource, diskgroup will be child & volume would be parent...
hope this helps
Gaurav