When you are using a patch server to perform the following tasks, you need to have root access to both the management server and the manageable server at the same time. For some tasks, you need to first patch the manageable server, then mount the management server and patch the distribution.
This procedure describes how to patch a Solaris 9 OS distribution in the N1 System Manager. The steps in this procedure need to be performed on both the patch server and the management server. The patches described are necessary for the N1 System Manager to be able to provision Solaris OS 9 update 7 and below. This procedure is not required for Solaris OS 9 update 8 and above.
Consider opening two terminal windows to complete the steps. The following steps first guide you through patching the patch server and then provide steps for patching the distribution.
Create a Solaris 9 OS distribution on the management server. See To Copy an OS Distribution From CDs or a DVD in Sun N1 System Manager 1.3 Operating System Provisioning Guide or To Copy an OS Distribution From ISO Files in Sun N1 System Manager 1.3 Operating System Provisioning Guide. Type show os os-name at the command line to view the ID of the OS distribution. This number is used in place of DISTRO_ID in the instructions.
Install the Solaris 9 OS on x86 platform software on a machine that is not the management server.
Create a /patch directory on the Solaris 9 x86 patch server.
For a Solaris OS on x86 distribution, download and unzip the following patches into the /patch directory on the Solaris 9 OS on x86 patch server: 117172-17 and 117468-02. You can access these patches from http://sunsolve.sun.com.
For a Solaris OS on SPARC distribution, download and unzip the following patches into the /patch directory on the Solaris 9 OS on x86 patch server: 117171-17, 117175-02, and 113318-20. You can also access these patches from http://sunsolve.sun.com.
Patch the Solaris 9 OS on x86 patch server.
Log in as root.
% su password:password |
The root prompt appears.
Reboot the Solaris 9 patch server to single-user mode.
# reboot -- -s |
In single-user mode, change to the patch directory.
# cd /patch |
Install the patches.
# patchadd -M . 117172-17 # patchadd -M . 117468-02 |
Pressing Control+D returns you to multiuser mode.
Prepare to patch the distribution on the management server.
Patch the distribution that you copied to the management server.
Log in to the Solaris 9 patch server as root.
% su password:password |
The root prompt appears.
Mount the management server.
# mount -o rw management-server-IP:/js/DISTRO_ID /mnt |
Install the patches by performing one of the following actions:
If you are patching an x86 distribution, type the following commands:
# patchadd -C /mnt/Solaris_9/Tools/Boot/ -M /patch 117172-17 # patchadd -C /mnt/Solaris_9/Tools/Boot/ -M /patch 117468-02 |
If you are patching a SPARC distribution, type the following commands:
# patchadd -C /mnt/Solaris_9/Tools/Boot/ -M /patch 117171-17 # patchadd -C /mnt/Solaris_9/Tools/Boot/ -M /patch 117175-02 # patchadd -C /mnt/Solaris_9/Tools/Boot/ -M /patch 113318-20 |
You will receive a partial error for the first patch installation. Ignore this error.
Unmount the management server.
# unmount /mnt |
Restart NFS on the management server.
Fix the Solaris 9 OS on x86 distribution.
If you want to patch another distribution, you might have to delete the /patch/117172-17 directory and re-create it using the unzip 117172-17.zip command. When the first distribution is patched, the patchadd command makes a change to the directory that causes problems with the next patchadd command execution.
This patch is not needed for the Solaris 9 update 8 build 5 OS and beyond. Versions of the Solaris OS from Solaris 9 9/05 s9x_u8wos_05, therefore, do not require this patch.
This procedure describes how to patch a Solaris 9 OS distribution in the N1 System Manager. The steps in this procedure need to be performed on the manageable server and the management server. Consider opening two terminal windows to complete the steps. The following steps first guide you through patching the manageable server and then provide steps for patching the distribution.
Create a Solaris 9 OS distribution on the management server. See To Copy an OS Distribution From CDs or a DVD in Sun N1 System Manager 1.3 Operating System Provisioning Guide or To Copy an OS Distribution From ISO Files in Sun N1 System Manager 1.3 Operating System Provisioning Guide. Type show os os-name at the command line to view the ID of the OS distribution. This number is used in place of DISTRO_ID in the instructions.
Install the Solaris 9 OS on SPARC software on a machine that is not the management server. See To Load an OS Profile on a Server or a Server Group in Sun N1 System Manager 1.3 Operating System Provisioning Guide.
Create a /patch directory on the Solaris 9 SPARC patch server.
For a Solaris OS on x86 distribution, download and unzip the following patches into the /patch directory on the Solaris 9 OS on x86 patch server: 117172-17 and 117468-02. You can access these patches from http://sunsolve.sun.com.
For a Solaris OS on SPARC distribution, download and unzip the following patches into the /patch directory on the Solaris 9 OS on x86 patch server: 117171-17, 117175-02, and 113318-20. You can access these patches from http://sunsolve.sun.com.
Set up and patch the Solaris 9 OS on SPARC machine.
Log in to the Solaris 9 machine as root.
% su password:password |
Reboot the Solaris 9 machine to single-user mode.
# reboot -- -s |
In single-user mode, change to the patch directory.
# cd /patch |
Install the patches.
# patchadd -M . 117171-17 # patchadd -M . 117175-02 # patchadd -M . 113318–20 |
Pressing Control+D returns you to multiuser mode.
Patch the distribution that you copied to the management server.
Log in to the Solaris 9 machine as root.
% su password:password |
Mount the management server.
# mount -o rw management-server-IP:/js/DISTRO_ID /mnt |
Install the patches by performing one of the following actions:
If you are patching a Solaris OS on x86 software distribution, type the following commands:
# patchadd -C /mnt/Solaris_9/Tools/Boot/ -M /patch 117172-17 # patchadd -C /mnt/Solaris_9/Tools/Boot/ -M /patch 117468-02 |
If you are patching a Solaris OS on SPARC software distribution, type the following commands:
# patchadd -C /mnt/Solaris_9/Tools/Boot/ -M /patch 117171-17 # patchadd -C /mnt/Solaris_9/Tools/Boot/ -M /patch 117175-02 # patchadd -C /mnt/Solaris_9/Tools/Boot/ -M /patch 113318-20 |
You will receive a partial error for the first patch installation. Ignore this error.
Unmount the management server.
# unmount /mnt |
Restart NFS on the management server.
Fix the Solaris 9 OS on x86 distribution.
If you want to patch another distribution you might have to delete the /patch/117172-17 directory and re-create it using the unzip 117172-17.zip command. When the first distribution is patched, the patchadd command makes a change to the directory that causes problems with the next patchadd command execution.