Veritas Storage Foundation™ and High Availability Solutions ...

Veritas Storage Foundation™ and High Availability Solutions ... Veritas Storage Foundation™ and High Availability Solutions ...

sfdoccentral.symantec.com
from sfdoccentral.symantec.com More from this publisher
12.07.2015 Views

48Storage Foundation and High Availability Solutions support for Solaris ZonesExporting VxVM volumes to a non-global zoneTo export VxVM volumes to a non-global zone1 Create a volume vol1 in the global zone:global# ls -l /dev/vx/rdsk/rootdg/vol1crw------- 1 root root 301, 102000 Jun 312:54 /dev/vx/rdsk/rootdg/vol1crw------- 1 root sys 301, 102000 Jun 3 12:54 /devices/pseudo/vxio@0:rootdg,vol1,102000,raw2 Add the volume device vol1 to the non-global zone myzone:global# zonecfg -z myzonezonecfg:myzone> add devicezonecfg:myzone:device> set match=/dev/vx/rdsk/mydg/vol1zonecfg:myzone:device> endzonecfg:myzone> commit3 Ensure that the devices will be seen in the non-global zone:global# zoneadm -z myzone haltglobal# zoneadm -z myzone boot4 Verify that /myzone/dev/vx contains the raw volume node and that thenon-global zone can perform I/O to the raw volume node.The exported device can now be used for performing I/O or for creating filesystems.VxVM devices in Solaris 10 global zonesOn the Solaris 10 operating environment, there are two physical nodescorresponding to each volume node entry, /devices and /dev, respectively, withthe same major and minor number. The physical nodes appear as follows:/devices raw volume node : /devices/pseudo/vxio@0:dgname,volname,minor_number,raw/devices block volume node : /devices/pseudo/vxio@0:dgname,volname,minor_number,blk/dev raw volume node : /dev/vx/rdsk/dgname/volumename/dev block volume node : /dev/vx/dsk/dgname/volumenameThe following example provides sample values in /devices:ls -l /devices/pseudo/vxio*vol1*brw------- 1 root sys 302, 66000 Mar 25

Storage Foundation and High Availability Solutions support for Solaris ZonesConfiguring Solaris non-global zones for disaster recovery4917:21 /devices/pseudo/vxio@0:mydg,vol1,66000,blkcrw------- 1 root sys 302, 66000 Mar 2517:21 /devices/pseudo/vxio@0:mydg,vol1,66000,rawThe following example provides sample values in /dev:ls -l /dev/vx/*dsk/mydg/vol1brw------- 1 root root 302, 66000 Mar 25 17:21 /dev/vx/dsk/mydg/vol1crw------- 1 root root 302, 66000 Mar 25 17:21 /dev/vx/rdsk/mydg/vol1Removing a VxVM volume from a non-global zoneThe following procedure removes a VxVM volume from a non-global zone.To remove a VxVM volume from a non-global zone◆Remove the volume device vol1 from the non-global zone myzone:global# zonecfg -z myzonezonecfg:myzone> remove device match=/dev/vx/rdsk/rootdg/vol1zonecfg:myzone> endzonecfg:myzone> commitConfiguring Solaris non-global zones for disasterrecoverySolaris Zones can be configured for disaster recovery by replicating the zone rootusing replication methods like Hitachi TrueCopy, EMC SRDF, Veritas VolumeReplicator, and so on. The network configuration for the Zone in the primary sitemay not be effective in the secondary site if the two sites are in different IP subnets.Hence, you need to make these additional configuration changes to the Zoneresource.To configure the non-global zone for disaster recovery, configure VCS on boththe sites in the global zones with GCO option.Refer to the Veritas Cluster Server Administrator’s Guide for more informationabout global clusters, their configuration, and their use.To set up the non-global zone for disaster recovery1 On the primary site, create the non-global Zone and configure its networkparameters.■Create the non-global zone on the primary site using the zonecfgcommand.

<strong>Storage</strong> Foundation <strong>and</strong> <strong>High</strong> <strong>Availability</strong> <strong>Solutions</strong> support for Solaris ZonesConfiguring Solaris non-global zones for disaster recovery4917:21 /devices/pseudo/vxio@0:mydg,vol1,66000,blkcrw------- 1 root sys 302, 66000 Mar 2517:21 /devices/pseudo/vxio@0:mydg,vol1,66000,rawThe following example provides sample values in /dev:ls -l /dev/vx/*dsk/mydg/vol1brw------- 1 root root 302, 66000 Mar 25 17:21 /dev/vx/dsk/mydg/vol1crw------- 1 root root 302, 66000 Mar 25 17:21 /dev/vx/rdsk/mydg/vol1Removing a VxVM volume from a non-global zoneThe following procedure removes a VxVM volume from a non-global zone.To remove a VxVM volume from a non-global zone◆Remove the volume device vol1 from the non-global zone myzone:global# zonecfg -z myzonezonecfg:myzone> remove device match=/dev/vx/rdsk/rootdg/vol1zonecfg:myzone> endzonecfg:myzone> commitConfiguring Solaris non-global zones for disasterrecoverySolaris Zones can be configured for disaster recovery by replicating the zone rootusing replication methods like Hitachi TrueCopy, EMC SRDF, <strong>Veritas</strong> VolumeReplicator, <strong>and</strong> so on. The network configuration for the Zone in the primary sitemay not be effective in the secondary site if the two sites are in different IP subnets.Hence, you need to make these additional configuration changes to the Zoneresource.To configure the non-global zone for disaster recovery, configure VCS on boththe sites in the global zones with GCO option.Refer to the <strong>Veritas</strong> Cluster Server Administrator’s Guide for more informationabout global clusters, their configuration, <strong>and</strong> their use.To set up the non-global zone for disaster recovery1 On the primary site, create the non-global Zone <strong>and</strong> configure its networkparameters.■Create the non-global zone on the primary site using the zonecfgcomm<strong>and</strong>.

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

Saved successfully!

Ooh no, something went wrong!