Go to main content

Lift and Shift Guide - Migrating Workloads from Oracle Solaris 10 (ZFS) SPARC Systems to Oracle Solaris 10 Guest Domains

Exit Print View

Updated: February 2020
 
 

Prepare the Shared Storage

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:

  1. Ensure that there is enough available storage capacity on the planned shared storage.

    Use the storage information gathered in Review the Source System Configuration.

    1. Calculate the space needed to store the capture of source system.

      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.

      Item
      Calculation
      Total
      Source system's total used storage, divided by 2
      (To account for a conservative compression ratio)
      649.8 ÷ 2
      325 GB
      S10u11 DVD ISO
      2.2 GB
      S10u11 OVM template
      2.6 GB
      Patches (both zipped and unzipped)
      14 GB
      Sum of above (rounded)
      344 GB
      Add approximately 30%
      (To provide additional headroom for the creation of temporary files, uncompressing files, and so on.)
      344 + 100
      544 GB

      For this example scenario, 544 GB of available space is required on the shared storage.

    2. Identify available storage in the target system control domain.

      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   -

    3. (If needed) Add storage space to accommodate the storage space requirements.
  2. On the target control domain, create and export a file system.
    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
  3. Create a directory on shared storage that will be used for downloads.
    root@TargetControlDom# mkdir /ovas1/Downloads
  4. As superuser on the source system, create a mount point and mount the shared storage.

    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
  5. Download the Oracle Solaris 10 (SPARC) ISO image to the shared storage.

    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.

  6. Download and unzip the Template for Oracle VM Server with Oracle Solaris 10 1/13 on the target system.

    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
  7. Capture the source system zones configuration and copy the configuration files to the shared storage.

    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
  8. From the target control domain, download and unzip the required patches on the shared storage.

    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.

    1. Download the required patches.

      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.

      Patch ID
      Description
      Where Patches are Installed
      20997186
      Provides the Oracle VM Server for SPARC 3.2 SUNWldm and SUNWldmp2v packages in a zipped form. Some of the lift and shift utilities require the installation of these two packages.

      Note -  SUNWldm and SUNWldmp2v must be installed before installing patch 151934.

      20997186 is unzipped on shared storage (next step).
      From shared storage, the SUNWldm and SUNWldmp2v packages are installed in these systems:
      119534-33 (or later)
      Flash archive patch.
      151934-06 (or later)
      The Oracle VM Server for SPARC 3.2 patch provides lift and shift utilities such as ldmp2vz_collect, ldmp2vz_convert, and pigz
      10_Recommended_CPU_2018-10 (or later)
      Provides proactive patching and ensures that the commands in this document run as expected.
      For information on locating recommended OS patch sets on MOS, refer to the MOS knowledge article with Doc ID 1272947.1.

      Note -  The SUNWldm, SUNWldmp2v, 119534-33, and 151934-06 patches do not modify the OS. They only install the utilities used for this lift and shift process.
    2. Unzip the patch zip files.
      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