Site icon UnixArena

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.
Exit mobile version