Automate proxy osgi configurationin in AEM nodes | Community
Skip to main content
Level 2
May 6, 2020 4:18 PM UTC
Solved

Automate proxy osgi configurationin in AEM nodes

Hi,

 

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

 

 

Thanks

Sina

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
user05162Accepted solution
Employee
May 6, 2020 4:38 PM UTC

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-runmodes.html 

 

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

4 replies

Employee
May 6, 2020 7:19 PM UTC

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-runmodes.html#starting-cq-with-a-specific-run-mode

Translate
sina1819Author
Level 2
May 6, 2020 8:53 PM UTC

Thanks

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

Translate
user05162Accepted solution
Employee
May 6, 2020 4:38 PM UTC

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-runmodes.html 

 

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

Translate
sina1819Author
Level 2
May 6, 2020 5:59 PM UTC

Thanks for your feedback.

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

 

Thanks

Sina

Translate