Login to the global zone and become a root user.
% su <Return> Password:password <Return> #
Boot the non-global zone in single user mode from the global zone.
# zoneadm -z zone-a boot -s <Return>
zone-a is the name of the non-global zone into which this software is going to be installed. This name will change the system configuration. In the following examples, the name of the non-global zone will be "zone-a".
Login to the non-global zone.
# zlogin zone-a <Return>
Temporarily save the OS file in the following way.
# mv /usr/sbin/add_drv /usr/sbin/add_drv.save <Return>
Create a temporary file in the following way.
# touch /usr/sbin/add_drv <Return>
# chmod 555 /usr/sbin/add_drv <Return>
Installation of package.
At first, to access the medium of PRIMECLUSTER DVD from the non-global zone,mount the medium on the non-global zone or copy it to the non-global zone. Then, execute pkgadd command. In the following example, the directory in the non-global zone is </cdrom/cdrom0>.
When the type of non-global zone is a Solaris8 container
# pkgadd -d /cdrom/cdrom0/Solaris8/CD2/Solaris8/products/GLS/sparc FJSVhanet <Return>
When the type of non-global zone is a Solaris9 container
# pkgadd -d /cdrom/cdrom0/Solaris9/CD2/Solaris9/products/GLS/sparc FJSVhanet <Return>
Follow the interactive procedure shown below.
(The copyright message is displayed.) This package’s default installation information is following: Program install directory: /opt Do you want to change the install directory? n [y,n,?,q] y <Return> (If you do not want to change the directory, type n. If n is enterd, the change of directory message shown below is not displayed.) Please specify install directory: /opt2 <Return> (Specify a directory.) This package’s installation information is following: Program install directory: Default directory: /opt Specified directory: /opt2 Correct ? y <Return> (The following messages are occasionally displayed. Enter y <RETURN> here.) This package contains scripts which will be executed with super-user permission during the process of installing this package. Do you want to continue with the installation of <FJSVhanet> [y,n,?] y <Return> : : (When 119254-31 is unapplication, the following messages might be displayed. Enter y <RETURN> here. ) Do you want to install these as setuid/setgid files [y,n,?,q] y <Return> : :
Normal installation of the package is checked. If the following message is not displayed, the installation failed. Delete the failed package and reinstall it.
Installation of <FJSVhanet> was successful.
Restore the OS file in the following way.
# mv /usr/sbin/add_drv.save /usr/sbin/add_drv <Return>
Install patches.
When the type of non-global zone is a Solaris8 container
# cd /cdrom/cdrom0/Solaris8/patch <Return> # patchadd 914111-03 <Return> (*1)
When the type of non-global zone is a Solaris9 container
# cd /cdrom/cdrom0/Solaris9/patch <Return> # patchadd 914111-03 <Return> (*1)
(*1) Patch 914111-03 or later should be applied.
Logout from the non-global zone.
# exit <Return>
Reboot the non-global zone from the global zone.
# zlogin zone-a shutdown -y -g0 -i6 <Return>