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
 
 

Patch the Target Guest Domain

This procedure describes how to install required patches in the target guest domain. The patches were downloaded to the shared storage in Prepare the Shared Storage.

  1. Ensure that you are logged into the target guest domain as superuser.

  2. Mount the shared storage.
    root@TargetGuestDom# mkdir /ovas1
    root@TargetGuestDom# mount -F nfs TargetControlDom:/ovas1 /ovas1
  3. Ensure that the Flash archive patch 119534 is up to date on the target guest domain.
    1. Check if 119534 is up to date.

      It must be 119534-33 (or later).

      root@TargetGuestDom# 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@TargetGuestDom# cd /ovas1/Downloads
      root@TargetGuestDom# patchadd ./119534-33
  4. Install the Oracle Solaris 10 recommended patch set on the target guest domain.

    Install the patch set using the installpatchset command and include the required s10patchset passcode.

    In this example, the installpatchset command and the recommended patches are installed from the shared storage.


    Note -  At the end of the installpatchset script, this message is displayed: Installation of patch set complete. PLEASE REBOOT THE SYSTEM. Do not reboot the system at this time. Wait until instructed to reboot later in this procedure. Rebooting now will hinder your ability to perform some subsequent steps.
    root@TargetGuestDom# cd /ovas1/Downloads/10_Recommended_CPU_2018-10
    root@TargetGuestDom# ./installpatchset --s10patchset
  5. Install the Oracle VM Server for SPARC 3.2 packages in the target guest domain.

    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@TargetGuestDom# cd /ovas1/Downloads/OVM_Server_SPARC-3_2/Product
      root@TargetGuestDom# pwd
      /ovas1/Downloads/OVM_Server_SPARC-3_2/Product
      root@TargetGuestDom# 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@TargetGuestDom# 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@TargetGuestDom# 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.
  6. Install the 151934-06 (or later) patch on the target guest domain.

    In this example, the patch is installed from the shared storage.

    root@TargetGuestDom# cd /ovas1/Downloads
    root@TargetGuestDom# patchadd ./151934-06
    Patch packages installed:
      SUNWldm
      SUNWldmp2v
  7. Verify the presence of the ldmp2vz_convert utility.
    root@TargetGuestDom# ls /usr/sbin/ldmp2vz_convert
    ldmp2vz_convert
  8. Reboot the target guest domain.
    root@TargetGuestDom# shutdown -i 6
  9. Mount the shared storage.

    The shared storage must be mounted after rebooting the system because access to the shared storage is needed in subsequent procedures.

    root@TargetGuestDom# mount -F nfs TargetControlDom:/ovas1 /ovas1