Link to home
Create AccountLog in
Avatar of sunilsagar
sunilsagar

asked on

IBM WebSphere PMI wsadmin

Hi

I am new to wsadmin, want to create jython script, which can enable parameters in PMI (IBM WebSpehere Application Server v7).

so using jython script want to enable few parameters for all the JVMs present on the server.

Thanks
Sunil
Avatar of HonorGod
HonorGod
Flag of United States of America image

Sunil:

  Why is this only 250 points?  ;-)

  You do realize that this is a non-trivial request, right?

Q: Are you asking that the configuration setting for PMI be changed?

Q: Or are you asking that the setting of the active PMI MBean setting be changed?

Q; Or both?
Avatar of sunilsagar
sunilsagar

ASKER

Hi HonorGod,

thanks for quick reply, I didn't knew about the points , I thought is related sev :)

I want to change the configuration setting for PMI. Like in when we go in custom, there are many parameters we enable by selecting and click enable in GUI.

I want to first set the parameters of all values (if enabled/disabled). Also if possible we can get the parameters value ..
Are there specific PMI settings in which you are interested?

Or do you really mean that you want to enable / disable everything?
have long list :)

I have to enable parameters for these objects :


For Enterprise Beans PMI module, click Enterprise Beans, select the following
metrics and click Enable at the top of the table:
• LiveCount
• LoadTime
• MessageBackoutCount
• MessageCount
• MethodResponseTime
• PooledCount
• ReadyCount
• ServerSessionPoolUsage
• StoreTime
For the JDBC Connection Pools PMI module, click JDBC Connection Pools,
select the following metrics, and click Enable at the top of the table:
• AllocateCount
• FreePoolSize
• JDBCTime
• UseTime
• WaitTime
• WaitingThreadCount
For the JCA Connection Pools PMI module, click JCA Connection Pools, select
the following metrics, and click Enable at the top of the table:
• AllocateCount
• FaultCount
• FreePoolSize
• PercentUsed
• UseTime
• WaitingThreadCount
• WaitTime
For the ORB PMI module, click ORB, select the following metrics, and click
Enable at the top of the table:
• ConcurrentRequestCount
• LookupTime
• ProcessingTime
• RequestCount
For the Servlet Session Manager PMI module, click Servlet Session Manager,
select the following metrics, and click Enable at the top of the table:
• ActiveCount
• ExternalReadTime
• ExternalWriteTime
• LiveCount
• SessionObjectSize
For the Thread Pools PMI module, click Thread Pools, select the following
metrics, and click Enable at the top of the table:
• ActiveCount
• CreateCount
• DestroyCount
• PercentMaxed
• PoolSize
For the Transaction Manager PMI module, click Transaction Manager, select
the following metrics, and click Enable at the top of the table:
• ActiveCount
• GlobalTimeoutCount
• GlobalTranTime
• LocalActiveCount
• LocalTimeoutCount
• LocalTranTime
For the Web Applications PMI module, click Web Applications, select the
following metrics, and click Enable at the top of the table:
• ConcurrentRequests
• ErrorCount
• LoadedServletCount
• ReloadCount
Click Save at the top of the window
9.      Enable SIBus related metrics in WAS
For Queues, click SIB Messaging Engines > <bus instance name> >
Destinations > Queues. Select the following metrics and click Enable at the
top of the table:
• AggregateMessageWaitTime
• AvailableMessageCount
• LocalMessageWaitTime
• LocalOldestMessageAge
• TotalMessagesConsumedCount
• TotalMessagesProducedCount
• UnavailableMessageCount
For Topicspaces, click SIB Messaging Engines > <bus instance name> >
Destinations > Topicspaces. Select the following metrics and click Enable at
the top of the table:
• AssuredPersistentMessagesPublishedCount
• IncompletePublicationCount
• LocalPublisherCount
• ReportEnabledPublicationExpiredCount
• TotalMessagesPublishedCount
For Mediations, click SIB Messaging Engines > <bus instance name> >
<application mediation name>. Select the following metrics and click
Enable at the top of the table:
• MediatedMessagesCount
• MediationTime
For Data Store, click SIB Messaging Engines > <bus instance name> >
Storage Management > Data Store. Select the following metric and click
Enable at the top of the table:
• JDBCOpenCount
For File Store, click SIB Messaging Engines > <bus instance name> >
Storage Management > File Store. Select the following metrics and click
Enable at the top of the table:
• FileStoreLogSpace
• FileStorePermanentObjectStoreSpace
• FileStoreTemporaryObjectStoreSpace
For Messaging Engines, click SIB Communications > Messaging Engines >
Standard Statistics. Select the following metrics and click Enable at the top
of the table:
• MessageBytesReadCount
• MessageBytesWrittenCount
• ReadsBlockedCount
• WritesBlockedCount
For WMQ Links, click SIB Communications > WMQ Links > Standard
Statistics. Select the following metrics and click Enable at the top of the
table:
• CommsErrorsCount
• LongRetriesCount
• MessagesReceivedCount
• MessagesSentCount
• QMAttachedCount
• ReadsBlockedCount
• WritesBlockedCount
is it possible , if we get the initial status and then we can set those values.
Q: Do you really think that 250 points accurately represents the time, effort, and expertise required to do this?!?

Q: Are you interested in using this script, or these scripts to query / verify / modify these PMI setting for 1 or more Application Servers using command line options, or input / output files, or some other technique?
Hi HonorGod,

I am looking for script (wsadmin) or shell script which can query / modify the PMI setting for more application servers.

I am not sure of the technique, we can use any of the technique.

Sorry for the 250 thing, have opened another question.

Thanks
Another question isn't the right way to do it.  Cancel / close that one, and just increase the points for this one.
ooops .. just noticed that , I can change points from here .. :) done,
ok, let's start with this -

Do you need to change the PMI settings for your Deployment Manager and Node agent virtual machines, or just the Application Server virtual machines?
btw, thanks for increasing the points. ;-)

You still haven't answered the question about how the values are to be changed.

Technique #1: Change the configuration settings
- These changes only take effect when the Application Server is next started

Technique #2: Change the active settings
- These changes take effect immediately, and are lost when the Application Server is stopped
thanks ,

I want to configure the PMI settings for nodeagent and application server.

I think , technique would be good. As, after making the changes, we will restart the application server, and setting will remain until we change it.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of HonorGod
HonorGod
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Thanks for the grade & points.

Good luck & have a great day.