One of our application is architected to have n-1,n and n+1 environments of applications.
Today environment n is live but in future n+1 become live , the Load Balancer will be adjusted to send traffic to n+1 and there is no JVM restart while we switch .
We have agents mapped to system profile like:
After traffic switch we need the agent mapped like:
We could get this with JVM restart but that will delay a traffic switch. Any option to remap agents to another system profile without JVM restart?
It's sufficient to change the mapping rules in the agent groups and then restart the collectors to remap agents. However, note that existing instrumentation in the agents won't change when remapping like this, so if you have differing sensor rules in these profiles, they won't be effective till the next jvm restart (or potentially an HSP).
Measures etc. should update fine, though.
There was another discussion about this topic here: