Start a conversation

Provisioning takes several minutes

Overview

After upgrading to version 11.x of Aurea Monitor you notice that provisioning takes several minutes compared to several seconds on 10.x.

 


Solution

This can happen if huge Export profiles are used with many Service Groups.

The config manager on the Aurea Monitor Intermediary (AI) side is recreated after each change. To avoid this, there is a parameter that can be used to tell the engine to wait x milliseconds after each change before dropping and recreating the configuration manager. If during this time a new change is made the timer is reset as well. 

This way many changes can be done in a batch without the recreation of the config manager. The new config will be live only after the given timeout expires.

This timeout can be set by adding the following JVM argument to the Additional JVM Options of the provisioned profile:

-Dcom.actional.config.RetainRuntime=30001
 
You can verify on the provisioned AI whether the setting was taken into account under /sst/admin/settings.jsp .
 
If it is not taken into account, then it means that it was already once changed on the local AI (in this case it is not taken from the JVM arguments).
The solution, in this case, is the following:
  1. Stop the AI you want to provision. Ensure it is really stopped (Launcher + AI).
  2. Delete the deploy and working folder of this AI (NOT the source AI)

    eg. on Linux this can be done like this:

    rm -Rf /aurea_test/profiles/CX_AI_profile02/working
    rm -Rf /aurea_test/profiles/CX_AI_profile02/deploy
  3. Edit the launcher profile on AMS and add this JVM argument:

    -Dcom.actional.config.RetainRuntime=30001
  4. Start the AI launcher

This will wipe the local AI config, but that shouldn't be a problem because it should be stateless anyway. The new config should be provisioned again from AMS (Aurea Monitor Management Server), this time the com.actional.config.RetainRuntime JVM option should be applied.

 

Back to the top

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments