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 Source System

Perform this procedure on the Oracle Solaris 10 source system.

  1. Ensure that running transactions and connections are either left to complete or terminated based on business considerations.
  2. Backup any critical data before the start of this process, so that you can fall back to this system if anything goes wrong.
  3. Ensure that the Flash archive patch 119534 is up to date on the source system's global zone.
    1. Check if 119534 is up to date.

      It must be 119534-33 (or later).

      root@SourceGlobal# showrev -p |grep 119534
      Patch: 119534-33 Obsoletes: Requires: 119252-18, 120199-09, 126677-02 Incompatibles: Packages: SUNWinst
    2. If the version of the patch is lower than 119534-33, install the patch.

      In this example, the patch was downloaded and unzipped on the shared storage in Prepare the Shared Storage.

      root@SourceGlobal# cd /ovas1/Downloads
      root@SourceGlobal# patchadd ./119534-33
  4. Install the Oracle VM Server for SPARC 3.2 packages in the source system's global zone.

    The 20997186 package, once unzipped, provides the SUNWldm and SUNWldmp2v packages.

    In this example, the 20997186 package was downloaded and unzipped on the shared storage in Prepare the Shared Storage.

    1. Change to the Product directory that was created when the 20997186 package was unzipped.

      Verify that the SUNWldm.v and SUNWldmp2v packages are present.

      root@SourceGlobal# cd /ovas1/Downloads/OVM_Server_SPARC-3_2/Product
      root@SourceGlobal# pwd
      /ovas1/Downloads/OVM_Server_SPARC-3_2/Product
      root@SourceGlobal# ls
      Japanese    SUNWldm.v   SUNWldmib   SUNWldmp2v
    2. Use pkgadd to install the SUNWldm package.

      Ignore the warnings and type y to continue the installation.

      root@SourceGlobal# pkgadd -Gd . SUNWldm.v
      Processing package instance <SUNWldm.v> from </ovas1/Downloads/OVM_Server_SPARC-3_2/Product>
      LDoms Manager software(sparc.sun4v) 3.2.0.0.44,REV=2015.02.20.08.28
      Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
      Using </> as the package base directory.
      ## Processing package information.
      ## Processing system information.
         15 package pathnames are already properly installed.
      ## Verifying package dependencies.
      WARNING:
          The <SUNWldomr> package "Solaris Logical Domains
          (Root)" is a prerequisite package and should be
          installed.
      WARNING:
          The <SUNWldomu> package "Solaris Logical Domains (Usr)"
          is a prerequisite package and should be installed.
      Do you want to continue with the installation of <SUNWldm> [y,n,?] y
      Installation of <SUNWldm> was successful.
      
    3. Use pkgadd to install the SUNWldmp2v package.
      root@SourceGlobal# pkgadd -Gd . SUNWldmp2v
      Processing package instance <SUNWldmp2v> from </ovas1/Downloads/OVM_Server_SPARC-3_2/Product>
      LDoms P2V tool(sparc) 3.2.0.0.44,REV=2015.02.20.08.28
      Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
      Using </> as the package base directory.
      ## Processing package information.
      ## Processing system information.
         6 package pathnames are already properly installed.
      ## Verifying package dependencies.
      ## Verifying disk space requirements.
      ## Checking for conflicts with packages already installed.
      ## Checking for setuid/setgid programs.
      
      Installing LDoms P2V tool as <SUNWldmp2v>
      
      ## Installing part 1 of 1.
      /opt/SUNWldmp2v/bin/ldmp2v_prepare
      /opt/SUNWldmp2v/etc/ldmp2v.conf.sample
      /opt/SUNWldmp2v/lib/ldmp2v_convert
      /opt/SUNWldmp2v/lib/ldmp2v_finish
      /opt/SUNWldmp2v/man/man1m/ldmp2v.1m <symbolic link>
      /usr/sbin/ldmp2v
      /usr/share/man/man1m/ldmp2v.1m
      [ verifying class <none> ]
      Installation of <SUNWldmp2v> was successful.
  5. Install patch 151934-06 (or later) in the source system's global zone.

    The 151934-06 patch provides the lift and shift utilities such as the ldmp2vz_convert utility.

    In this example, 151934-06 was downloaded and unzipped on the shared storage in Prepare the Shared Storage. It is installed from shared storage.

    1. Use patchadd to install the patch.
      root@SourceGlobal# cd /ovas1/Downloads
      root@SourceGlobal# patchadd 151934-06
      Patch packages installed:
        SUNWldm
        SUNWldmp2v
    2. Verify the presence of the utilities.
      root@SourceGlobal# ls /usr/sbin/ldmp2vz*
      ldmp2vz_collect      ldmp2vz_convert
      root@SourceGlobal # ls /opt/SUNWldm/lib/contrib/
      diskio      ovmtcreate  pigz        platinfo