You can run the upgrade utility from the command line using the following syntax:
asupgrade [--console ] [--version ] [--help ] [--source applicationserver_8.x_installation_domaindirectory] [--target applicationserver_9.1_installation] [--passwordfile passwords.txt]
The following table describes the command options in greater detail, including the short form, the long form, and a description.
Table 2–2 asupgrade Utility Command Options
Short Form |
Long Form |
Description |
---|---|---|
-c |
--console |
Launches the upgrade command line utility. |
-v or -V |
--version |
The version of the Upgrade Tool. |
-h |
--help |
Displays the arguments for launching the upgrade utility. |
-t |
--target |
The domains directory of the Application Server 9.1 installation. |
-s |
--source |
The installation directory of the older Application Server installation. |
-a |
--adminuser |
The admin user for the source server. |
-f |
--passwordfile |
The file containing the admin password and the master password. |
For a more detailed usage summary of the asupgrade command, see asupgrade(1M).
The following examples show how to use the asupgrade command-line utility to upgrade an existing application server installation to Application Server 9.1.
This example shows how to perform a side-by-side upgrade of a Sun Java SystemApplication Server 8.x installation to Sun Java System Application Server 9.1.
asupgrade --source /home/sunas8.2/domains/domain1 --target /home/sjsas9.1/domains
After upgrade, node agents for all remote instances are created on the target DAS. These node agents have to be copied to the respective host systems and started.