|
|
| Deleted: |
< < |
- The machines earth, wind and fire must be rebooted to run Redhat Enterprise 4 (RHE4)
- Log into each machine as root and do:
-
mount /dev/hda3 /mnt
-
cp /mnt/boot/grub/grub.conf.6.1 /mnt/boot/grub/grub.conf
-
sync;sync;reboot
-
logout
- Prior to running switchversions, copy _installation.conf.6.1 to _installation.conf and manually shutdown TaskMaster on vortex, tank, and algol.
-
for i in algol tank vortex; do TaskMaster $i systemstop; done
- switchversions must be run from a system running the RHE4 operating system.
- 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).
- If running 6.1, cleo screens may only be run from a system running RHE4, such as tank or ariel (to be resolved soon).
- The tipper is down, skip the reset tipper step.
- The inclinometer is down, ignore the inclinometer startup failure.
- The machines earth, wind and fire must be rebooted to run Redhat 9 (RH9)
- Log into each machine as root and do (Note the difference from above is correct!):
-
cp /boot/grub/grub.conf.5.7 /boot/grub/grub.conf
-
sync;sync;reboot
-
logout
- Prior to running switchversions, copy _installation.conf.5.7 to _installation.conf and manually shutdown TaskMaster on tank
-
TaskMaster tank systemstop
- 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).
- The tipper is down, skip the reset tipper step.
- The inclinometer is down, ignore the inclinometer startup failure.
|
| Added: |
> > |
- The machines earth, wind and fire must be rebooted to run Redhat Enterprise 4 (RHE4)
- Log into each machine as root and do:
-
mount /dev/hda3 /mnt
-
cp /mnt/boot/grub/grub.conf.6.1 /mnt/boot/grub/grub.conf
-
sync;sync;reboot
-
logout
- Prior to running switchversions, copy _installation.conf.6.1 to _installation.conf and manually shutdown TaskMaster on vortex, tank, and algol.
-
for i in algol tank vortex; do TaskMaster $i systemstop; done
- switchversions must be run from a system running the RHE4 operating system.
- 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).
- If running 6.1, cleo screens may only be run from a system running RHE4, such as tank or ariel (to be resolved soon).
- The tipper is down, skip the reset tipper step.
- The inclinometer is down, ignore the inclinometer startup failure.
- The machines earth, wind and fire must be rebooted to run Redhat 9 (RH9)
- Log into each machine as root and do (Note the difference from above is correct!):
-
cp /boot/grub/grub.conf.5.7 /boot/grub/grub.conf
-
sync;sync;reboot
-
logout
- Prior to running switchversions, copy _installation.conf.5.7 to _installation.conf and manually shutdown TaskMaster on tank
-
TaskMaster tank systemstop
- 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).
- The tipper is down, skip the reset tipper step.
- The inclinometer is down, ignore the inclinometer startup failure.
|
|
|
| Changed: |
< < |
- 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 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:"
- The GBT M&C System
- astrid
- gfm
- turtle
- gbtstatus
- sdfits
- logview
- gbt2class
- config tool
|
> > |
- 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:
-
the GBT M&C System
-
astrid
-
gfm
-
turtle
-
gbtstatus
-
sdfits
-
logview
-
gbt2class
-
config tool
|
| Changed: |
< < |
- Log in as
monctrl to a Linux machine (see exception notes above)
|
> > |
- Login as
monctrl to a Linux machine (see exception notes above).
- Request that the operator add
monctrl to the security gateway file with full permissions.
|
| Changed: |
< < |
- cd to
/home/gbt
- run
./switchVersions 6.1 (or the version number you want to switch to)
|
> > |
-
cd /home/gbt
- Run
./switchVersions 6.1 (or the version number to which you want to switch)
|
| Changed: |
< < |
-
- verify that the new version listed is 6.1 (or the desired version) then hit the enter key.
- When you are asked "Should I shut down the currently running system?"
|
> > |
-
- Verify that the new version listed is 6.1 (or the desired version) then hit
enter.
- When you are asked "=Should I shut down the currently running system?="
|
| Changed: |
< < |
-
- Verify that there are no rogue processes. There should be no python, MMConverter or TaskMaster processes in the lists
- If there any of these processes exist, note the PID and the machine that it is running on.
- Kill the rogue processes using the following commands:
- login to the machine where the process is running by typing:
- ssh theMachineName
- su monctrl
- source /home/gbt/gbt.bash
- kill -9 PID (where the PID is the process Id noted above)
- type:
n
- Verify that there are no rogue processes
- When asked if you want to change from current version to the version you selected, hit return for yes
|
> > |
-
- Verify that there are no rogue processes. There should be no Python, MMConverter or TaskMaster processes in the lists. If there are none, type:
y
- If any of these processes are listed, type:
n to the rogue processes query, and manually kill each one:
- Note the process ID (PID) and the machine on which each rogue process is running.
- Open another shell window, and kill each rogue processes using the following commands:
- Login to the machine where the process is running by typing:
-
ssh <theMachineName> (where <theMachineName> is the machine noted above)
-
su monctrl
-
source /home/gbt/gbt.bash
-
kill -9 <PID> (where <PID> is the process ID noted above)
- When there are no more rogue processes, type:
y at the rogue processes query
- When asked if you want to change from current version to the version you specified, hit
enter for yes
|
| Added: |
> > |
- When asked to update kernel drivers, hit
enter for no
|
| Changed: |
< < |
-
- If there are failures restart these tasks
|
> > |
-
- If there are failures, manually restart these tasks (except IFManager; that's handled in later part of script):
- Login to the machine hosting a failed-to-start task by typing:
-
ssh <theMachineName> (where <theMachineName> is the machine on which the failed process is hosted - check /home/gbt/etc/config/system.conf)
-
su monctrl
- Restart the failed task by typing:
-
source /home/gbt/gbt.bash
-
tm status to list hosted processes; take note of the process number for the failed process
-
tm start , where is the process number noted in last step
- Once all failed-to-restart processes are manually restarted, type:
y
|
| Changed: |
< < |
-
- Using the Reset box, reset the managers listed in by the script
|
> > |
-
- Using the Reset box, reset the managers listed by the script
|
| Changed: |
< < |
-
-
- from a Linux window type:
telnet gbtipper
- login in as monctrl (use the old monctrl password)
|
> > |
-
-
- From a Linux window type:
telnet gbtipper
- Login in as monctrl (use the old monctrl password)
|
| Changed: |
< < |
-
- Manually restart the Spectrometer singleboard in the equipment room by pressing the reset button on the Spectrometer single board.
- When the sampler files are displayed (Its a LONG list), verify that all the samplers have files listed under them that are approximately equal to the current time.
|
> > |
-
- Manually restart the Spectrometer singleboard in the equipment room by pressing the red reset button on the Spectrometer single board.
- 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.
|
| Changed: |
< < |
-
- Be sure monctrl has antenna and other device security priviledges
|
> > |
-
- Be sure
monctrl has antenna and other device security privileges
|
|
|
| Changed: |
< < |
|
> > |
- The machines earth, wind and fire must be rebooted to run Redhat Enterprise 4 (RHE4)
- Log into each machine as root and do:
-
mount /dev/hda3 /mnt
-
cp /mnt/boot/grub/grub.conf.6.1 /mnt/boot/grub/grub.conf
-
sync;sync;reboot
-
logout
- Prior to running switchversions, copy _installation.conf.6.1 to _installation.conf and manually shutdown TaskMaster on vortex, tank, and algol.
-
for i in algol tank vortex; do TaskMaster $i systemstop; done
- switchversions must be run from a system running the RHE4 operating system.
- 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).
- If running 6.1, cleo screens may only be run from a system running RHE4, such as tank or ariel (to be resolved soon).
- The tipper is down, skip the reset tipper step.
- The inclinometer is down, ignore the inclinometer startup failure.
- The machines earth, wind and fire must be rebooted to run Redhat 9 (RH9)
- Log into each machine as root and do (Note the difference from above is correct!):
-
cp /boot/grub/grub.conf.5.7 /boot/grub/grub.conf
-
sync;sync;reboot
-
logout
- Prior to running switchversions, copy _installation.conf.5.7 to _installation.conf and manually shutdown TaskMaster on tank
-
TaskMaster tank systemstop
- 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).
- The tipper is down, skip the reset tipper step.
- The inclinometer is down, ignore the inclinometer startup failure.
|
| Changed: |
< < |
- Log in as
monctrl to any Linux machine
|
> > |
- Log in as
monctrl to a Linux machine (see exception notes above)
|
| Changed: |
< < |
- run
./switchVersions 5.4 (or the version number you want to switch to)
|
> > |
- run
./switchVersions 6.1 (or the version number you want to switch to)
|
| Changed: |
< < |
-
- verify that the new version listed is 5.4 (or the desired version) then hit the enter key.
|
> > |
-
- verify that the new version listed is 6.1 (or the desired version) then hit the enter key.
|
| Changed: |
< < |
-
for 5.4: Confirm the orange cable is connected to the front of the Dcr chassis. Follow the switchover procedure if it is not.
- When all open processes are displayed for each machine (vortex, wind, fire etc):
|
> > |
- When all open processes are displayed for each machine (gbtdata, wind, fire etc):
|
| Deleted: |
< < |
-
- Manuully restart gbweather because the reset box does not work
|
| Changed: |
< < |
-
- Exceptions for 5.4 are:
- RcvrPF_2 (all samplers)
- MotorRack-RefridgeratorPowerSupply5-refridge
- Rcvr40_52-Rcvr40_52-gregorian
|
> > |
-
- Exceptions for 6.1 are:
- PF2 samplers when PF1 is installed, and vice versa
|
| Added: |
> > |
|
| Changed: |
< < |
- When asked to verify that glish.d is running type:
n
- When asked to restart the IFManager type:
n
|
> > |
- When asked to restart the IFManager type:
y
|
| Changed: |
< < |
Use the directions above for switching back to 5.4. Except, replace steps 4, 9,and 11 with these steps:
- Step 4
./switchVersions 5.3
- Step 7. Reverse the procedure specificed in this step.
- Step 10. You will also be asked this question for sparrow, type
y
- Step 12. Say yes to the files:
system.conf.5.3
Say 'NO' to all other 5.3 files.
- Log in as
monctrl to any Linux machine
-
source /home/gbt/gbt.bash
- cd to
/home/gbt
-
./switchVersions version-to-switch-to
- When you are asked "Should I shut down the currently running system?" hit return, for yes
- When all open processes are displayed, make sure that there are no "real" processes active (like python)
- When asked if you want to change from current version to the version you selected, hit return for yes
- You will also be asked this question for sparrow, say yes
- When asked to remove message state cache, say yes
- There will be a whole bunch of things to check manually, but the script should tell you what to do
- Be sure to restart gbweather manually, since the reset box does not work
- If you are switching from M&Cv4.5 to M&Cv4.6, be sure to Recable the receivers
- Confirm current running version with the command gbtversion.
$ gbtversion
Current version of software running on the GBT is 4.2
$
- Close all user programs (GO and cleo).
- As monctrl, stop the Solaris daemons.
$ su - monctrl
Password:
$ source /home/gbt/gbt.bash
$ cd /home/gbt
$ ./ygor_system stop
- Confirm all daemons exited:
$ for h in earth wind fire vortex gemini virgo naiad
> do
> echo $h
> ssh $h ps -u monctrl
> echo ""
> done | more
- Confirm the targeted version exists.
$ ls /home/gbtversions
3.19 4.2 4.3
$
- As monctrl change the current running version of M&C, e.g.,.
$ cd /home/gbt
$ ./setVersion 4.3
lrwxrwxrwx 1 monctrl monctrl 27 Jul 26 10:36 bin -> /home/gbtversions/4.3/bin
lrwxrwxrwx 1 monctrl monctrl 28 Jul 26 10:36 exec -> /home/gbtversions/4.3/exec
lrwxrwxrwx 1 monctrl monctrl 29 Jul 26 10:36 glish -> /home/gbtversions/4.3/glish
lrwxrwxrwx 1 monctrl monctrl 27 Jul 26 10:36 lib -> /home/gbtversions/4.3/lib
lrwxrwxrwx 1 monctrl monctrl 27 Jul 26 10:36 tcl -> /home/gbtversions/4.3/tcl
$
- As monctrl change the current running version of Sparrow, e.g.,
$ cd /home/sparrow
$ rm -f release
$ ln -s 4.3 release
- Confirm current running version with the command gbtversion.
$ gbtversion
Current version of software running on the GBT is 4.3
$
- If you care to start out fresh, i.e., without carrying over cleo messages from the last version, then as monctrl remove the message cache file.
$ rm /home/gbtlogs/Messages/vortex.stateCache
You can also clean out all the log and core files too. These are located in /home/gbt/etc/log and /home/gbt/etc/cores respectively.
- If there are config files to change, this is when to do it. Check in /home/gbt/etc/config for files with the appropriate version number appended to the name. For each file there must be two versions: one appended with the new version identifier and one appended with the current version identifier, e.g., windProc.conf.4.6 and windProc.conf.4.7, so either can be copied to windProc.conf.
- As monctrl, start the daemons.
$ cd /home/gbt
$ ./ygor_system start
- Check if all daemons initiated:
$ cd /home/gbt
$ ./ygor_system amy
- Through cleo restart the single-board computers (SBC). From the CleoLauncher select Launch » Utilities / Tools » Reset Box .... In the Reset Box window press gbtas0, gbtaio2, gbtdcr, gbtspsbc, gbweather and sitetime.
- Telnet to
gbtipper and type MCReset() at the VxWorks prompt. Then ctrl-] and "quit".
- Bring up cleo's Messages window and wait for all the programs to get reconnected. One can follow the restart better if the Messages window is configured such that Auto Remove is off, New Messages are Placed at the Top, Info messages are filtered out, and Removed Cleared is pressed fairly often. Press Refresh after setting the window up as you desire. Also one can bring up the Manager Control window to ensure all Manager come up healthy. Be patient. After the restart is completed, it is best to quit the Manager Control window.
- If there is a new device which may affect the IFManager parameter set (e.g. a new receiver) then do this on vortex:
TaskMaster vortex stop 4
TaskMaster vortex start 4
- Possible problems include that some daemons or SBCs need to be restarted individually because of the "strain" of everything trying to boot simultaneously, and the config files in
/home/gbt/etc/config may not be compatible across versions. Individual daemons may be stopped and started via TaskMaster.
- Do a "Reset Parameters" on the IF Rack and turn the LO1 off, then back on.
- One must check if logging is active after a startup (/home/gbtlogs). Though a sampler2log may be up and running according to TaskMaster, it may have lost it connection to the Transporter and therefore not updating the log files. Check if the logs are updating and if not, restart the logging associated daemon.
ls -lrt /home/gbtlogs/Spectrometer-Spectrometer-duty_cycles/
(long list ...)
-rw-rw-r-- 1 monctrl monctrl 201600 May 18 07:00 2004_05_18_01:03:17.fits
^
|
(verify this time is updating------+ )
- On any machine, run the following (make sure you have permission to all devices):
$ glish -l fixGoHang.g
- Optional: Normally the glishd daemon running on victor does not have to be restarted. However...
- To see if glishd is running on victor, ssh to victor and:
sudo /sbin/run-glishd status
- To stop glishd on victor, ssh to victor and:
sudo /sbin/run-glishd stop
- To start glishd on victor, ssh to victor and:
sudo /sbin/run-glishd start
- Update the M&C version number on the GBT Operations white board located in the GBT Control Room.
-- MarkClark - 12 Nov 2004
|
> > |
-- JoeBrandt - 09 Feb 2006 |
|
|
| Changed: |
< < |
|
> > |
|
| Changed: |
< < |
-
./switchVersions 4.8
|
> > |
- run
./switchVersions 5.4 (or the version number you want to switch to)
|
| Changed: |
< < |
-
- verify that the new version listed is 4.8 then hit the enter key.
|
> > |
-
- verify that the new version listed is 5.4 (or the desired version) then hit the enter key.
|
| Added: |
> > |
-
for 5.4: Confirm the orange cable is connected to the front of the Dcr chassis. Follow the switchover procedure if it is not.
|
| Deleted: |
< < |
-
- The following files will be changed:
- AntennaCharacterization.conf
- Inclinometer.conf
- system.conf
- fireProc,conf
- windProc.conf
- vortexProc.conf.
When switching the version back to 4.7, these 6 files are the only files that should be switched back to version 4.7. Say 'NO' to all other files.
|
| Changed: |
< < |
-
- Exceptions for 4.8 are:
- RcvrPF_2/RcvrPF_2/powerSuppy
- RcvrPF_2/RcvrPF_2/cryogenics
- MotorRack/RefridgeratorPowerSupply5/refridge
|
> > |
-
- Exceptions for 5.4 are:
- MotorRack-RefridgeratorPowerSupply5-refridge
- Rcvr40_52-Rcvr40_52-gregorian
|
| Changed: |
< < |
Use the directions above for switching back to 4.7. Except, replace steps 4, 9,and 11 with these steps:
- Step 4
./switchVersions 4.7
- Step 9. You will also be asked this question for sparrow, type
y
- Step 11. Say yes to the files:
AntennaCharacterization.conf.4.7
Inclinometer.conf.4.7
system.conf.4.7
fireProc,conf.4.7
windProc.conf.4.7
vortexProc.conf.4.7
Say 'NO' to all other 4.7 files.
|
> > |
Use the directions above for switching back to 5.4. Except, replace steps 4, 9,and 11 with these steps:
- Step 4
./switchVersions 5.3
- Step 7. Reverse the procedure specificed in this step.
- Step 10. You will also be asked this question for sparrow, type
y
- Step 12. Say yes to the files:
system.conf.5.3
Say 'NO' to all other 5.3 files.
|
|
|
| Changed: |
< < |
|
> > |
|
| Changed: |
< < |
ssh theMachineName
su monctrl
source /home/gbt/gbt.bash
kill -9 PID (where the PID is the process Id noted above)
|
> > |
-
-
-
-
-
- ssh theMachineName
- su monctrl
- source /home/gbt/gbt.bash
- kill -9 PID (where the PID is the process Id noted above)
|
| Changed: |
< < |
-
- The following files will be changed: AntennaCharacterization.conf, Inclinometer.conf, system.conf,
fireProc,conf, windProc.conf and vortexProc.conf.
|
> > |
-
- The following files will be changed:
- AntennaCharacterization.conf
- Inclinometer.conf
- system.conf
- fireProc,conf
- windProc.conf
- vortexProc.conf.
|
| Changed: |
< < |
-
- type
-
|
> > |
|
| Changed: |
< < |
|
> > |
|
| Changed: |
< < |
|
> > |
|
|
|
| Deleted: |
< < |
|
| Changed: |
< < |
|
> > |
-
-
-
- type:
n
- Verify that there are no rogue processes
|
| Changed: |
< < |
- You will also be asked this question for sparrow, say yes
- When asked to remove message state cache, say yes
- There will be a whole bunch of things to check manually, but the script should tell you what to do
- Be sure to restart gbweather manually, since the reset box does not work
|
> > |
- You will also be asked this question for sparrow, type
n
- Change the sparrow version to integration:
- login in to a Linux box as monctrl
- type:
source /home/gbt/gbt.bash
- type:
cd /home/gbt
- type:
rm sparrow
- type:
ln -s /home/sparrow/integration sparrow
- type:
cd /home/sparrow
- type:
rm release
- type:
ln -s /home/sparrow/integration release
- When asked to remove message state cache, type:
y
- When asked about the config directory type:
y
- The following files will be changed: AntennaCharacterization.conf, Inclinometer.conf, system.conf,
fireProc,conf, windProc.conf and vortexProc.conf.
When switching the version back to 4.7, these 6 files are the only files that should be switched back to version 4.7. Say 'NO' to all other files.
- When asked to flush portmaps type:
y
- When asked to start system type:
y
- Verify that there are no start up failures
* If there are failures restart these tasks
- type
-
- Bring up the CLEO manager control, message and reset box displays
- Verify that all the managers are up
- Using the Reset box, reset the managers listed in by the script
- Reset the tipper by using the following commands:
- from a Linux window type:
telnet gbtipper
- login in as monctrl (use the old monctrl password)
- type:
=MCReset
NOTE: nothing happens, you will not be able to type in any other commands while the single board computer is rebooting. This is normal. The telnet session will eventaully time out.
- Manually restart the Spectrometer singleboard in the equipment room by pressing the reset button on the Spectrometer single board.
- Manuully restart gbweather because the reset box does not work
- When the sampler files are displayed (Its a LONG list), verify that all the samplers have files listed under them that are approximately equal to the current time.
- Exceptions for 4.8 are:
- RcvrPF_2/RcvrPF_2/powerSuppy
- RcvrPF_2/RcvrPF_2/cryogenics
- MotorRack/RefridgeratorPowerSupply5/refridge
- Tipper
- type:
n if all other samplers are producing files.
- When asked to run fixGoHang:
- Be sure monctrl has antenna and other device security priviledges
- type:
y
- When asked to verify that glish.d is running type:
n
- When asked to restart the IFManager type:
n
- When asked to restart the LO1 type:
y
Use the directions above for switching back to 4.7. Except, replace steps 4, 9,and 11 with these steps:
- Step 4
./switchVersions 4.7
- Step 9. You will also be asked this question for sparrow, type
y
- Step 11. Say yes to the files:
AntennaCharacterization.conf.4.7
Inclinometer.conf.4.7
system.conf.4.7
fireProc,conf.4.7
windProc.conf.4.7
vortexProc.conf.4.7
Say 'NO' to all other 4.7 files.
|
|
|
| Changed: |
< < |
-
(8/4/04) - If you are switching from M&Cv4.4 to M&Cv4.5, be sure to Recable the SSS
-
(9/18/04) - If you are switching from M&Cv4.5 to M&Cv4.6, be sure to Recable the receivers
|
> > |
- If you are switching from M&Cv4.5 to M&Cv4.6, be sure to Recable the receivers
|
| Added: |
> > |
- Confirm all daemons exited:
$ for h in earth wind fire vortex gemini virgo naiad
> do
> echo $h
> ssh $h ps -u monctrl
> echo ""
> done | more
|
| Changed: |
< < |
- As monctrl change the current running version of M&C.
|
> > |
- As monctrl change the current running version of M&C, e.g.,.
|
| Changed: |
< < |
- As monctrl change the current running version of Sparrow.
|
> > |
- As monctrl change the current running version of Sparrow, e.g.,
|
| Changed: |
< < |
- If there are config files to change, this is when to do it. Check in /home/gbt/etc/config for files with the appropriate version number appended to the name.
-
(9/18/04) - If you are switching from M&Cv4.5 to M&Cv4.6, be sure to copy the following files (check to see if you need to save the 4.5 versions before copying)
fireProc.conf.4.6 to fireProc.conf,
system.conf.4.6 to system.conf,
devices.conf.4.6 to devices.conf,
SIBMap.conf.4.6 SIBMap.conf
/home/gbt/ygor_system.4.6 to /home/gbt/ygor_system
/home/gbt/etc/startup/gbtaio3.startup.4.6 to /home/gbt/etc/startup/gbtaio3.startup
-
(10/8/04) - If you are switching from M&Cv4.6 to M&Cv4.7, be sure to copy the following files (check to see if you need to save the 4.6 versions before copying)
fireProc.conf.4.7 to fireProc.conf
|
> > |
- If there are config files to change, this is when to do it. Check in /home/gbt/etc/config for files with the appropriate version number appended to the name. For each file there must be two versions: one appended with the new version identifier and one appended with the current version identifier, e.g., windProc.conf.4.6 and windProc.conf.4.7, so either can be copied to windProc.conf.
|
| Changed: |
< < |
- Through cleo restart the single-board computers (SBC). From the CleoLauncher select Launch » Utilities / Tools » Reset Box .... In the Reset Box window press gbtaio2, gbteio1, gbtdcr, gbtspsbc, gbtas0, gbweather and sitetime.
|
> > |
- Check if all daemons initiated:
$ cd /home/gbt
$ ./ygor_system amy
- Through cleo restart the single-board computers (SBC). From the CleoLauncher select Launch » Utilities / Tools » Reset Box .... In the Reset Box window press gbtas0, gbtaio2, gbtdcr, gbtspsbc, gbweather and sitetime.
|
| Changed: |
< < |
- Possible problems include that some daemons or SBCs need to be restarted individually because of the "strain" of everything trying to boot simultaneously, and the config files in
/home/gbt/etc/config may not be compatible across versions. Individual daemons may be stopped and started via TaskMaster, e.g., on gemini:
$ TaskMaster gemini status
Number pid last action Name Args
1 4176 Start SpStorage
2 4177 Start SpectralProcessorA
3 4178 Start SpectralProcessorB
4 4179 Start SpectralProcessor
$ TaskMaster gemini stop 1
$ TaskMaster gemini status
Number pid last action Name Args
1 4176 Stop SpStorage
2 4177 Start SpectralProcessorA
3 4178 Start SpectralProcessorB
4 4179 Start SpectralProcessor
$ TaskMaster gemini start 1
$ TaskMaster gemini status
Number pid last action Name Args
1 4252 Start SpStorage
2 4177 Start SpectralProcessorA
3 4178 Start SpectralProcessorB
4 4179 Start SpectralProcessor
$
|
> > |
- Possible problems include that some daemons or SBCs need to be restarted individually because of the "strain" of everything trying to boot simultaneously, and the config files in
/home/gbt/etc/config may not be compatible across versions. Individual daemons may be stopped and started via TaskMaster.
|
| Changed: |
< < |
-- MarkClark - 22 Sep 2003
|
> > |
-- MarkClark - 11 Nov 2004 |
|
|
| Changed: |
< < |
Current version of software running on the GBT is 3.3.0
|
> > |
Current version of software running on the GBT is 4.2
|
| Deleted: |
< < |
and the Spectrometer
$ ssh earth
$ TaskMaster earth systemstop
$ exit
|
| Changed: |
< < |
3.2.3 3.3.0 3.3.1 fits
|
> > |
3.19 4.2 4.3
|
| Changed: |
< < |
$ ./setVersion 3.3.1
lrwxrwxrwx 1 monctrl monctrl 27 Jul 26 10:36 bin -> /home/gbtversions/3.3.1/bin
lrwxrwxrwx 1 monctrl monctrl 28 Jul 26 10:36 exec -> /home/gbtversions/3.3.1/exec
lrwxrwxrwx 1 monctrl monctrl 29 Jul 26 10:36 glish -> /home/gbtversions/3.3.1/glish
lrwxrwxrwx 1 monctrl monctrl 27 Jul 26 10:36 lib -> /home/gbtversions/3.3.1/lib
lrwxrwxrwx 1 monctrl monctrl 27 Jul 26 10:36 tcl -> /home/gbtversions/3.3.1/tcl
|
> > |
$ ./setVersion 4.3
lrwxrwxrwx 1 monctrl monctrl 27 Jul 26 10:36 bin -> /home/gbtversions/4.3/bin
lrwxrwxrwx 1 monctrl monctrl 28 Jul 26 10:36 exec -> /home/gbtversions/4.3/exec
lrwxrwxrwx 1 monctrl monctrl 29 Jul 26 10:36 glish -> /home/gbtversions/4.3/glish
lrwxrwxrwx 1 monctrl monctrl 27 Jul 26 10:36 lib -> /home/gbtversions/4.3/lib
lrwxrwxrwx 1 monctrl monctrl 27 Jul 26 10:36 tcl -> /home/gbtversions/4.3/tcl
|
| Changed: |
< < |
$ rm release
$ ln -s 3.3.1 release
|
> > |
$ rm -f release
$ ln -s 4.3 release
|
| Changed: |
< < |
Current version of software running on the GBT is 3.3.1
|
> > |
Current version of software running on the GBT is 4.3
|
| Deleted: |
< < |
and the Spectrometer
$ ssh earth
$ TaskMaster earth systemstart /home/gbt/etc/config/earthProc.conf
$ exit
|
| Changed: |
< < |
- If there is a new device (e.g. receiver) then do this on vortex:
|
> > |
- If there is a new device which may affect the IFManager parameter set (e.g. a new receiver) then do this on vortex:
|
| Added: |
> > |
ls -lrt /home/gbtlogs/Spectrometer-Spectrometer-duty_cycles/
(long list ...)
-rw-rw-r-- 1 monctrl monctrl 201600 May 18 07:00 2004_05_18_01:03:17.fits
^
|
(verify this time is updating------+ )
|
|
|
| Changed: |
< < |
1. Confirm current running version with the command gbtversion.
|
> > |
- Confirm current running version with the command gbtversion.
|
| Changed: |
< < |
2. Close all user programs (GO and cleo).
3. As monctrl, stop the Solaris daemons.
|
> > |
- Close all user programs (GO and cleo).
- As monctrl, stop the Solaris daemons.
|
| Changed: |
< < |
4. Confirm the targeted version exists.
|
> > |
- Confirm the targeted version exists.
|
| Changed: |
< < |
5. As monctrl change the current running version.
|
> > |
- As monctrl change the current running version.
|
| Changed: |
< < |
6. Confirm current running version with the command gbtversion.
|
> > |
- Confirm current running version with the command gbtversion.
|
| Changed: |
< < |
7. If you care to start out fresh, i.e., without carrying over cleo messages from the last version, then as monctrl remove the message cache file.
|
> > |
- If you care to start out fresh, i.e., without carrying over cleo messages from the last version, then as monctrl remove the message cache file.
|
| Deleted: |
< < |
|
| Changed: |
< < |
8. As monctrl, start the Solaris daemons.
|
> > |
- As monctrl, start the Solaris daemons.
|
| Changed: |
< < |
9. Through cleo restart the single-board computers (SBC). From the CleoLauncher select Launch » Utilities / Tools » Reset Box .... In the Reset Box window press gbtaio2, gbteio1, gbtdcr, gbtspsbc, gbtas0, and sitetime.
10. Bring up cleo's Messages window and wait for all the programs to get reconnected. One can follow the restart better if the Messages window is configured such that Auto Remove is off, New Messages are Placed at the Top, Info messages are filtered out, and Removed Cleared is pressed fairly often. Press Refresh after setting the window up as you desire. Also one can bring up the Manager Control window to ensure all Manager come up healthy. Be patient. After the restart is completed, it is best to quit the Manager Control window.
11. Possible problems include that some daemons or SBCs need to be restarted individually because of the "strain" of everything trying to boot simultaneously, and the config files in /home/gbt/etc/config may not be compatible across versions.
Individual daemons may be stopped and started via TaskMaster, e.g., on gemini:
|
> > |
- Through cleo restart the single-board computers (SBC). From the CleoLauncher select Launch » Utilities / Tools » Reset Box .... In the Reset Box window press gbtaio2, gbteio1, gbtdcr, gbtspsbc, gbtas0, and sitetime.
- Bring up cleo's Messages window and wait for all the programs to get reconnected. One can follow the restart better if the Messages window is configured such that Auto Remove is off, New Messages are Placed at the Top, Info messages are filtered out, and Removed Cleared is pressed fairly often. Press Refresh after setting the window up as you desire. Also one can bring up the Manager Control window to ensure all Manager come up healthy. Be patient. After the restart is completed, it is best to quit the Manager Control window.
- Possible problems include that some daemons or SBCs need to be restarted individually because of the "strain" of everything trying to boot simultaneously, and the config files in
/home/gbt/etc/config may not be compatible across versions. Individual daemons may be stopped and started via TaskMaster, e.g., on gemini:
|
| Changed: |
< < |
12. Through CLEO restart the single-board computer (SBC) gbtaio1 again. This is a workaround for a bug in the IFRack (see project office #864).
13. On any machine, run the following (make sure you have permission to all devices):
|
> > |
- Through CLEO restart the single-board computer (SBC) gbtaio1 again. This is a workaround for a bug in the IFRack (see project office #864).
- One must check if logging is active after a startup. Though a sampler2log may be up and running according to TaskMaster, it may have lost it connection to the Transporter and therefore not updating the log files. Check if the logs are updating and if not, restart the logging associated daemon.
- On any machine, run the following (make sure you have permission to all devices):
|
| Changed: |
< < |
14. Normally the glishd daemon running on victor does not have to be restarted. However...
|
> > |
- Normally the glishd daemon running on victor does not have to be restarted. However...
|
| Added: |
> > |
- Update the M&C version number on the GBT Operations white board located in the GBT Control Room.
|
| Changed: |
< < |
15. Update the M&C version number on the GBT Operations white board located in the GBT Control Room.
-- AmyShelton - 20 Aug 2003
|
> > |
-- MarkClark - 22 Sep 2003 |
|
|
| Added: |
> > |
%META:TOPICINFO{author="AmyShelton" date="1059597480" format="1.0" version="1.1"}%
How do I switch M&C software versions for the GBT?
1. Confirm current running version with the command gbtversion.
$ gbtversion
Current version of software running on the GBT is 3.3.0
$
2. Close all user programs (GO and cleo).
3. As monctrl, stop the Solaris daemons.
$ su monctrl
Password:
$ cd /home/gbt
$ ./ygor_system stop
and the Spectrometer
$ ssh earth
$ TaskMaster earth systemstop
$ exit
4. Confirm the targeted version exists.
$ ls /home/gbtversions
3.2.3 3.3.0 3.3.1 fits
$
5. As monctrl change the current running version.
$ cd /home/gbt
$ ./setVersion 3.3.1
lrwxrwxrwx 1 monctrl monctrl 27 Jul 26 10:36 bin -> /home/gbtversions/3.3.1/bin
lrwxrwxrwx 1 monctrl monctrl 28 Jul 26 10:36 exec -> /home/gbtversions/3.3.1/exec
lrwxrwxrwx 1 monctrl monctrl 29 Jul 26 10:36 glish -> /home/gbtversions/3.3.1/glish
lrwxrwxrwx 1 monctrl monctrl 27 Jul 26 10:36 lib -> /home/gbtversions/3.3.1/lib
lrwxrwxrwx 1 monctrl monctrl 27 Jul 26 10:36 tcl -> /home/gbtversions/3.3.1/tcl
$
6. Confirm current running version with the command gbtversion.
$ gbtversion
Current version of software running on the GBT is 3.3.1
$
7. If you care to start out fresh, i.e., without carrying over cleo messages from the last version, then as monctrl remove the message cache file.
$ rm /home/gbtlogs/Messages/vortex.stateCache
You can also clean out all the log and core files too. These are located in /home/gbt/etc/log and /home/gbt/etc/cores respectively.
8. As monctrl, start the Solaris daemons.
$ cd /home/gbt
$ ./ygor_system start
and the Spectrometer
$ ssh earth
$ TaskMaster earth systemstart /home/gbt/etc/config/earthProc.conf
$ exit
9. Through cleo restart the single-board computers (SBC). From the CleoLauncher select Launch » Utilities / Tools » Reset Box .... In the Reset Box window press gbtaio2, gbteio1, gbtdcr, gbtspsbc, gbtas0, and sitetime.
10. Bring up cleo's Messages window and wait for all the programs to get reconnected. One can follow the restart better if the Messages window is configured such that Auto Remove is off, New Messages are Placed at the Top, Info messages are filtered out, and Removed Cleared is pressed fairly often. Press Refresh after setting the window up as you desire. Also one can bring up the Manager Control window to ensure all Manager come up healthy. Be patient. After the restart is completed, it is best to quit the Manager Control window.
11. Possible problems include that some daemons or SBCs need to be restarted individually because of the "strain" of everything trying to boot simultaneously, and the config files in /home/gbt/etc/config may not be compatible across versions.
Individual daemons may be stopped and started via TaskMaster, e.g., on gemini:
$ TaskMaster gemini status
Number pid last action Name Args
1 4176 Start SpStorage
2 4177 Start SpectralProcessorA
3 4178 Start SpectralProcessorB
4 4179 Start SpectralProcessor
$ TaskMaster gemini stop 1
$ TaskMaster gemini status
Number pid last action Name Args
1 4176 Stop SpStorage
2 4177 Start SpectralProcessorA
3 4178 Start SpectralProcessorB
4 4179 Start SpectralProcessor
$ TaskMaster gemini start 1
$ TaskMaster gemini status
Number pid last action Name Args
1 4252 Start SpStorage
2 4177 Start SpectralProcessorA
3 4178 Start SpectralProcessorB
4 4179 Start SpectralProcessor
$
12. Through CLEO restart the single-board computer (SBC) gbtaio1 again. This is a workaround for a bug in the IFRack (see project office #864).
13. On any machine, run the following (make sure you have permission to all devices):
$ glish -l fixGoHang.g
14. Normally the glishd daemon running on victor does not have to be restarted. However...
-
- To see if glishd is running on victor, ssh to victor and:
sudo /sbin/run-glishd status
- To stop glishd on victor, ssh to victor and:
sudo /sbin/run-glishd stop
- To start glishd on victor, ssh to victor and:
sudo /sbin/run-glishd start
-- AmyShelton - 30 Jul 2003
%META:FORM{name="WebForm"}%
%META:FIELD{name="TopicClassification" title="TopicClassification" value="NoDisclosure"}%
%META:FIELD{name="OperatingSystem" title="OperatingSystem" value="OsLinux, OsSolaris"}%
%META:FIELD{name="OsVersion" title="OsVersion" value=""}% |