Uninstall a single server on IBM i
If you have a complete and functional uninstallation program, you can uninstall WebSphere Portal only or both WebSphere Portal and IBM WAS.
Prerequisites
Prepare to uninstall a single server on IBM iTo uninstall WebSphere Portal using the uninstallation program:
- Run the following tasks to stop the server1 and WebSphere_Portal servers from the WP_PROFILE/bin directory:
- stopServer server1 -username admin_userid -password foo
- stopServer WebSphere_Portal -username admin_userid -password foo
- Verify that there are no other installations or uninstallations running.
- To delete the WebSphere Portal server installed on the WAS profile created by the installation program.
- Log on to an i 5250 session and type STRQSH to start the Qshell Interpreter.
- Ensure that all active servers are stopped.
- Run one of the following tasks, from the /QIBM/ProdData/WebSphere/PortalServer/V7/product_offer/uninstall directory, for each profile you want to remove:
product_offer is either Server or Content, depending on the product offering that you purchased.
WAS system type Command WAS installation with default ND path: /QIBM/ProdData/WebSphere/AppServer/V7/ND rmvwpprofile.sh -profileName wp_profile -username userid -password password Custom WAS path other than the ND default path (above) rmvwpprofile.sh -profileName wp_profile -username userid -password password -waslocation /QIBM/ProdData/WebSphere/AppServer/V#/Base, where V# is the WAS Version number such as V7 rmvwpprofile.sh -profileName wp_profile -username userid -password password -waslocation /MyWas
Add the leavedb=true parameter to the rmvwpprofile.sh command to keep the database information.
- Enter one of the following uninstallation commands:
product_offer is either Server or Content, depending on the product offering that you purchased.
Option Commands Console mode local /QIBM/ProdData/WebSphere/PortalServer/V7/product_offer/uninstall/uninstall.sh Silent local /QIBM/ProdData/WebSphere/PortalServer/V7/product_offer/uninstall/uninstall.sh -silent
Parent
Single server: Uninstalling on IBM i
Previous
Prepare to uninstall a single server on IBM i
Related tasks
Uninstall manually on IBM i