You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

After changing the hostname of a system, you may not be able to access the up.time UI due to the hard-coded hostname configuration in the uptime.conf file.
To resolve this issue, ensure that the following parameters in the uptime.conf file are set to the resolvable hostname for the system:

dbHostname=<hostname>
httpContext=http://<hostname>:9999
uptime.conf:monitorHost=<hostname>

 

If using up.time 7.2 or later you may also notice that the Dashboard are now blank.

To resolve the blank Dashboards issue you will have to ensure the configuration above is done first then continue with the instructions below: 
Update - uptime/apache/conf/httpd.conf
Change all references from old hostname to new hostname
If your up.time deployment is running on a Linux server then you will be able to do a global substitution in vi, using the command:
 %s/oldhostname/newhostname/g
 
Update - uptime/controller/resources/uptime-controller.conf
Change all references from old hostname to new hostname
 
If using SSL then you will also need to rebuild the keystore
First remove the keystore which is located in uptime/controller/etc
Then generate another keystore file with the new hostname.  In the uptime/controller directory run 'sh ./generate-keystore.sh'

Lastly, you will have to restart the up.time service for the changes to take effect:
  • No labels