Restore OpsCenter on different hostname

Hello,

 had issue and OpsCenter and support was not able to replicate issues so they asked for backup copy of database. But they were able to restore it but not able to connect it.

Login screen had this error message: Error occurred while connecting to the OpsCenter Server. Please ensure that the server is running. 

2019-09-23 19_00_58-CHBS Basel NEW - Royal TS.png

 

 

 

 

I found that you have to update variable string to current hostname. File name INSTALL_PATH\OpsCenter\server\config\security.conf

Any feedback is welcome

Filip Hasa

Example:

$ hostname
FQDN.some.where
$ type INSTALL_PATH\OpsCenter\server\config\security.conf
#Last Updated on
#Mon Oct 07 12:09:07 CEST 2019
vxss.initialized=true
vxss.authbrokerportnumber=-1
vxss.authbrokerHostname=FQDN.some.where
vxss.isEAT=true
vxss.installationType=1