2.5 Uninstalling WebSphere Application Server

 < Day Day Up > 



2.5 Uninstalling WebSphere Application Server

WebSphere Application Server provides an uninstaller program.

To uninstall the product, change directory to the <WAS_HOME>/_uninst (as default, /opt/WebSphere/AppServer/_uninst) directory and run the uninstall program.

The uninstaller program removes all related features and products, as well as plug-ins. However, there are some files that the uninstall program does not remove. The uninstall program does not delete any configuration files that are changed as the result of selecting installation options or running Samples, for example. For further information, refer to "Clean up the system" on page 81.

If you installed the IBM HTTP Server feature using the WebSphere Application Server installation wizard, uninstalling WebSphere Application Server also uninstalls the HTTP Server.

To uninstall Websphere Application Server added as a node, do the following:

  1. Remove the specific node which you want to uninstall.

  2. Uninstall WebSphere Application Server.

To uninstall a Websphere Application Server Network Deployment which has a node or nodes, do the following:

  1. Remove all added nodes.

  2. Uninstall WebSphere Application Server Network Deployment.

2.5.1 Remove nodes

Perform the following steps to remove a node or nodes.

  1. To open the Network Deployment Administrative Console, start your Web browser and enter the following URL:

    http://host_name:9090/admin

  2. Stop WebSphere Application Server. Select Servers Application Servers.

  3. Select all the application servers existing on the node and click Stop.

  4. Remove the node. Select System Administration Nodes.

  5. Select the node that you want to remove and click Remove Node, as shown in Figure 2-79.

    click to expand
    Figure 2-79: Click Remove Node to remove node— linux

2.5.2 Execute uninstaller

WebSphere Application Server V5.0.2 provides uninstall programs. You can uninstall the WebSphere Application Server V5.0.2 with the wizards. The steps to execute the uninstaller:

  1. Stop the WebSphere Application Server using the command:

     # /opt/WebSphere/AppServer/bin/stopServer <server> 

  2. Stop the IBM HTTP Server using the command:

     # /opt/IBMHttpServer/bin/apachectl stop 

  3. Stop processes related to the WebSphere Application Server.

    1. Check the active java and mq processes using the following commands. Note the PID numbers on the list.

       # ps | grep java # ps | grep mq 

    2. Stop the java processes using the following command:

       # kill PID 

    3. Verify that the processes which you kill are inactive using the ps command. If those processes are not listed, the processes are already killed.

  4. Call the uninstall program on the VNC Viewer. The uninstall programs are in the directories shown in Table 2-3.

    Table 2-3: Directories which have the uninstall programs

    Edition

    Uninstaller

    WebSphere Application Server

    <WAS_HOME>/_uninst/uninstall

    WebSphere Application Server Network Deployment

    <ND_HOME>/_uninst/uninstall

    WebSphere Application Server Enterprise

    <WAS_HOME>/_uninstPME/uninstall

    For example, to uninstall the Base edition:

     # cd /opt/WebSphere/AppServer/_uninst # ./uninstall 

2.5.3 Clean up the system

If you install WebSphere Application Server to a new environment on a system where you ever uninstalled the product, you need to clean up the WebSphere Application Server environment. Even if you uninstall the product successfully, there are some files in the installed directories. If you don't need those files, you can remove them manually. If some files remain on the system, you might not be able to install the product correctly in the future.

The steps to clean up the system are the following:

  1. Kill all the java and mq processes using the steps described in the previous section.

  2. Make sure that all the MQ packages are removed using the following command:

     # rpm -qa | grep MQ 

  3. If any packages are listed, remove those packages using the following command:

     # rpm -e <package_name> 

  4. To clean up the system, delete the directories shown in Table 2-4.

    Table 2-4: .Directories deleted to clean up the system

    Edition

    Uninstaller

    WebSphere Application Server

    WebSphere Application Server Enterprise

    /opt/WebSphere/AppServer

    WebSphere Application Server Network Deployment

    /opt/WebSphere/DeploymentManager

    MQ

    /opt/mqm , /opt/wemqs

    /var/mqm , /var/wemqs

    IBMHTTPServer

    /opt/IBMHTTPServer

  5. Delete <user_home>/vpd.properties file. The user of the <user_home> is the user which installs WebSphere Application Server. The following command is used when the root user installs the product.

     # rm /root/vpd.properties 

    Now the system has been cleaned up.



 < Day Day Up > 



Websphere for Linux on Iseries. Implementation Guide
Websphere for Linux on Iseries: Implementation Guide
ISBN: 0738498955
EAN: 2147483647
Year: 2003
Pages: 56
Authors: IBM Redbooks

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net