- Graphical: The Graphical is default option that you get if you execute
./uninstall.sh
oruninstall.bat
command in the portal_server/uninstall director. It will open a Wizard and ask you couple of questions about what is user name and password of portal administrator and do you also want to uninstall websphere portal. - Console: If your using a system where Graphical Uninstall/install is not supported then your second option is to use Console by executing
./uninstall.sh -console
in this case portal will ask you same question as that of graphical unistall but on command console. - Silent Install If your Operating system does not support Graphical UI then you can use the silent option. In this case you copy the uninstallresponse.txt file from the IL-Setup or W-Setup directory set appropriate properties and execute
./uninstall.sh -options <path_to_setup>/IL-Setup/unistallresponse.txt
The CentOS vmware that i use for experiments does not support Graphical UI so i had to uninstall using the silent option. This is how my uninstallresponse.txt looks like.
################################################################################
#
# Uninstall response file for IBM WebSphere Portal 6.1.0.1
#
# Follow the comments to use the response file and understand the various
# options. You must carefully complete or change the various values. If the
# values are not completed properly, the install may be unsuccessful.
#
# IMPORTANT: ALL VALUES MUST BE ENCLOSED IN DOUBLE QUOTES ( "" ).
#
# To use this file specify the command line option
# "-options path/to/uninstallresponse.txt". For example,
# uninstall.bat -options path\to\uninstallresponse.txt, or
# uninstall.sh -options path/to/uninstallresponse.txt
#
################################################################################
################################################################################
#
# UNINSTALLATION CHOICE
#
# Description: This line specifies that the uninstallation
# will be done in silent mode. If you wish to use this response
# response file in interactive mode, just comment out or delete
# this line.
#
################################################################################
-silent
################################################################################
#
# UNINSTALL WEBSPHERE APPLICATION CHOICE
#
# Description: This property enables you to leave the WebSphere
# Application Server installation on the machine when
# uninstalling WebSphere Portal.
#
# Legal values are: leave - leave WebSphere Application Server
# on the machine
#
# uninstall - uninstall WebSphere Application Server
#
# The uninstall option is available only if you installed the WebSphere
# Application Server using the WebSphere Portal installer.
#
################################################################################
-W uninstallWas.choice="uninstall"
################################################################################
#
# WEBSPHERE APPLICATION SERVER ADMINISTRATIVE USER AND PASSWORD
#
# Enter the user ID and password for the Websphere Application Server
# administrator for the profile you are removing. These properties are
# required when uninstalling with WebSphere security enabled.
#
################################################################################
-W wasIdPasswordUninstall.user="wasadmin"
-W wasIdPasswordUninstall.password="wasadmin"
Once you start the uninstall process it will display name of the log file where uninstall process is writing long in my case it is /tmp/wpuninstalllog.txt file. You can look inside this file in case of problems.
Both during the install and uninstall process the installer creates portalinstall.lock file to make sure that there is only one instance of installer/uninstaller program is running at a time. If your install or uninstall process is throwing other instance of installer already in progress check if this file is there in either /tmp folder in case of Linux or in C:\Documents and Settings\Administrator\Local Settings\Temp\portalinstall.lockfile folder in case of Windows. Delete this file manually and then start the install/uninstall program.
No comments:
Post a Comment