100% found this document useful (1 vote)
177 views2 pages

Using Wsadmin To Enable The PMI Service

The document describes how to use wsadmin to enable the Performance Monitoring Infrastructure (PMI) service on a specific WebSphere Application Server. It provides the wsadmin commands to list existing PMI services, modify a service to enable it, save the configuration changes, and restart the server.

Uploaded by

et_phonehome_2
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
177 views2 pages

Using Wsadmin To Enable The PMI Service

The document describes how to use wsadmin to enable the Performance Monitoring Infrastructure (PMI) service on a specific WebSphere Application Server. It provides the wsadmin commands to list existing PMI services, modify a service to enable it, save the configuration changes, and restart the server.

Uploaded by

et_phonehome_2
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Using wsadmin to enable the PMI service

In order to configure the PMI service of a specific appserver, a reference to the PMI service
configuration object of that application server is needed. All PMI service configuration objects
can be listed using the wsadmin list PMIService command:

C:\WebSphere\AppServer\bin>wsadmin
WASX7209I: Connected to process "dmgr" on node net1Manager using SOAP
connector; The type of process is: DeploymentManager
WASX7029I: For help, enter: "$Help help"

wsadmin>$AdminConfig list PMIService

(cells/net1Network/nodes/node1/servers/CSVR1:server.xml#PMIService_1)
(cells/net1Network/nodes/node1/servers/CSVR2:server.xml#PMIService_1)
(cells/net1Network/nodes/node1/servers/nodeagent:server.xml#PMIService_1)
(cells/net1Network/nodes/node1/servers/server1:server.xml#PMIService_1)
(cells/net1Network/nodes/net1Manager/servers/dmgr:server.xml#PMIService_1)

wsadmin>

Figure 16-5 Using wsadmin to list the PMI service configuration objects

Each line of output contains the PMIService configuration ID that can be used for referencing
the PMIService component of a specific appserver.

To enable performance data monitoring, use the following wsadmin modify command with your
specific PMI service configuration ID:

wsadmin> $AdminConfig modify \


(cells/net1Network/nodes/node1/servers/server1: \
server.xml#PMIService_1) {{enable true}}

The configuration needs to be saved before restarting the appserver. Use the wsadmin save
command to save the configuration:

wsadmin> $AdminConfig save

To restart the appserver, use these wsadmin commands (in a single-server environment, don't
specify the node in the startServer command):

wsadmin> $AdminControl stopServer server1


wsadmin> $AdminControl startServer {server1} {net1}

To disable performance data collection, use the following wsadmin modify command (save the
configuration and restart the appserver for the change to take effect):

wsadmin> $AdminConfig modify \


(cells/net1Network/nodes/node1/servers/server1: \
server.xml#PMIService_1) {{enable false}}

You might also like