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 ZonesExporting VxVM volumes to a non-global zone47To enable Oracle Disk Manager file access from non-global zones with <strong>Veritas</strong> FileSystem1 Make global zone licenses visible to the non-global zone by exporting the/etc/vx/licenses/lic directory to the non-global zone as a lofs:global# zonecfg -z myzonezonecfg:myzone> add fszonecfg:myzone:fs> set dir=/etc/vx/licenses/liczonecfg:myzone:fs> set special=/etc/vx/licenses/liczonecfg:myzone:fs> set type=lofszonecfg:myzone:fs> endzonecfg:myzone> commit2 Create the /dev/odm directory in the non-global zonepath from the globalzone:global# mkdir -p myzonepath/dev/odm3 Log in to the non-global zone <strong>and</strong> mount /dev/odm either manually or usethe startup script. Use one of the following:■global# zlogin myzonemyzone# mount -F odm /dev/odm /dev/odmOr:■global# zlogin myzonemyzone# /lib/svc/method/odm startExporting VxVM volumes to a non-global zoneA volume device node can be exported for use in non-global zone using the zonecfgcomm<strong>and</strong>. The following procedure makes a volume vol1 available in thenon-global zone myzone.Caution: Exporting raw volumes to non-global zones has implicit security risks.It is possible for the zone administrator to create malformed file systems thatcould later panic the system when a mount is attempted. Directly writing to rawvolumes, exported to non-global zones, <strong>and</strong> using utilities such as dd can lead todata corruption in certain scenarios.

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

Saved successfully!

Ooh no, something went wrong!