SiteScope upgrade is Failing

  • KM03645967
  • 30-May-2020
  • 30-May-2020

Summary

SiteScope upgrade is Failing

Question

 the upgrade.bat script and it failed because in mid out of sudden windows server restarted.

Answer

Suggested Solution:

My suggestion (due to previous experience with upgrade from old version like this to the latest) is that uninstall SiteScope version 2019.11 following next steps and remove SiteScope packages from old version using MS Clean up tool.
Kindly let me share with you the steps:

Remember create a backup for the SiteScope folder, if you have DataBase monitors create a backup for .jar files and drives as well

Uninstall SiteScope version 2019.11:

1) Go to Services & STOP SiteScope service:

2) Go to Control Panel and Uninstall SiteScope:

3) Remove the following Registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Hewlett-Packard\SiteScope
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Hewlett-Packard (SystemHealth only 64-bit OS)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HP SiteScope

Notes: (https://support.microfocus.com/kb/kmdoc.php?id=KM1397836)
• Sometimes a reboot of the server is needed to apply registry changes.
• It might be needed to eliminate Environment variable %SITESCOPE_HOME%
• Some other random behaviors might appear in the next run of the “Install Anywhere†installer if last 2 registry keys are left, such not stopping installation progress due to “already installed†error, but continuing picking up last installation exact folder location.
• If the old service is left behind by a failing uninstallation and you proceed with re-installation the process with fail during post installation phase. Exit the installation process and delete old service as explained in step #4; then manually install the new service definition with the following command:


4) Removed temporarily files from %TEMP%
5) Download MS Clean up tool to remove “application trash from SiteScope installer†and remove just all the entries with the content “SiteScopeâ€
https://support.microfocus.com/kb/kmdoc.php?id=KM1397836?fileName=msicuu2.zip

6) Restart the server in order registry can take the new changes.

7) Try to re-install again.

8) If this fails again use the following:

Use the following information:
Servicepath: 
eg: C:\SiteScope
ServiceParam:
"-Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=28006 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -server -Xmx1024m -Xms512m -Xmn160m -Xrs -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:MaxPermSize=240m -XX:+HeapDumpOnOutOfMemoryError -showversion -Dcatalina.home="\Tomcat" -Djava.security.auth.login.config=file://///${catalina.home}/../conf/jaas.config -Dflipper.param.file=..\conf\flipperSiteScope.properties -Dtopaz.home=.. -Dnetworkaddress.cache.ttl=86400 -Dnetworkaddress.cache.negative.ttl=0 -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -DSiteScope=true -cp "\Tomcat\bin\bootstrap.jar" org.apache.catalina.startup.Bootstrap start"