IBM Support

Liberty Profile - Manually Delete a Server

Question & Answer


Question

How do you delete a Liberty server?

Answer

The following will outline the steps required to delete a Liberty server.

Variables

<wlp.product.dir> = /QIBM/ProdData/WebSphere/Liberty/V85/Express/
<wlp.user.dir> = /QIBM/UserData/WebSphere/AppServer/V85/Liberty/wlp/

Delete the Liberty server:


1) Open a command prompt via Qshell. Then, change the directory to <wlp.product.dir>/ bin/.

Example:
STRQSH
cd /QIBM/ProdData/WebSphere/Liberty/V85/Express/bin/


2) Run the following command to stop the Liberty application server.

server stop server_name
where server_name is the name of the Liberty application server you want to delete.

Example:
server stop libertyServer

Server libertyServer stopped.
$

3) Now change the directory to <wlp.user.dir>

Example:
cd /QIBM/UserData/WebSphere/AppServer/V85/Liberty/wlp/

3) Run the following commands to manually delete the server

rm -rf usr/servers/server_name
rm -rf output/servers/server_name
where server_name is the name of the Liberty application server you want to delete.

Example:
rm -rf usr/servers/libertyServer
rm -rf output/servers/libertyServer

[{"Product":{"code":"SWG60","label":"IBM i"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"WebSphere Application Server","Platform":[{"code":"","label":"iSeries"},{"code":"PF012","label":"IBM i"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
18 December 2019

UID

nas8N1019878