NRAO Home  >  Green Bank  |  Wiki Topic:    GB > Knowledge > SwitchingMCVersions
   Readme | Changes | Index | Search | Go

Problem

How do I switch M&C software versions for the GBT?

General Method to Switch versions:

  1. As soon as the time for the tests has been scheduled, an email should be sent to gbtlocal, warning users and other developers that this change is occuring: GBT Software Testing is scheduled for date-time1 to date-time2.  For this period, the following programs will be available, but running test versions, and users may wish to refrain from using them.  The affected applications include:
  2. If this is a release, please email the release notes to gbtlocal AND update the main Software wiki page with links to the release notes (they go in the "Testing & Releases" table).
  3. Login as monctrl to a Linux machine (see exception notes above).
  4. Request that the operator add monctrl to the security gateway file with full permissions.
  5. source /home/gbt/gbt.bash
  6. cd /home/gbt
  7. Run ./switchVersions 6.1 (or the version number to which you want to switch)
  8. When you are asked if this looks sane:
  9. When you are asked "=Should I shut down the currently running system?="
  10. When all open processes are displayed for each machine (gbtdata, wind, fire etc):
  11. When asked if you want to change from current version to the version you specified, hit enter for yes
  12. When asked to remove message state cache, type: y
  13. When asked about the config directory type: y
  14. When asked to flush portmaps type: y
  15. When asked to update kernel drivers, hit enter for no
  16. When asked to start system type: y
  17. Verify that there are no start up failures
  18. Bring up the CLEO manager control, message and reset box displays
  19. When asked to run fixGoHang:
  20. When asked to restart the IFManager type: y
  21. When asked to restart the LO1 type: y
  22. When the sampler files are displayed (it's a LONG list), verify that all the samplers have files listed under them with timestamps that are approximately equal to the current time.
  23. The script that you have run has also switched the sparrow Sparrow version for you. Sometimes, the version of GBTIDL must be changed as well. However, this should only be done during a release. We can't switch GBTIDL versions during integration/regression tests as this would affect current users.. Contact BobGarwood or PaulMarganian to find out if this is necessary. The current system for switching GBTIDL versions is identical to that used by M&C and sparrow. It simply involves switching a symbolic link. As monctrl:

Version Specific Notes:

Switching from 5.7 to 6.1:

  1. The machines earth, wind and fire must be rebooted to run Redhat Enterprise 4 (RHE4)
  2. Prior to running switchversions, copy _installation.conf.6.1 to _installation.conf and manually shutdown TaskMaster on vortex, tank, and algol.
  3. switchversions must be run from a system running the RHE4 operating system.
  4. When asked to reset the spectrometer SBC, also swap the orange DCR cable from algol to tank (the one with the purple tag should be plugged into tank).
  5. If running 6.1, cleo screens may only be run from a system running RHE4, such as tank or ariel (to be resolved soon).
  6. The tipper is down, skip the reset tipper step.
  7. The inclinometer is down, ignore the inclinometer startup failure.

Switching from 6.1 to 5.7:

  1. The machines earth, wind and fire must be rebooted to run Redhat 9 (RH9)
  2. Prior to running switchversions, copy _installation.conf.5.7 to _installation.conf and manually shutdown TaskMaster on tank
  3. When asked to reset the spectrometer SBC, also swap the orange DCR cable from tank to algol (the one with the purple tag should be plugged into algol).
  4. The tipper is down, skip the reset tipper step.
  5. The inclinometer is down, ignore the inclinometer startup failure.

-- JoeBrandt - 09 Feb 2006

WebForm
TopicClassification: NoDisclosure
OperatingSystem: OsLinux, OsSolaris
OsVersion:

Topic SwitchingMCVersions . { Edit | Attach | Ref-By | Printable | Diffs | r1.43 | > | r1.42 | > | r1.41 | More }
Revision r1.43 - 09 May 2008 - 15:01 GMT - PaulMarganian Content copyright © 1999-2007 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors.