My second MS node somehow had set the apigee.mgmt.baseUrl with IP address, whereas I believe I had set it with FQDN.
I'd like the value to match my other installations, by changing:
apigee.mgmt.baseUrl="IP:8080/v1"
to
apigee.mgmt.baseUrl="FQDN:8080/v1"
How can I do this? Possible to do outside of adding apigee.mgmt.baseUrl to management-server.properties file?
What I believe the solution to be is remove management server component from node - reinstall with code with config.
Solved! Go to Solution.
The CWC is indeed the key to change this [and many other] setting(s).
The installation process has set up the value of apigee.mgmt.baseUrl in the
/opt/apigee/token/application/ui.properties
file as:
conf_apigee_apigee.mgmt.baseurl="http://<value-from-silent-conf-file>:8080/v1"
You do not need to remove the component. It is sufficient to edit silent config file and re-running install command.
You can also directly edit that file and restart UI.
You also can create
/opt/apigee/customer/application/ui.properties
file and add:
conf_apigee_apigee.mgmt.baseurl="http://FQDN:8080/v1"
line. Then restart UI. It will pick up the override.
As you're talking about second MS node, I presume you plan to set up a load balancer in front of your MS nodes.
Usage of /opt/apigee/customer/application/ui.properties file is the right way to reconfigure UI to connect to MSs via LBs for HA/DR.
For details, see: https://docs.apigee.com/private-cloud/v4.19.01/how-configure-edge
The CWC is indeed the key to change this [and many other] setting(s).
The installation process has set up the value of apigee.mgmt.baseUrl in the
/opt/apigee/token/application/ui.properties
file as:
conf_apigee_apigee.mgmt.baseurl="http://<value-from-silent-conf-file>:8080/v1"
You do not need to remove the component. It is sufficient to edit silent config file and re-running install command.
You can also directly edit that file and restart UI.
You also can create
/opt/apigee/customer/application/ui.properties
file and add:
conf_apigee_apigee.mgmt.baseurl="http://FQDN:8080/v1"
line. Then restart UI. It will pick up the override.
As you're talking about second MS node, I presume you plan to set up a load balancer in front of your MS nodes.
Usage of /opt/apigee/customer/application/ui.properties file is the right way to reconfigure UI to connect to MSs via LBs for HA/DR.
For details, see: https://docs.apigee.com/private-cloud/v4.19.01/how-configure-edge
I understand the best practice is to set/override configured values in /token/application with <component>.properties files at /customer/application/<component>.properties.
It is good to know, in certain instances, it is possible to change values within /token/application/ui.properties.
I wasn't sure how rerunning setup with updated cwc file would work (example: would it try to setup the cassandra and zookeeper clients again, etc.). Without knowing this, I believed updating the value of conf_apigee_apigee.mgmt.baseurl within token/application/ui.properties was the best solution.
Thank you, I updated the value to match my what I thought I had configured (what had existed in cwc), "http://FQDN:8080/v1", and apigee ui continues to work as expected.
I appreciate your time.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |