Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Automate proxy osgi configurationin in AEM nodes

Avatar

Level 2

Hi,

 

Can anyone please advice how can we automate this proxy settings. Like sample parameter need to pass with curl command.

 

sina1819_1-1588781803526.png

 

Thanks

Sina

 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

I would recommend creating different proxy config files based on the run modes. This way, the Same content package can be installed to all AEM instances and still apply different proxy configs. Check [1] for more details.

 

Although it's not recommended to manage these critical configs via curl, if you still want to create a CURL command, you can look into creating one by following steps at [2]

 

[1] https://docs.adobe.com/content/help/en/experience-manager-64/deploying/configuring/configure-runmode... 

 

[2] https://docs.adobe.com/content/help/en/experience-manager-65/administering/operations/curl.html

View solution in original post

4 Replies

Avatar

Correct answer by
Employee Advisor

I would recommend creating different proxy config files based on the run modes. This way, the Same content package can be installed to all AEM instances and still apply different proxy configs. Check [1] for more details.

 

Although it's not recommended to manage these critical configs via curl, if you still want to create a CURL command, you can look into creating one by following steps at [2]

 

[1] https://docs.adobe.com/content/help/en/experience-manager-64/deploying/configuring/configure-runmode... 

 

[2] https://docs.adobe.com/content/help/en/experience-manager-65/administering/operations/curl.html

Avatar

Level 2

Thanks for your feedback.

Could you please elaborate little more about start with run mode.Example will be appricated.

 

Thanks

Sina

Avatar

Employee Advisor

When you start the AEM instance you can mention run modes. For example: Staging instance can be started in the stage run mode and configs under "config.stage" be applied to it.

You can read more about how to start AEM instance with various run modes at [1]

 

[1] https://docs.adobe.com/content/help/en/experience-manager-64/deploying/configuring/configure-runmode...

Avatar

Level 2

Thanks

We will check with our Dev team to deploy to AEM code and applied to it based on its RUN MODE.