Home / Veritas / VCS / how to add Solaris zone as resource in VCS 5.1

how to add Solaris zone as resource in VCS 5.1

Here we will see after Creating the local zone  how to add zone as resource in vcs 5.1 . I tried to add it via java console but didn’t work .Finally it worked in command line .Assume here we have already have the configured service group.
Setup:
Local zone name is “zarena” and zone’s root directory is /zoravol1

SG name:arenasg 

Offline the SG arenasg.
Run the below command add the zone as resource  in cluster.
Arena-Node1#/opt/VRTS/bin/hazonesetup arenasg reszone zarena password node1 node1 node2
V-16-34-1103 Group arenasg is already present
VCS WARNING V-16-1-10563 Key node1 already in list.
VCS WARNING V-16-1-10563 Key node2 already in list.
V-16-34-1109 User z_reszone_node1 already present
VCS WARNING V-16-1-10563 Key z_reszone_node1 already in list.
V-16-34-1111 Zone zarena not running. Please run /opt/VRTSvcs/bin/halogin inside the zone.
To see the syntax-Type /opt/VRTS/bin/hazonesetup -h

You can see the added attributes in the servicegroup,Click on “show all attributes” open the containerinfo. 

If you want to set specific pool for the zone ,go to the zone resource property,enter the pool name.
Hope this will help you to add the zone as resource in VCS 5.1 . In older version we can specify the zone name in resource property .But here is little different. 


Thank you for reading this article.

Please leave a comment if you have any doubt ,i will get back to you as soon as possible.
VMTURBO-CLOUD-CAPACITY

2 comments

  1. I have done creation of servicegroup using the cluster manager. now how you added "reszone" and how you linked that?
    and what about Pool "arenazone-pool".

    Thanks,
    Harish

  2. Arena-Node1#/opt/VRTS/bin/hazonesetup arenasg reszone zarena password node1 node1 node2

    arenasg -Service group
    reszone -Zone resource Name
    zarena -Zone name

    For your information,it won't add anything in resource list since from VCS 5.1 zone is service group attributes. you can add pool setting by adding new resource and select zone then edit the pool name if you need it.This pool settings required when you want VCS to manage the resource control. Let me know if you still have any doubt on this.

Leave a Reply

Your email address will not be published. Required fields are marked *