Hitachi

Hitachi Application Server V10 User's Guide (For UNIX® Systems)


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

Intended users

Procedure

  1. 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.
  2. 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.
  3. 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.

  4. 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.
  5. 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.

  6. Back up the files that are managed somewhere other than the domain directory (for example, server templates).

  7. 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.
  8. To start the Program Product Installer, run the following command:

    For Linux, use the following code:
    /etc/hitachi_x64setup
  9. On the main menu of the Program Product Installer, press the D key.

  10. 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.

  11. 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.

  12. 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.

  13. Press the y+ or Y key.

    The uninstallation starts.

    If you press the n+ or N key, then the uninstallation will stop.

  14. When a message indicating the end of the uninstallation appears, press the Q key.

  15. 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.