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.
root@TargetGuestDom# mkdir /ovas1 root@TargetGuestDom# mount -F nfs TargetControlDom:/ovas1 /ovas1
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
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
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.
root@TargetGuestDom# cd /ovas1/Downloads/10_Recommended_CPU_2018-10 root@TargetGuestDom# ./installpatchset --s10patchset
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.
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
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.
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.
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
root@TargetGuestDom# ls /usr/sbin/ldmp2vz_convert ldmp2vz_convert
root@TargetGuestDom# shutdown -i 6
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