ISISComputingGroup / IBEX

Top level repository for IBEX stories
5 stars 2 forks source link

DEPLOY: Release to instruments #5061

Closed John-Holt-Tessella closed 4 years ago

John-Holt-Tessella commented 4 years ago

Release latest version of IBEX to instruments below

Acceptance Criteria

Tom-Willemsen commented 4 years ago

ZOOM and IMAT have nagios alarms on disk space at the moment. It would be worth checking that these issues are resolved after deploying (it is likely to simply be large databases from last cycle).

ThomasLohnert commented 4 years ago

Full Deployments

ALF

CRISP

DETMON (impossible to do for now, DETMON cant access shares drive even with the credentials added)

EMMA

EMU (Deploy server 6.0.1 with client 6.0.0 and python 6.0.0)

ENGINX

ENGINX_SETUP

GEM

HRPD

IMAT

INES

IRIS (Before Tuesday)

IRIS_SETUP (Before Tuesday)

LARMOR

LET

LOQ

MAPS

MARI

MERLIN

MUONFE

NIMROD

OSIRIS

POLARIS

RIKENFE

SANDALS

SELAB (do not do before 11/02/2020, ask JN before doing)

SOFTMAT

TOSCA

ZOOM (Check they are done setting up sample stack)

Deploy Mini-Inst

INTER

MUSR

OFFSPEC

POLREF

SANS2D

SURF

SXD

Configure IE only

ARGUS

CHIPIR

CHRONUS

HIFI

PEARL

VESUVIO

WISH

ThomasLohnert commented 4 years ago

Issues encountered during running the upgrade script:

Deleting backups fails

The upgrade script often fails to remove some of the backup folders. The script will tell you this - just delete it manually, then continue with the script

In some instances, the script fails to delete the current EPICS folder after making a backup because ca.dll is still in use because for some reason caRepeater is still running after the script calls stop_ibex_server. In these cases, open task manager, stop caRepeater and delete EPICS.

MYSQL install fails

Sometimes, the script will fall over while updating to the latest version of mysql. It can then happen that when you retry the task, the script thinks it already is on the latest version and skips the upgrade step.

To work around this, you need to edit the install script and comment out the bit that skips the upgrade:

Java home not found

If you repeatedly get popups that java home has not been found, that means the remote desktop session has not picked up new environment variables after installing the latest java. Stopping the server (if running) and reconnecting with remote deskop should fix this issue.

IBEX Server does not automatically start

aaron-long commented 4 years ago

Instruments using LINMOT motor controllers require the hotfix [#5163].

Without the hotfix the controller will not correctly initiate and motor records will go into major alarm.

JamesKingWork commented 4 years ago

Any reason why the following haven't been updated? IRIS_SETUP, VESUVIO, RIKENFE, POLARIS, OSIRIS, INES, NIMROD, SURF, SXD, POLREF, SANS2D

Tom-Willemsen commented 4 years ago

Polaris, Ines, Nimrod and Osiris all look updated according to the version PV. How are you checking them?

c:\Instrument\Apps\tools>caget IN:POLARIS:CS:VERSION:SVN:REV IN:OSIRIS:CS:VERSION:SVN:REV IN:NIMROD:CS:VERSION:SVN:REV IN:INES:CS:VERSION:SVN:REV
IN:POLARIS:CS:VERSION:SVN:REV  6.0.0.465df1d
IN:OSIRIS:CS:VERSION:SVN:REV   6.0.0.465df1d
IN:NIMROD:CS:VERSION:SVN:REV   6.0.0.465df1d
IN:INES:CS:VERSION:SVN:REV     6.0.0.465df1d
JamesKingWork commented 4 years ago

Polaris, Ines, Nimrod and Osiris all look updated according to the version PV. How are you checking them?

c:\Instrument\Apps\tools>caget IN:POLARIS:CS:VERSION:SVN:REV IN:OSIRIS:CS:VERSION:SVN:REV IN:NIMROD:CS:VERSION:SVN:REV IN:INES:CS:VERSION:SVN:REV
IN:POLARIS:CS:VERSION:SVN:REV  6.0.0.465df1d
IN:OSIRIS:CS:VERSION:SVN:REV   6.0.0.465df1d
IN:NIMROD:CS:VERSION:SVN:REV   6.0.0.465df1d
IN:INES:CS:VERSION:SVN:REV     6.0.0.465df1d

I was just checking the instrument columns https://github.com/ISISComputingGroup/IBEX/wiki#instrument-information. I will update that info though

JamesKingWork commented 4 years ago

ZOOM and IMAT have nagios alarms on disk space at the moment. It would be worth checking that these issues are resolved after deploying (it is likely to simply be large databases from last cycle).

There are no longer Nagios warnings on disk space.

JamesKingWork commented 4 years ago

Any reason RIKENFE and SELAB haven't been deployed to

C:\Instrument\Apps\EPICS>caget IN:SELAB:CS:VERSION:SVN:REV IN:RIKENFE:CS:VERSION:SVN:REV
IN:SELAB:CS:VERSION:SVN:REV    5.5.0.1e45035
IN:RIKENFE:CS:VERSION:SVN:REV  5.5.0.1e45035
Tom-Willemsen commented 4 years ago

RIKENFE couldn't be deployed to as they were testing PLC code (which required use of IBEX) at the time when we wanted to deploy. SELAB I think was in use at deployent time - but it is not a "production" instrument so we may be able to update it now if we ask electronics group nicely