12.07.2015 Views

Veritas Storage Foundation™ and High Availability Solutions ...

Veritas Storage Foundation™ and High Availability Solutions ...

Veritas Storage Foundation™ and High Availability Solutions ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Storage</strong> Foundation <strong>and</strong> <strong>High</strong> <strong>Availability</strong> <strong>Solutions</strong> support for Solaris ZonesConfiguring VCS in zones33To configure a zone under VCS control using the hazonesetup utility when the zoneroot is on shared storage1 Configure a failover service group with required storage resources (DiskGroup,Volume, Mount, etc.) to mount the zone root on the node. Set the requireddependency between storage resources (DiskGroup->Volume->Mount).sysA# hagrp -add zone_grpsysA# hares -add zone_dg DiskGroup zone_grpsysA# hares -add zone_vol Volume zone_grpsysA# hares -add zone_mnt Mount zone_grpsysA# hares -link zone_mnt zone_volsysA# hares -link zone_vol zone_dg2 Bring the service group online on first node. This mounts the zone root onfirst node.sysA# hagrp -online zone_grp -sys sysA3 Boot the local zone on first node outside VCS.sysA# zoneadm -z local-zone boot4 Run hazonesetup with correct arguments on the first node. Use the servicegroup configured in step 1. This adds the zone resource to VCS configuration.sysB# hazonesetup -g zone_grp -r zone_res -z local-zone -p password -a -5 Set the proper dependency between the Zone resource <strong>and</strong> other storageresources. The Zone resource should depend on storage resource(Mount->Zone).sysA# hares -link zone_res zone_mnt6 Switch the service group to next node in the cluster.sysA# hagrp -switch zone_grp -sys sysB

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!