NRAO Home  >  Green Bank  |  Wiki Topic:    GB > Knowledge > HowToUpdateCCUYear (r1.1 vs. r1.2)
   Readme | Changes | Index | Search | Go
 <<O>>  Difference Topic HowToUpdateCCUYear (r1.2 - 29 Jan 2008 - JoeBrandt)
Changed:
<
<

setSCCUYear(2007)

>
>

setSCCUYear(2008)

Changed:
<
<

setSCCUYear(2007)

>
>

setSCCUYear(2008)

Added:
>
>

Updating the SCU Year

The SCU currently boots vxWorks from ROM, then loads the sccu.ro loadable via the network using ftp. The current host which serves the loadable is prima. The file to update is /export/home/prima/services/sccu/gbt/etc/startup/realscu.startup (Note you must be logged into prima to view this file). Once the file is updated, the year will be updated on the next boot.

 <<O>>  Difference Topic HowToUpdateCCUYear (r1.1 - 31 Jan 2007 - JoeBrandt)
Added:
>
>

%META:TOPICINFO{author="JoeBrandt" date="1170253320" format="1.0" version="1.1"}% %META:TOPICPARENT{name="MnCKnowledge"}%

How to Update the CCU Year?

Solution

Because IRIG-B time does not contain the current year, the value must be taken from a startup file. This file resides in the directory "/sd0/" on the CCU's local hard disk. This page documents the procedure to update the file.

  • First login to the antenna manager host (currently prima): ssh monctrl@prima
  • Change directory: cd /export/home/prima/services/sccu/gbt/etc/startup
  • Edit the file "loadccu.ini" and change the year value of setCCUYear() in two locations:
      #
      cd "/sd0/"
      ld < sccu.ro
      setSCCUYear(2007)
      SCCUPost("CCU")
      setSCCUYear(2007)

  • Next, login to the CCU: rlogin gbtccu
  • (The following commands should be entered into the ccu login window)
  • Mount the filesystem: nfsMount("prima", "/export/home/prima/services/sccu/gbt/etc/startup", "/tmp")
  • Update the file: copy("/tmp/loadccu.ini", "/sd0/loadccu.ini")
  • Logout: logout

-- JoeBrandt - 31 Jan 2007 %META:FORM{name="WebForm"}% %META:FIELD{name="TopicClassification" title="TopicClassification" value="NoDisclosure"}% %META:FIELD{name="OperatingSystem" title="OperatingSystem" value=""}% %META:FIELD{name="OsVersion" title="OsVersion" value=""}%


Topic HowToUpdateCCUYear . { View | Diffs | r1.2 | > | r1.1 | More }
Revision r1.1 - 31 Jan 2007 - 14:22 GMT - JoeBrandt
Revision r1.2 - 29 Jan 2008 - 16:23 GMT - JoeBrandt
Content copyright © 1999-2007 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors.