Sun ONE Portal Server 6.1 Migration Guide |
Chapter 13
Upgrading Sun ONE Portal Server Software from Version 6.0 to Version 6.1This chapter provides an overview and discussion on how to upgrade your Sun ONE Portal Server system from the 6.0 software release to the 6.1 software release.
This chapter contains the following sections:
The Upgrade ProcessThe Sun ONE Portal Server 6.0 to 6.1 upgrade process involves the following high-level steps:
Installing Sun ONE Portal Server 6.1 SoftwareInstall the Sun ONE Portal Server 6.1 software.
- Log in to the machine and become superuser.
You will need root access to install the Sun ONE Portal Server.
- Change directories to where the installation program is located.
- Type:
./pssetup
- Specify if you accept the license agreement. To accept, type yes.
- Do not remove the Sun ONE Directory Server and Sun ONE Identity Server components when the installation program detects their presence and prompts to remove them. Select the option to Remove the Portal Server only.
- At the Uninstall Portal Server in upgrade mode? y/[n] option, type y.
- When prompted, type the appropriate administrator passwords.
- Select the option to install the Sun ONE Portal Server.
- Select the Deployment type.
If installing on an application server, refer to the appropriate appendix in the Sun ONE Portal Server Installation Guide for additional information.
A listing of the default configuration settings displays.
- At the Use these settings? [y]/n prompt, select n.
A series of configuration prompts will display.
- Set the appropriate settings for the configuration.
At the Install Sample Portal? [y]/n prompt, select n.
At the Install in upgrade mode? y/[n] prompt, select y.
When the installation program upgrade mode option is chosen, the existing Sun ONE Portal Server 6.0 installation is scanned and user modified files are copied, saved, and renamed to filenames with a .pre61 extension.
A updated listing of the default configuration settings displays.
- At the Use these settings? [y]/n prompt, select y.
When the install completes, the Sun ONE Portal Server 6.1 system will be started automatically. To complete the upgrade, you must still restore the customized files.
Restoring Customized FilesWhen the installation program upgrade mode option is chosen, the existing Portal Server 6.0 installation is scanned and user modified files are copied, saved, and renamed to filenames with a .pre61 extension. At the completion of the install, the Sun ONE Portal Server is started; however, the installation is not running with any of your previous template or JSP customizations. you must run the restoremodfiles script to restore these customizations. The restoremodfiles script accepts a directory name as a parameter. The script does the following:
- Scans the specified directory.
- Creates backup copies of all the 6.1 files with a .61 extension.
- Makes copies of the .pre61 files created by the installation upgrade mode option in "Installing Sun ONE Portal Server 6.1 Software" to the appropriate directory and renames the files without the .pre61 extension.
By default, desktop customizations are stored in /etc/opt/SUNWps/desktop/default. The script is located in the /BASEDIR/SUNWps/bin directory. For example, if the base install directory on a Web Server deployment is /opt, to run the script with the directory parameter option of /etc/opt/SUNWps/desktop/, type the following at your system prompt:
/opt/SUNWps/bin/restoremodfiles /etc/opt/SUNWps/desktop/
On a application server deployment, if the base install directory is /opt/SUNWappserver7, to run the script with the directory parameter option of /etc/opt/SUNWps/desktop/, type the following at your system prompt:
/opt/SUNWappserver7/SUNWps/bin/restoremodfiles /etc/opt/SUNWps/desktop/
Completing the UpgradeTo complete the upgrade process, you need to do the following:
To start the web container on a Sun ONE Portal Server system using Sun ONE Web Server as its web container, use the /etc/init.d/amserver start command. To start the web container on a Sun ONE Portal Server system using an application server as its web container, use the appropriate application server start command.
You have now completed the upgrade process. Your Sun ONE Portal Server 6.1 system should be up and running with all of the previous existing data and customizations.
Uninstalling a Sun ONE Portal Server Upgrade InstallationThe Remove All option of the Sun ONE Portal Server installation program (pssetup) does not completely uninstall an upgrade installation of the Sun ONE Portal Server 6.1 software. This option will leave information in the product registry. To avoid these issues, do the following to uninstall a Sun ONE Portal Server upgrade installation.
On a Web Server Deployment
- Run the Sun ONE Portal Server installation program (pssetup) and choose the Remove Portal Server Only option to remove all the Sun ONE Portal Server packages.
- Run the Sun ONE Identity Server uninstall script located at BaseDir/uninstall to remove all the Sun ONE Identity Server packages.
- Run the utility located at /usr/bin/prodreg and verify that the Sun ONE Identity Server software has been removed from the product registry.
On an Application Server Deployment
- Run the Sun ONE Portal Server installation program (pssetup) and choose the Remove Portal Server Only option to remove all the Sun ONE Portal Server packages.
- Run the Sun ONE Portal Server installation program (pssetup) and choose the Remove Identity Server Only option to remove the Sun ONE Identity Server packages.
- Run the Sun ONE Identity Server uninstall script located at BaseDir/uninstall to remove the Sun ONE Directory Server and its configuration contained in the SUNWamutl and SUNWamdsc packages.
- Run the utility located at /usr/bin/prodreg and verify that the Sun ONE Identity Server software has been removed from the product registry.