In this procedure, a network file system (NFS) is exported from the target system and mounted by the source system. During the lift process, the file system archive file is created on the shared storage where it is accessible to both the source and target systems.
Requirements
Shared storage – The location must be accessible to the source system and the target system.
Sufficient storage space – The shared storage must have enough available storage space to temporarily store these components:
Operating system FLAR
Application data (ASM)
Application specific logs (redo and archive)
Application binaries (ZFS streams)
Oracle Solaris10 DVD (ISO required to change from sun4u to sun4v.)
OVM template (when unzipped, is approximately 2.6 GB)
Unzipped patches: 10_Recommended_CPU_2018-10 and 151934-06 (approximately 14 GB)
For more information about networked file systems, refer to these resources:
Oracle Solaris 10, Managing File Systems at: https://docs.oracle.com/cd/E23823_01/html/816-4555/rfsintro-2.html
Oracle Solaris 11, Managing Network File Systems at: https://docs.oracle.com/cd/E23824_01/html/821-1454/rfsintro-2.html
Use the storage information gathered in Review the Source System Configuration.
Take the source system's total used storage (obtained in Review the Source System Configuration) and divide by two. This calculation takes into account that the various data captured items will be compressed in the shared storage, yet is conservative enough to ensure adequate storage space for all the items.
|
For this example scenario, 544 GB of available space is required on the shared storage.
The command output shows that there is approximately 1.09 TB available storage capacity, which is sufficient space to store the compressed images of the source system.
root@TargetControlDom# zpool list vpool NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT vpool 1.09T 24M 1006G 1% 1.00x ONLINE -
root@TargetControlDom# zfs create -o mountpoint=/ovas1 vpool/ovas1 root@TargetControlDom# zfs set share.nfs=on vpool/ovas1 root@TargetControlDom# zfs set share.nfs.root=\* vpool/ovas1 root@TargetControlDom# zfs set share.nfs.rw=\* vpool/ovas1 root@TargetControlDom# exportfs vpool_ovas1 /ovas1 sec=sys,root,rw
root@TargetControlDom# mkdir /ovas1/Downloads
In this example, TargetControlDom:/ovas1 is an NFS share exported from the target system.
root@SourceGlobal# mkdir /ovas1 root@SourceGlobal# mount -F nfs TargetControlDom:/ovas1 /ovas1
The ISO image is called sol-10-u11-ga-sparc-dvd.iso and available from https://www.oracle.com/solaris/solaris10/downloads/solaris10-get-jsp-downloads.html
In this example, all downloaded items, including the ISO image, are downloaded to the /ovas1/Downloads directory on the shared storage.
You can access the template by signing in to https://edelivery.oracle.com, and selecting these choices: All categories → Oracle VM Template for Oracle VM Server with Oracle Solaris → REL:Oracle VM Template for Oracle VM Server with Oracle Solaris 10.1.13 → Accept license agreement → Download V37543-01.zip
root@TargetControlDom# cd /ovas1/Downloads root@TargetControlDom# unzip ./V37543-01.zip
The source system zone configurations are copied for potential future reference. The configuration files are not used for the migration.
root@SourceGlobal# zonecfg -z dbzone export > /ovas1/dbzone.cfg root@SourceGlobal# zonecfg -z webzone export > /ovas1/webzone.cfg
The patches are later used to patch the source system and target guest and control domains. By downloading the patches to the shared storage, the patches are downloaded once to a single location, but used several times during the lift and shift process.
The patches and README files are available for download from My Oracle Support (https://support.oracle.com).
Download these patch zip files to the shared storage. This example downloads the patches to the /ovas1/Downloads directory.
Ensure that you select the SPARC 64 bit versions of the patches.
This table lists the procedures in this document that require patch installation.
|
root@TargetControlDom# cd ovas1/Downloads root@TargetControlDom# unzip ./p20997186_32000_SOLARIS64.zip root@TargetControlDom# unzip ./119534-33.zip root@TargetControlDom# unzip ./151934-06.zip root@TargetControlDom# unzip ./10_Recommended_CPU_2018-10.zip