Veritas Storage Foundation™ and High Availability Solutions ...
Veritas Storage Foundation™ and High Availability Solutions ... Veritas Storage Foundation™ and High Availability Solutions ...
84Storage Foundation and High Availability Solutions support for Oracle VM Server for SPARCExporting a Veritas volume to a guest domain from the control domainInstalling Veritas File System in the guest domain using pkgaddThis section describes how to install VxFS 6.0 in the guest domain.To install Veritas File System 6.0 in the guest domain1 Copy the VxFS packages from the /pkgs directory on the disc to a location inthe guest domain where you have write permissions.2 Install the packages:# pkgadd -d VRTSvlic.pkg# pkgadd -d VRTSvxfs.pkg# pkgadd -d VRTSfssdk.pkg3 Reboot the guest domain.Verifying the configurationVerify the configuration of Oracle VM server for SPARC in the control domainand the guest domain. Refer to the Oracle documentation for details.Verify the Storage Foundation installation in both the control domain and theguest domain.Refer to the following guides for more information:■■■■■■See the Veritas Storage Foundation Installation Guide for Solaris.See the Veritas Storage Foundation Release Notes for Solaris.See theVeritas Storage Foundation and High Availability Installation Guide forSolaris.See the Veritas Storage Foundation and High Availability Release Notes forSolaris.See the Veritas Storage Foundation Cluster File System and High AvailabilityInstallation Guide for Solaris.See the Veritas Storage Foundation Cluster File System and High AvailabilityRelease Notes for Solaris.Exporting a Veritas volume to a guest domain fromthe control domainUse the following procedure to migrate a VxVM disk group from a non-logicaldomain environment to a Oracle VM Server for SPARC environment.
Storage Foundation and High Availability Solutions support for Oracle VM Server for SPARCExporting a Veritas volume to a guest domain from the control domain85Note: This section applies to only the Split Storage Foundation model.In the following example control domain is named “primary” and the guest domainis named “logical domain1.” The prompts in each step show in which domain torun the command.To create virtual disks on top of the Veritas Volume Manager data volumes usingthe ldm command1 The VxVM diskgroup on the target host is imported in the control domain,after which volumes are visible from inside the control domain.See the Veritas Storage Foundation Administrator’s Guide to move disk groupsbetween systems.2 In the control domain (primary), configure a service exporting the VxVMvolume containing a VxFS or UFS filesystem as a slice using theoptions=slice option:primary# ldm add-vdiskserverdevice options=slice \/dev/vx/dsk/dg-name/volume_name \volume_name volume_name@primary-vds0Caution: A volume by default shows up as a full disk in the guest. The VirtualDisk Client driver writes a VTOC on block 0 of the virtual disk, which will endup as a WRITE on block 0 of the VxVM volume. This can potentially causedata corruption, because block 0 of the VxVM volume contains user data.Using options=slice exports a volume as a slice to the guest and does notcause any writes to block 0, therefore preserving user data.3 Add the exported disk to a guest domain:primary# ldm add-vdisk vdisk1 volume_namevolume_name@primary-vds0 logical domain14 Start the guest domain, and ensure that the new virtual disk is visible.primary# ldm bind logical domain1primary# ldm start logical domain1
- Page 34 and 35: 34Storage Foundation and High Avail
- Page 36 and 37: 36Storage Foundation and High Avail
- Page 38 and 39: 38Storage Foundation and High Avail
- Page 40 and 41: 40Storage Foundation and High Avail
- Page 42 and 43: 42Storage Foundation and High Avail
- Page 44 and 45: 44Storage Foundation and High Avail
- Page 46 and 47: 46Storage Foundation and High Avail
- Page 48 and 49: 48Storage Foundation and High Avail
- Page 50 and 51: 50Storage Foundation and High Avail
- Page 52 and 53: 52Storage Foundation and High Avail
- Page 54 and 55: 54Storage Foundation and High Avail
- Page 56 and 57: 56Storage Foundation and High Avail
- Page 58 and 59: 58Storage Foundation and High Avail
- Page 60 and 61: 60Storage Foundation and High Avail
- Page 62 and 63: 62Storage Foundation and High Avail
- Page 64 and 65: 64Storage Foundation and High Avail
- Page 66 and 67: 66Storage Foundation and High Avail
- Page 68 and 69: 68Storage Foundation and High Avail
- Page 70 and 71: 70Storage Foundation and High Avail
- Page 72 and 73: 72Storage Foundation and High Avail
- Page 74 and 75: 74Storage Foundation and High Avail
- Page 76 and 77: 76Storage Foundation and High Avail
- Page 78 and 79: 78Storage Foundation and High Avail
- Page 80 and 81: 80Storage Foundation and High Avail
- Page 82 and 83: 82Storage Foundation and High Avail
- Page 86 and 87: 86Storage Foundation and High Avail
- Page 88 and 89: 88Storage Foundation and High Avail
- Page 90 and 91: 90Storage Foundation and High Avail
- Page 92 and 93: 92Storage Foundation and High Avail
- Page 94 and 95: 94Storage Foundation and High Avail
- Page 96 and 97: 96Storage Foundation and High Avail
- Page 98 and 99: 98Storage Foundation and High Avail
- Page 100 and 101: 100Storage Foundation and High Avai
- Page 102 and 103: 102Storage Foundation and High Avai
- Page 104 and 105: 104Veritas Cluster Server support f
- Page 106 and 107: 106Veritas Cluster Server support f
- Page 108 and 109: 108Veritas Cluster Server support f
- Page 110 and 111: 110Veritas Cluster Server: Configur
- Page 112 and 113: 112Veritas Cluster Server: Configur
- Page 114 and 115: 114Veritas Cluster Server: Configur
- Page 116 and 117: 116Veritas Cluster Server: Configur
- Page 118 and 119: 118Veritas Cluster Server: Configur
- Page 120 and 121: 120Veritas Cluster Server: Configur
- Page 122 and 123: 122Veritas Cluster Server: Configur
- Page 124 and 125: 124Veritas Cluster Server: Configur
- Page 126 and 127: 126Veritas Cluster Server: Configur
- Page 128 and 129: 128Veritas Cluster Server: Configur
- Page 130 and 131: 130Veritas Cluster Server: Configur
- Page 132 and 133: 132Veritas Cluster Server: Configur
<strong>Storage</strong> Foundation <strong>and</strong> <strong>High</strong> <strong>Availability</strong> <strong>Solutions</strong> support for Oracle VM Server for SPARCExporting a <strong>Veritas</strong> volume to a guest domain from the control domain85Note: This section applies to only the Split <strong>Storage</strong> Foundation model.In the following example control domain is named “primary” <strong>and</strong> the guest domainis named “logical domain1.” The prompts in each step show in which domain torun the comm<strong>and</strong>.To create virtual disks on top of the <strong>Veritas</strong> Volume Manager data volumes usingthe ldm comm<strong>and</strong>1 The VxVM diskgroup on the target host is imported in the control domain,after which volumes are visible from inside the control domain.See the <strong>Veritas</strong> <strong>Storage</strong> Foundation Administrator’s Guide to move disk groupsbetween systems.2 In the control domain (primary), configure a service exporting the VxVMvolume containing a VxFS or UFS filesystem as a slice using theoptions=slice option:primary# ldm add-vdiskserverdevice options=slice \/dev/vx/dsk/dg-name/volume_name \volume_name volume_name@primary-vds0Caution: A volume by default shows up as a full disk in the guest. The VirtualDisk Client driver writes a VTOC on block 0 of the virtual disk, which will endup as a WRITE on block 0 of the VxVM volume. This can potentially causedata corruption, because block 0 of the VxVM volume contains user data.Using options=slice exports a volume as a slice to the guest <strong>and</strong> does notcause any writes to block 0, therefore preserving user data.3 Add the exported disk to a guest domain:primary# ldm add-vdisk vdisk1 volume_namevolume_name@primary-vds0 logical domain14 Start the guest domain, <strong>and</strong> ensure that the new virtual disk is visible.primary# ldm bind logical domain1primary# ldm start logical domain1