User Tools

Site Tools


software:hb_9.10.5_to_9.11.3
Upgrade of pcfs at Hobart from 9.10.5

State before upgrade:

pcfshb:/usr2/:> ls -l
total 1110356
drwxr-xr-x 13 prog rtx        4096 Mar  6  2013 20121017eremotectrl_deliverable_nosvn
drwxr-xr-x 12 prog rtx        4096 Oct 18  2012 AuscopeUtils
-rw-r--r--  1 prog rtx  1079531520 Nov 22  2012 backup_2012_11_22_save.tar
lrwxrwxrwx  1 root root         13 Oct 16  2012 control -> control_ifpic
lrwxrwxrwx  1 root root         10 Jun 15  2012 control-9.10.4 -> control.hb
drwxrwxr-x  5 prog rtx        4096 Nov 22  2012 control.hb
drwxrwxrwx  5 oper rtx        4096 Oct  4  2012 control.hb-9.10.5
drwxr-xr-x  5 prog rtx        4096 Nov 22  2012 control.ke
drwxr-xr-x  5 prog rtx        4096 Nov 22  2012 control.yg
drwxrwxrwx  5 oper rtx        4096 Aug 26 06:31 control_ifpic
drwxr-xr-x  9 prog rtx        4096 Jan 29  2010 econtrol
lrwxrwxrwx  1 prog rtx          37 Oct 18  2012 eremotectrl -> 20121017eremotectrl_deliverable_nosvn
drwxr-xr-x 13 prog rtx        4096 Jul 18  2012 eremotectrl.old
-rw-r--r--  1 oper rtx     1723891 Mar  6  2013 erem
otectrl.tgz
lrwxrwxrwx  1 root root          9 Sep 23  2012 fs -> fs-9.10.5
drwxr-xr-x 85 prog rtx        4096 Mar 19  2010 fs-9.10.4
drwxr-xr-x 89 prog rtx        4096 Sep 25  2012 fs-9.10.5
drwxr-xr-x 89 prog rtx        4096 Sep 23  2012 fs-9.10.5.funny
drwxr-xr-x 89 prog rtx        4096 Jun  8  2012 fs-9.10.5_2012June
-rw-r--r--  1 oper rtx     3727833 Jun  4 05:56 fs-9.11.2.tgz
-rw-r--r--  1 oper rtx       66475 Jun  4 05:57 fs9112up.txt
-rw-r--r--  1 oper rtx     8634845 Oct 16  2012 fsnew.tgz
-rw-r--r--  1 oper oper         77 Dec  9  2010 hb12m.prc
drwxrwxrwx  3 oper rtx       20480 Sep 22 11:19 log
drwxrwxrwx  5 prog rtx        4096 Aug  3  2011 oMlog
drwxr-xr-x 68 oper rtx       28672 Sep 24 07:56 oper
-rw-r--r--  1 prog rtx         165 Feb 28  2011 power.log
lrwxrwxrwx  1 oper rtx          14 Oct 16  2012 proc -> proc.hb-9.10.5
lrwxrwxrwx  1 root root          7 Jun 15  2012 proc-9.10.4 -> proc.hb
drwxrwxrwx  2 oper rtx       12288 Sep 19  2012 proc.hb
drwxrwxrwx  2 oper rtx       12288 Sep 22 11:25 proc.hb-9.10.5
drwxr-xr-x 16 prog rtx        4096 Sep 25 00:33 prog
drwxrwxrwx  2 oper rtx       20480 Sep 23 23:12 sched
lrwxrwxrwx  1 root root         21 Oct 16  2012 st -> st-0.0.1-9.10.5_ifpic
drwxr-xr-x 18 prog rtx        4096 Jul 18  2012 st-0.0.0
-rw-r--r--  1 prog rtx    41984000 Oct 18  2011 st-0.0.0.tar
drwxr-xr-x 27 prog rtx        4096 Oct 10  2012 st-0.0.1-9.10.5
drwxr-xr-x 28 prog rtx        4096 Sep 24  2012 st-0.0.1-9.10.5.gsfc
drwxr-xr-x 20 prog rtx        4096 Jun  8  2012 st-0.0.1-9.10.5_2012June
drwxr-xr-x 32 prog rtx        4096 Mar 28 18:26 st-0.0.1-9.10.5_ifpic
drwxr-xr-x 20 prog rtx        4096 Dec 21  2011 st-1.1.0-9.10.4

0. Check all up to date

git pull origin master
This got st-0.0.1-9.10.5_ifpic too and may have overwritten some stuff :-(

get the distribution from atri.gsfc.nasa.gov in the dist directory. Log in as fsho from a pcfs machine.

1. make a backup of the control files (just to be safe)

cp -rp control.hb control.hb.fs9.10.5

2. su
cd /
tar -xzpf /usr2/prog/fs-9.11.3.tgz
cd /usr2
ln -sfn fs-9.11.3 fs
/usr2/fs/misc/fix_perm
exit

3. as prog
cd /usr2/fs
make
cd ../st
make rmdoto rmexe all


put this in .login:


if (! { (echo $PATH |fgrep /usr2/fs/misc >/dev/null) } ) then
  setenv PATH ${PATH}:/usr2/fs/misc
endif

reboot
log in as oper

4. Control files
cd /usr2/control/rxg_files
rxgfix2 *
edit the files and make the Los 1900 and 7600 for S and X, include both pols etc


5. edit end of /usr2/control/equip.ctl to look like this:

oper@pcfshb:/usr2/control$ tail -8 /usr2/fs/st.default/control/equip.ctl 
*DBBC DDC version
 v101   v100, v101, v102, or v104 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
  15000 15000 15000 15000


6. Edit skedf.ctl with default DBBC power and BBC levels:

*--------------------------------------------------------------
* DBBC target values for IF counts in set-up procedure, up to 4
* values for up to four IFs, in order, this will cause an error
* in IFx=... command execution if used for DBBC DDC versions
* before v101 
* default is nulls if not present
dbbc_if_targets  40000 48000 32500 35000
*--------------------------------------------------------------
* DBBC BBC TPI target levels
* has no effect for DDC versions before v103
* default is null if not present
dbbc_bbc_target 16000


7. cd /usr2/proc
/usr2/fs/misc/onoff_fix *.prc
edit station.prc, compare to fs*up.txt notes and Yg file
/home/www/auscope/opswiki/data/pages/software/hb_9.10.5_to_9.11.3.txt · Last modified: 2013/10/02 01:24 by Jim Lovell