====== Ke upgrade 9.10.4 to 9.11.1 ====== Upgrading from fs 9.10.4 State before upgrade: pcfske:/usr2/:> ls -l total 354672 drwxr-xr-x 13 prog rtx 4096 2012-10-18 14:40 20121017eremotectrl_deliverable_nosvn drwxr-xr-x 10 prog rtx 4096 2012-10-18 14:40 AuscopeUtils -rw-r--r-- 1 prog rtx 362741760 2012-11-22 14:22 backup_2012_11_22_save.tar lrwxrwxrwx 1 prog rtx 10 2010-09-26 15:16 control -> control.ke drwxrwxrwx 5 oper rtx 4096 2012-11-22 14:22 control.hb drwxrwxr-x 5 prog rtx 4096 2012-11-22 14:22 control.ke drwxr-xr-x 5 prog rtx 4096 2012-11-22 14:22 control.yg drwxr-xr-x 9 prog rtx 4096 2010-09-26 14:36 econtrol lrwxrwxrwx 1 prog rtx 37 2012-10-18 14:41 eremotectrl -> 20121017eremotectrl_deliverable_nosvn drwxr-xr-x 13 prog rtx 4096 2012-07-19 13:52 eremotectrl.old lrwxrwxrwx 1 prog rtx 9 2010-09-26 14:25 fs -> fs-9.10.4 drwxr-xr-x 85 prog rtx 4096 2010-09-26 14:36 fs-9.10.4 drwxrwxrwx 3 oper rtx 4096 2013-02-12 12:24 log drwxr-xr-x 5 prog rtx 4096 2011-03-03 16:17 oMlog drwxr-xr-x 42 oper rtx 16384 2013-02-20 15:58 oper drwxrwxrwx 2 oper rtx 4096 2013-02-12 12:46 proc drwxr-xr-x 14 prog rtx 4096 2013-02-21 11:23 prog drwxrwxrwx 2 oper rtx 12288 2013-02-12 12:46 ached lrwxrwxrwx 1 prog rtx 8 2010-09-26 14:25 st -> st-0.0.0 drwxr-xr-x 16 prog rtx 4096 2012-07-19 13:49 st-0.0.0 0. Check all up to date git pull origin master This should also get the latest version of the st library (st-0.0.1-9.10.5_ifpic) 1. make a backup of the control files (just to be safe) cp -rp control.ke control.ke.fs9.10.4 2. su cd / tar -xzpf /usr2/prog/fs-9.11.1.tgz cd /usr2 ln -sfn fs-9.11.1 fs ln -sfn st-0.0.1-9.10.5_ifpic st /usr2/fs/misc/fix_perm exit 3. Now as prog cd /usr2/fs make cd ../st make clean make rmexe make rmdoto make all put this in .login: if (! { (echo $PATH |fgrep /usr2/fs/misc >/dev/null) } ) then setenv PATH ${PATH}:/usr2/fs/misc endif reboot 4. Control files cd /usr2/control/rxg_files rxgfix2 * edit the files and make the Los 1900 and 7600 for S and X cd /usr2/control scp pcfshb:/usr2/control/stcmd.ctl . cd /usr2/proc onoff_fix *.prc cd /usr2/st For Katherine we have a different weather collection method mv wx wx_others ln -s wx_ke wx edit /usr2/st/Makefile and add toys to EXEC_DIR (need metclient and metserver at Yg) make clean make rmexe make reboot 5. Log back in as prog check control files stcmd.ctl equip.ctl compare with Hb added dbbc as rack type and these lines at the end: *DBBC DDC version v102 v100, v101, or v102 only *DBBC PFB version v12 v12 only *DBBC number of conditioning modules 4 1-4 (a,…,d) *DBBC IF power conversion factors, one for each module specified above, no trailing comments or extra fields 37500 32500 27500 32500 dbbad.ctl cp -a /usr2/fs/st.default/control/dbbad.ctl . chmod a+rw dbbad.ctl edit this file with correct IP address parpo.ctl cd /usr2/control tail -7 /usr2/fs/st.default/control/parpo.ctl >>parpo.ctl skedf.ctl check equipment and DBBC settings (compare to Hb) dev.ctl add IP address of controller Other files synched to Hb: antenna.ctl (limits) flux.ctl ctlpo.ctl time.ctl (rate->computer) antcn.ctl (changed default temp to 30C, humid to 75% rfpad.ctl ifpad.ctl stpgm.ctl sterr.ctl mdlpo.ctl copy HMI parameters: * * 00th set of coefficents from HMI model retrieved 21 feb 2013 * 0 0 0 0 0 0 0 * 90.0 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 * -0.2727 0.0 0.0403 0.0668 -0.0060 * -0.0123 0.4794 -0.0333 0.0 0.0 * 0.0 0.0 0.0 0.0 0.0 * 0.0 0.0 0.0 0.0 0.0 * 0.0 0.0 0.0 0.0 0.0 * 0.0 0.0 -0.0025 0.0 * location.ctl ********* Location Control File ********* * KATH12M Station Name 227.847627 WEST Longitude -14.3754633 Latitude 189.262 Station Elevation (meters) * Horizon mask * az1 el1 az2 el2 . . . . 0 5 360 cd /usr2/proc cp station.prc stationold.prc compared with hb station.prc point.prc