Download Symantec White Paper - Implementing Solaris Zones with Veritas
Transcript
Implementing Solaris Zones with Veritas™ Cluster Server from Symantec and Veritas™ Cluster file System High Availability 6.0 from Symantec #> mkdir –p /zones/newzone/base #> mount –F vxfs /dev/vx/dsk/newzone_root_dg/newzone_vol /zones/newzone/base #> chmod 700 /zones/newzone/base Mount New Snapshot Zone Root (CFS) #> haconf -makerw #> mkdir –p /zones/newzone/base #> cfsmntadm add newzone_zroot_dg newzone_zroot_vol /zones/newzone/base newzone_SG node1=rw,suid #> hagrp –online newzone_SG –any #> haconf –dump -makero #> chmod 700 /zones/newzone/base Creating a New Zone Using a Split Mirror Snapshot Once the Cluster File System mount is added to the cluster configuration, you will need to export the zone configuration to each node #> zonecfg –z newzone newzone1: No such zone configured Use 'create' to begin configuring a new zone. zonecfg:newzone1> create -b zonecfg:newzone1> set zonepath=/zones/newzone/base zonecfg:newzone1> set autoboot=false zonecfg:newzone1> commit zonecfg:newzone1> verify zonecfg:newzone1> exit Export Zone Configuration to All Cluster Nodes From Node1: #> zonecfg –z newzone export –f /tmp/newzonezone.cfg #> scp /tmp/newzone node2:/tmp (repeat for all nodes) From All Remaining Nodes: #> zonecfg –z newzonezone –f /tmp/newzonezone.cfg From Node1: #> zoneadm –z newzone attach -F #> zoneadm –z newzone boot #> zlogin –C newzone à Follow the normal process for configuring Zone OS. Adding the New Zone to Your Veritas Cluster Server Configuration 58