|
You can remove a WebSphere Application Server profile from
the cell by removing its profile from the WebSphere Deployment Manager.
You can execute this task by using either a pair of script files
or the Deployment Manager Administrative Console.
Note:
Removing a profile from the cell only removes
the server from the cluster; it does not delete the profile. The
profile remains (and can be added back to the cell later, if needed).
To completely remove a profile, delete the profile as a separate
task.
You can delete profiles that you no longer need on your Deployment
Manager and servers.
To remove a WebSphere Application Server using script files:
-
If the Deployment Manager is not running,
navigate to the bin directory of the Deployment Manager Profile
and run the appropriate script:
-
On each WebSphere Application Server that you want to remove,
navigate to the bin directory of the profile that is running the
node agent and run the appropriate
removeNode
script:
-
Navigate to the bin directory of the Deployment Manager profile
and run the appropriate
cleanup
script:
-
(Windows)
cleanupNode.bat <node name> [deploymgr host] [deploymgr port] [options]
-
(Linux, UNIX)
./cleanupNode.sh <node name> [deploymgr host] [deploymgr port] [options]
For
more information, refer to
this article
in the WebSphere Application
Server documentation.
To remove a WebSphere Application Server using the Deployment Manager:
-
Verify that the Deployment
Manager is running.
-
In a web browser, type the URL to the Deployment Manager;
for example, type
http://<servername>:<port>/ibm/console
Note:
By default, the Deployment Manager Administrative
Console web application listens on port 9060.
-
In the left pane, select
System Administration
and
click
Nodes
.
-
Select the node to remove and click
Remove Node
.
-
To verify that the node is removed, navigate to
System Administration
>
Nodes
and
confirm that the node is not listed.
To delete a profile:
-
Open a command
prompt and navigate to the
[appserver root]
/bin directory.
-
Run the following command from the console:
Note:
The profile directory and log files are not deleted.
You must manually delete the profile directory. Any attempt to create
a profile by using the same name as the deleted profile without
first deleting the directory causes an error.
|
|
|