How to Enable Dynamic Configuration Reload in Webserver
The configuration.properties file contains a variable called psserver, which is used to provide application server name and the jolt port number so that the web domain can connect with the application server. For a long time, any change to this variable needed restart of the PIA.
However, quite a few years back, Oracle introduced another variable in the same configuration.properties file, which when enabled did not require a restart of PIA. I did not come to know about it for several and was surprised to several other PeopleSoft consultants unaware of it. Hence, this post for awareness đ
How to Enable Dynamic Configuration Reload in Webserver
The property that enabled dynamic configuration reload is known as DynamicConfigReload.
To enable dynamic psserver reloading, set the property to 1. For example:
DynamicConfigReload=1
The DynamicConfigReload property enables the PIA domain to reload the psserver string (application server connect string) dynamically. That is, after modifying the psserver string to include new servers, replace existing servers, or remove existing servers from the string, you do not need to restart the PIA domain. With DynamicConfigReload enabled, the system automatically detects when the psserver string has been updated and ensures the PeopleSoft site maintains seamless connections with the application server domains listed in the psserver string.
To disable dynamic psserver reloading, set the property to 0. For example:
DynamicConfigReload=0
If dynamic psserver reloading is disabled, then you need to restart the PIA domain manually for it to recognize any changes made to the psserver string.
Tip:
Note this feasture is recommended for testing or debugging purposes only.
You can also set dynamic psserver reloading to occur on a set interval, measured in seconds. To enable this feature, the DynamicConfigReload property must be set to a value greater than or equal to 30.
For example, if DynamicConfigReload=30, then the system would reload the psserver string every 30 seconds.
If DynamicConfigReload=600, the system would reload the psserver every ten minutes, and so on.