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.
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
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.
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.
Thank you Irfan that was we were going to do (Oemanager Stop and wait for restart). Is by the way oemanager gracefully stopping agent ?
In 11.7.2, yes. Before 11.7.2, no.