Bootstrap FreeKB - IBM WebSphere - List Web Servers using wsadmin
IBM WebSphere - List Web Servers using wsadmin

Updated:   |  IBM WebSphere articles

If you are not familiar with wsadmin, check out my article IBM WebSphere - Getting Started with wsadmin.

Here is an example of how to list the web servers that have been added to your WebSphere deployment manager (dmgr) using wsadmin.

~]$ /opt/WebSphere/AppServer/profiles/your_profile/bin/wsadmin.sh -lang jython -c "print AdminTask.listServers('[-serverType WEB_SERVER ]')"
WASX7209I: Connected to process "dmgr" on node your_node using SOAP connector;  The type of process is: DeploymentManager
WebServer01(cells/your_cell/nodes/your_node/servers/your_server|server.xml)
WebServer02(cells/your_cell/nodes/your_node/servers/your_server|server.xml)
WebServer03(cells/your_cell/nodes/your_node/servers/your_server|server.xml)

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter ea23b6 in the box below so that we can be sure you are a human.