PASOE MS-Agent refresh

Posted by dvoyat on 08-Nov-2017 03:00

Hi,


Is there an existing way to refresh the PASOE MS-agent in a similar way as what the recent "asbman -refresh" does. I mean rather manually stopping/restarting all agent (or the full PAS instance) we trigger a refresh which will gracefully stop and restart all current agents.

A typical use case behind that request is openedge.properties changes (eg startup param or whatever impacting multi-session agent). Changes are dynamically taken into account without requiring PAS instance restart BUT they only applied to new started agent.... hence the refresh request.

Rgds

Denis

     

Posted by Irfan on 08-Nov-2017 07:05

Hi Denis,

As of now we do not have a refresh functionality in PASOE. But based on your use-case we can do this

If you are running 11.7.2 or earlier

Then stop the agent that you are running using oemanager/JMX API. Here is the doc for that

documentation.progress.com/.../index.html

When you get a next request it starts up a new agent and your properties should be picked up. If you would like, you can ping the appserver and see the new agent is started(for your HTTP request) and have picked up the updated properties.

From 11.7.2

We added a new property called as 'minAgents'. You can set this to '1' and then stop the agent using the same API. When the next requests comes up, it should have started the minimal agents and have picked up the updated properties.

All Replies

Posted by Irfan on 08-Nov-2017 07:05

Hi Denis,

As of now we do not have a refresh functionality in PASOE. But based on your use-case we can do this

If you are running 11.7.2 or earlier

Then stop the agent that you are running using oemanager/JMX API. Here is the doc for that

documentation.progress.com/.../index.html

When you get a next request it starts up a new agent and your properties should be picked up. If you would like, you can ping the appserver and see the new agent is started(for your HTTP request) and have picked up the updated properties.

From 11.7.2

We added a new property called as 'minAgents'. You can set this to '1' and then stop the agent using the same API. When the next requests comes up, it should have started the minimal agents and have picked up the updated properties.

Posted by dvoyat on 09-Nov-2017 07:40

Thank you Irfan that was we were going to do (Oemanager Stop and wait for restart). Is by the way oemanager gracefully stopping agent ?

Posted by Irfan on 09-Nov-2017 07:43

In 11.7.2, yes. Before 11.7.2, no.

This thread is closed