Re-build Control Model system.

Actions in  bold font: explanations and instructions

Actions in normal font: commands exactly as how to be entered

    1. Retrieve from archive and compile
     
     
       
      Step No.
      Action
      1
      login as tcsmgr on host wt0tcs
      2
      Review current status of versions and configuration on the running system. Update tcsBUILD accordingly if required.
      3
      cd /introot/TCS
      4
      rm –rf INTROOT.old (if it exists)
      5
      mv INTROOT INTROOT.old
      6
      echo $INTROOT
      to verify it is set to /introot/TCS/INTROOTverify $INTROOT also in $PATH and $SHLIB_PATH before $VLTROOT
      7
      remove old environments backups (need disk space):

      cd /vltdata
      rm -rf ENVIRONMENTS.<old_date>

      8
      Create new source directory:

      cd
      rm –rf TCS_SOURCE.old
      mv TCS_SOURCE TCS_SOURCE.old
      mkdir TCS_SOURCE

      9
      cd TCS_SOURCE
      10
      cmmCopy tcsBUILD
      11
      mkdir INSTALL
      12
      cd tcsBUILD/src
      13
      make prepare_installation
      14
      export TARGETLIST='wt0tcs wa0tcs'
      15
      cd ../../INSTALL
      16
      ./buildTcsFromArchive -check
      Verify any differences between latest cmm version and tcsBUILD. In case of differencies, decide if to use the defined version or to update tcsBUILD module and go back to step 10.
      17
      if any ws environment is running: stop it now!
      18
      ./build
      This will retrieve all modules and compile them, and the all environments are created.
      19
      Check log-files in TCS_SOURCE/INSTALL

       
    2. Prepare environments
     
     
       
      Step No. Action
      20
      cd /vltdata
      21
      rm –rf ENVIRONMENTS
      22
      mv ENVIRONMENTS.wt0tcs ENVIRONMENTS
      23
      cd ENVIRONMENTS
      24
      chmod g+w * */*
      25
      rm -rf $INS_ROOT/SYSTEM
      26
      rehash
      27
      tcsBUILDInsRoot
      28
      logMonitor&
      29
      vccEnvInit –v –e wt0tcs
      30
      vccEnvStart –e wt0tcs
      31
      Verify startup using logMonitor and logfiles in environment directory
      32
      cd /vltdata/ENVIRONMENTS/wt0tcs/log
      33
      chmod g+w *
      34
      sampConfPlot "<alias>samplePlot"
      sampConfPlot "<alias>altPlot"
      sampConfPlot "<alias>azPlot"
      sampConfPlot "<alias>agPlot"
      sampConfPlot "<alias>adrotPlot"
      sampConfPlot "<alias>m2Plot"
      35
      cd /vltdata
      36
      mv ENVIRONMENTS.wa0tcs/* ENVIRONMENTS
      rm –rf ENVIROMENTS.wa0tcs
      37
      chmod g+w * */*
      38
      vccEnvInit –v –e wa0tcs
      39
      vccEnvStart –e wa0tcs
      40
      Verify startup using logMonitor and logfiles in environment directory
      41
      cd /vltdata/ENVIRONMENTS/wa0tcs/log
      42
      chmod g+w *
      43
      tcsBUILDSystem
      Check all log files for errors Check all LCU’s have rebooted Check particulary that all scan links were configuredwithout errorsCheck with scanei that scanning works for all LCU’s and for both workstation environments
      44
      vccEnvStop –v –e wt0tcs
      45
      vccEnvStop –v –e wa0tcs
      46
      logout
      47
      login as user tcs
      48
      logMonitor&
      49
      vccEnvStart –v –e wt0tcs
      50
      vccEnvStart –v –e wa0tcs
      51
      Verify startup using logMonitor and logfiles in environment directory