100 likes | 210 Vues
Prepare for mountain support with this comprehensive software cross-training session. Set up your environment, debug, install, and more.
E N D
TCS Mountain Support Michele De La Peña and Chris Biddick Software Cross-Training Session LBT TCS
Preparation For Mountain Support Before you go… • Establish an account on lbtssh. • This is the gateway machine to the mountain. • Establish an account for the mountain machines. • The mountain machines are on a separate LDAP system from Tucson. • Servers: lbtmu[101 – 105, 107] • Workstations: lbtmu[01 – 05], 01 = TO Station Software Cross-Training Session LBT TCS
Preparation Continued… • Set up your mountain work environment from Tucson to the degree possible. • Editor, IDE, CVS access, debugger, etc. • Do a CVS checkout of the build currently installed on the mountain in your home directory. • Have a set of notes or “game plan” for your work. Be organized! Software Cross-Training Session LBT TCS
Preparation Continued… • You should be fully prepared to debug, recompile, and install the application layers of the TCS (i.e., software above the “Common Software Layer”). • Make sure you have a copy of Telescope Control System Build and Installation Manual (481s012a). Software Cross-Training Session LBT TCS
Preparation Continued… • You need to know the areas of expertise of the Software Group members in case you need to call for assistance. Software Cross-Training Session LBT TCS
Tips When On The Mountain • Do not use the TO Station while the TO is actively working. • You should know that you might need to do an ssh –Y or ssh –X when ssh’ing to another machine, and you want to invoke a GUI. • Some GUIs (e.g., tkcvs) are not on the servers. Software Cross-Training Session LBT TCS
TIPS Continued… • Check the core size with the limit command and reset it to unlimited so you have the possibility of generating a core file ($ limit coredumpsize unlimited). • Recognize when you are in “over your head” and need to call for help. Software Cross-Training Session LBT TCS
Process • If you are debugging a GUI, then there is no need to install while you are working; you can just use the executable “in place”. • If you are debugging server or client code, then you need to “install” on the machine where you testing. Software Cross-Training Session LBT TCS
Process • If you have finished debugging and the code is intended for immediate use, you could: • Install code on a designated machine, and • Modify the TO activation scripts to use only the server you designate. The scripts are in /home/telescope/Scripts. This is only a short-term solution and is your responsibility to fix. Software Cross-Training Session LBT TCS
Process Continued… OR • Install the code manually on all the servers (client and server) and the TO Station (GUI). OR • Logon to lbtmu111 as root, • Copy your epkg tar file to /opt/LBT-encaps, • Become user “lbtscm” (e.g., su –l lbtscm), • Run “mtupgrade” and answer questions appropriately. Software Cross-Training Session LBT TCS