InomHitta mer dokumentationSupportresurser som ingår | Ladda ner denna bok i PDF (634 KB)
Chapter 3 Upgrading an Application Server InstallationYou can upgrade to Application Server 8.2 from Application Server 7.x or an Application Server 8/8.1 Platform Edition installation. Information that is transferred includes data about deployed applications, the file realm, security certificates, and other resource and server configuration settings. You can install your upgrade in a new location, or you can upgrade in place by overwriting your previous installation. This chapter discusses the following topics: Upgrade OverviewThe following table shows supported Application Server upgrades. In this table, PE indicates Platform Edition and EE indicates Enterprise Edition. Table 3–1 Supported Upgrade Paths
Note – Before starting the upgrade process, make sure that both the source server (the server from which you are upgrading) and the target server (the server to which you are upgrading) are stopped. The software provides two methods, a command-line utility (asupgrade) and a GUI (Upgrade Wizard), for completing the upgrade. If you issue the asupgrade command with no options, the Upgrade Wizard GUI is displayed. If you use theasupgrade command in command-line mode and if you do not supply all of the required information, an interviewer requests information for the required options you omitted. The Upgrade Wizard automatically detects the version of the specified source server installation. If a domain contains information about a deployed application and the installed application components do not agree with the configuration information, the configuration is migrated as is without any attempt to reconfigure the incorrect configurations. During an upgrade, the configuration and deployed applications of a previous version of the Application Server are migrated; however, the runtime binaries of the server are not updated. Database migrations or conversions are also beyond the scope of this upgrade process. Only those instances that do not use Web Server-specific features are upgraded seamlessly. Configuration files related to HTTP path, CGI bin, SHTML, and NSAPI plug-ins are not be upgraded. Enterprise Application Archive (EAR) files and component archives (JAR, WAR, and RAR files) that are deployed in the Application Server 7.x/8.0 environment do not require any modification to run on Application Server 8.2. Applications and components that are deployed in the source server are deployed on the target server during the upgrade. Applications that do not deploy successfully on the target server must be migrated using the Migration Tool or asmigrate command, then deployed again manually. If the upgrade includes clusters, specify one or more cluster files. Upon successful upgrade, an upgrade report is generated listing successfully migrated items along with a list of the items that could not be migrated. This chapter discusses the following topics: Upgrading Through the Upgrade UtilityThe upgrade utility is run from the command line using the following syntax: asupgrade [--console ] [--version ] [--help ] [--source applicationserver_7.x/8.x_installation] [--target applicationserver_8.2_installation] --adminuser admin_user [--adminpassword admin_password] [--masterpassword changeit] [--passwordfile path_to_password_file] [--domain domain_name] [--nsspwdfile NSS_password_filepath] [--targetnsspwdfile target_NSS_password_filepath] [--jkspwdfile JKS_password_filepath] [--capwdfile CA_password_filepath] [--clinstancefile file1 [, file2, file3, ... filen]] The following table describes the command options in greater detail, including the short form, the long form, and a description. Table 3–2 asupgrade Utility Command Options
The following examples show how to use the asupgrade command-line utility to upgrade an existing application server installation to Application Server 8.2 Example 1: Upgrading an Application Server 7 Installation to Application Server 8.2 with Prompts for Certificate Migration. This example shows how to upgrade a Application Server 7 installation to Application Server 8.2. This command prompts you to migrate certificates. If you reply no, then no certificates are migrated. asupgrade --adminuser admin --passwordfile password.txt --source /home/sunas7 --target /home/sjsas8.2 Example 3: Upgrading an Application Server 7 PE Installation with NSS Certificates to Application Server 8.2 PE This example shows how to upgrade a Application Server 7 PE installation toApplication Server 8.2 PE. The NSS certificates from the 7.0 PE source server are converted to JKS and CA certificates in the8.2 PE target server. asupgrade --adminuser admin --passwordfile password.txt --source /home/sjsas7.0 --target /home/sjsas8.2 --domain domain1 --nsspwdfile /home/sjsas7.0/nsspassword.txt --jkspwdfile /home/sjsas7.0/jkspassword.txt --capwdfile /home/sjsas7.0/capassword.txt Example 4: Upgrading an Application Server 8.0 PE Installation with JKS and CA Certificates to Application Server 8.2 PE This example shows how to upgrade a Application Server 8.0 PE installation to Application Server 8.2 PE. JKS and CA certificates will be migrated. asupgrade --adminuser admin --passwordfile password.txt --source /home/sjsas8.0 --target /home/sjsas8.2 --domain domain1 --jkspwdfile /home/sjsas8.0/jkspassword.txt --capwdfile /home/sjsas8.2/capassword.txt Upgrading Through the WizardThe Upgrade wizard provides a GUI. Using the wizard increases install time and space requirements. You can start the Upgrade wizard in GUI mode from the command line or from the desktop. To start the wizard, - On UNIX, change to the <install_dir>/bin directory and type asupgrade. - On Windows, double-click the asupgrade icon in the <install_dir>/bin directory. If the Upgrade checkbox was selected during the Application Server installation process, the Upgrade Wizard screen automatically displays after the installation completes.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||