4.11.2 Uninstalling Application Server
To uninstall Application Server, start the Program Product Installer and select the program that you want to uninstall in the program product installation window.
Prerequisites
-
The system engineer has root privileges (super user).
-
Application Server has been set up.
Intended users
-
System engineers
Procedure
To stop all performance tracers, server instances, and web servers at the same time, execute the stop-servers subcommand of the asadmin utility command.
asadmin stop-servers
When this command is run, the result is displayed as follows:
Command stop-servers executed successfully.
To display a list of performance tracers, run the list-prfs subcommand of the asadmin utility command.
asadmin list-prfs
When this command is run, the result is displayed as follows. Ensure that the statuses of the performance tracers are not running.
performance_tracer_name not running Command list-prfs executed successfully.
To display a list of server instances, run the list-instances subcommand of the asadmin utility command with the --long option specified.
asadmin list-instances --long=true
When this command is run, the result is displayed as follows. Ensure that the statuses of the server instances are not running.
server_instance_name host_name port_number process_ID cluster_name not running Command list-instances executed successfully.
-
cluster_name is displayed only for cluster configurations that contain multiple Java EE servers.
-
To display a list of web servers, run the list-webservers subcommand of the asadmin utility command.
asadmin list-webservers
When this command is run, the result is displayed as follows. Ensure that the statuses of the web servers are not running.
web_server_name not running Command list-webservers executed successfully.
To back up the environmental information, if required, run the backup-domain subcommand of the asadmin utility command.
asadmin backup-domain --backupdir backup_file_save_location_directory domain_name
Verify the backup file that is displayed.
Back up the files that are managed somewhere other than the domain directory (for example, server templates).
To stop a domain, run the stop-domain subcommand of the asadmin utility command.
asadmin stop-domain domain_name
When this command is run, the result is displayed as follows:
Command stop-domain executed successfully.
To start the Program Product Installer, run the following command:
On the main menu of the Program Product Installer, press the D key.
To select and uninstall the product (Application Server), in the program product uninstallation window, move the cursor to the product to be uninstalled, and then press the Spacebar key.
An icon that indicates the selection state <@> appears on the left side of the product to be uninstalled.
An icon that indicates the selection state ( [@] or @) appears on the left side of the programs that compose the product to be uninstalled.
If multiple instances of the same product are installed, then verify the display name (DisplayName) of the product to be uninstalled.
To select and uninstall the programs that compose the product, in the program product uninstallation window, move the cursor to the programs to be uninstalled, and then press the Spacebar key.
An icon appears on the left side of the programs you can uninstall. When you press the Spacebar key, the [@] icon changes, and that program will be uninstalled.
Ensure that the <@> icon is displayed on the left side of the product to be uninstalled and then, press the D key.
A message Delete PP? (y: delete, n:cancel)==> appears at the bottom of the window.
Press the y+ or Y key.
The uninstallation starts.
If you press the n+ or N key, then the uninstallation will stop.
When a message indicating the end of the uninstallation appears, press the Q key.
On the main menu of the Program Product Installer, press the Q key.
The Program Product Installer closes, and the uninstallation of Application Server is complete.