User Tools

Site Tools


software:yg_9.11.1_to_9.11.2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

software:yg_9.11.1_to_9.11.2 [2013/07/25 01:56] (current)
Jim Lovell created
Line 1: Line 1:
 +====== Yg 9.11.1 to 9.11.2 ======
 +<​code>​
 +State before upgrade:
  
 +prog@pcfsyg:/​usr2$ ls -l
 +total 377640
 +drwxr-xr-x 13 prog rtx      4096 2012-10-18 14:41 20121017eremotectrl_deliverable_nosvn
 +drwxr-xr-x 10 prog rtx      4096 2012-10-18 14:41 AuscopeUtils
 +-rw-r--r-- ​ 1 prog rtx 377354240 2012-11-22 14:23 backup_2012_11_22_save.tar
 +lrwxrwxrwx ​ 1 oper rtx        17 2012-10-16 15:21 control -> control.yg-9.10.5
 +drwxr-xr-x ​ 5 prog rtx      4096 2012-11-22 14:28 control.hb
 +drwxr-xr-x ​ 5 prog rtx      4096 2012-11-22 14:28 control.ke
 +drwxrwxr-x ​ 5 prog rtx      4096 2012-11-22 14:28 control.yg
 +lrwxrwxrwx ​ 1 prog rtx        10 2012-10-16 15:10 control.yg.9.10.4 -> control.yg
 +drwxrwxrwx ​ 6 prog rtx      4096 2012-10-18 09:26 control.yg-9.10.5
 +drwxr-xr-x ​ 5 prog rtx      4096 2012-10-16 15:09 control.yg.9.10.5
 +drwxr-xr-x ​ 9 prog rtx      4096 2010-11-15 16:04 econtrol
 +lrwxrwxrwx ​ 1 prog rtx        37 2012-10-18 14:42 eremotectrl -> 20121017eremotectrl_deliverable_nosvn
 +drwxr-xr-x 13 prog rtx      4096 2013-02-09 02:53 eremotectrl_deliverable
 +drwxr-xr-x 13 prog rtx      4096 2012-08-14 16:34 eremotectrl.old
 +lrwxrwxrwx ​ 1 prog rtx         9 2012-10-16 15:19 fs -> fs-9.10.5
 +drwxr-xr-x 85 prog rtx      4096 2010-11-15 16:04 fs-9.10.4
 +drwxr-xr-x 89 prog rtx      4096 2012-09-26 09:47 fs-9.10.5
 +-rw-r--r-- ​ 1 prog rtx   ​8634845 2012-10-16 15:17 fsnew.tgz
 +-rw-r--r-- ​ 1 prog rtx    200704 2012-10-16 16:28 fs_upgrade_16Oct2012_JEJL_2.txt
 +drwxr-xr-x ​ 3 oper rtx      4096 2013-05-28 14:02 log
 +drwxr-xr-x ​ 5 prog rtx      4096 2011-08-05 16:09 oMlog
 +drwxr-xr-x 38 oper rtx     20480 2013-06-05 11:41 oper
 +lrwxrwxrwx ​ 1 oper rtx        14 2012-10-16 15:21 proc -> proc.yg-9.10.5
 +drwxr-xr-x ​ 2 oper rtx      4096 2012-10-03 11:31 proc.9.10.4
 +drwxrwxrwx ​ 2 prog rtx      4096 2013-05-30 06:00 proc.yg-9.10.5
 +drwxr-xr-x ​ 4 prog rtx      4096 2013-04-05 08:24 prog
 +drwxrwxrwx ​ 2 oper rtx     12288 2013-05-28 13:58 sched
 +lrwxrwxrwx ​ 1 prog rtx        15 2012-10-16 15:19 st -> st-0.0.1-9.10.5
 +drwxr-xr-x 15 prog rtx      4096 2012-05-16 13:21 st-0.0.0
 +drwxr-xr-x 29 prog rtx      4096 2012-10-17 00:39 st-0.0.1-9.10.5
 +-rw-r--r-- ​ 1 prog rtx      1679 2013-03-06 15:46 yarragadee_rsa
 +
 +as prog:
 +cd /usr2
 +git pull origin master
 +Now have st-0.0.1-9.10.5_ifpic
 +
 +1. Back up control files is in control.yg-9.10.5
 +2. su
 +cd /
 + tar -xzvpf /​home/​oper/​fs-9.11.2.tgz ​
 +cd /usr2
 +ln -sfn fs-9.11.2 fs
 +ln -sfn st-0.0.1-9.10.5_ifpic st
 +/​usr2/​fs/​misc/​fix_perm
 +
 +Output:
 + Do you want to continue? y
 + /​usr2/​control is a symbolic link, can't fix
 + /usr2/proc is a symbolic link, can't fix
 + Fixing /​usr2/​sched ​
 + Fixing /​usr2/​log ​
 +
 +Will risk it and continue...
 +
 +3. now as prog
 +cd /usr2/fs
 +make
 +cd ../st
 +make clean
 +make rmexe
 +make rmdoto
 +make all
 +... fails on wx but we don't use these routines for weather at Yg, rather metserver/​client.
 +
 +vi Makefile and remove wx from list of things to compile
 +then
 +make all
 +
 +
 + ... need to get metserver/​metclient going?
 +
 +prog@pcfsyg:/​usr2/​st$ ps -ef | grep mets
 +root      2737     ​1 ​ 0 Apr03 ?        00:22:12 /​usr2/​st/​metserver/​metserver /dev/ttyS7 /dev/null 50001
 +
 +as root
 +/​etc/​init.d/​metserver.sh stop
 +
 +as prog
 +prog@pcfsyg:/​usr2/​st$ mv metserver/ metserver.old
 +prog@pcfsyg:/​usr2/​st$ mv metclient metclient.old
 +prog@pcfsyg:/​usr2/​st$ cd /​usr2/​fs/​st.default/​st-0.0.0/​
 +prog@pcfsyg:/​usr2/​fs/​st.default/​st-0.0.0$ cp -a metserver /usr2/st
 +prog@pcfsyg:/​usr2/​fs/​st.default/​st-0.0.0$ cd /​usr2/​st/​metserver
 +prog@pcfsyg:/​usr2/​st/​metserver$ make
 +
 +as root
 +/​etc/​init.d/​metserver.sh start
 +
 +
 +as prog
 +prog@pcfsyg:/​usr2/​st/​metserver$ cd /​usr2/​fs/​st.default/​st-0.0.0/​
 +prog@pcfsyg:/​usr2/​fs/​st.default/​st-0.0.0$ cp -a metclient /usr2/st
 +prog@pcfsyg:/​usr2/​fs/​st.default/​st-0.0.0$ cd /​usr2/​st/​metclient
 +prog@pcfsyg:/​usr2/​st/​metclient$ make
 +
 +
 +cp /​usr2/​st-0.0.1-9.10.5/​metclient/​metlog.ctl /​usr2/​st/​metclient
 +
 +prog@pcfsyg:/​usr2/​st/​metclient$ su
 +Password: ​
 +pcfsyg:/​usr2/​st/​metclient#​ /​etc/​init.d/​metclient.sh restart
 +Restarting MET Client: metclient.
 +
 +
 +put this in .login:
 +
 +
 +if (! { (echo $PATH |fgrep /​usr2/​fs/​misc >/​dev/​null) } ) then
 +  setenv PATH ${PATH}:/​usr2/​fs/​misc
 +endif
 +
 +reboot
 +
 +as prog
 +cd /usr2
 +mkdir control.yg-9.10.5_ifpic
 +ls -sfn !$ control
 +cp -rpv control.yg-9.10.5/​* control/
 +cd control
 +\rm -rf *.old
 +
 +rm stcmd.bak
 +/​usr2/​fs/​misc/​cmdctlfix5 stcmd.ctl
 +prog@pcfsyg:/​usr2/​control$ diff stcmd.ctl stcmd.bak ​
 +- no difference -
 +cd rxg_files/
 +/​usr2/​fs/​misc/​rxgfix2 *.rxg
 +
 +edited equit.ctl and added these two lines (note, not the same as Ed's notes as some DBBC params were already there:
 +
 +*DBBC IF power conversion factors, one for each module specified above, no trailing comments or extra fields
 +  15000 15000 15000 15000
 +
 +Checked dddad.ctl
 +Checked parpo.ctl
 +Checked skedf.ctl
 +
 +cd /usr2/proc
 +/​usr2/​fs/​misc/​onoff_fix *.prc
 +
 +cd /​usr2/​control
 +edit stcmd.ctl and added:
 +
 +ifpic        stq 0601 01 FFFFFFFFFFFF
 +rfpic        stq 0701 01 FFFFFFFFFFFF
 +
 +cd /​usr2/​st/​tsys
 +make
 +
 +added ifpcn and rfpcn to stpgm.ctl
 +
 +</​code>​
/home/www/auscope/opswiki/data/pages/software/yg_9.11.1_to_9.11.2.txt · Last modified: 2013/07/25 01:56 by Jim Lovell