[ESO Web]
European Southern Observatory
New Technology Telescope
[NTT Web]

General :
Observations :
Operations :

Archiving Changes to Templates and Configuration Files

 
SOFI TEMPLATES

SOFI templates are under configuration control. This means that the master copy resides in Garching and that any changes must be made by copying the master copy from Garching to the NTT, making the changes, installing the new version, testing and then returning the modified master copy to Garching.

The SOFI templates are archived in the modules sotpl and istut.

Retrieving the master copy from Garching

  • Log into wlsops2 as sofimgr
  • Change to the directory CURRENTLY_MOD
  • Rename the directories sotpl and istut to sotpl.old and istut.old
  • Type cmmModify -l username modulename (istut or sotpl) and wait for the module to be copied across. In addition to the istut and sotpl directories the direcories, .istut.modify. and .sotpl.modify. will be created. Do NOT delete these files.
  • Installation and Testing

    All modifications should be made to files in the istut and sotpl directories and not the files used by Bob.

  • a tar of the module must be created on wlsops2 as sofimgr and send via ftp to wsofi (user nttops) in the directory CURRENTLY_MOD, there the tar file must be opened and the modules can be modified by the user nttops
  • As user nttops on wsofi, type make install , in the directory ~nttops/CURRENTLY_MOD/sotpl/src, to instal the modules and test them.
  • Returning the master copy to Garching

  • Create a tar file of the module as user nttops on wsofi and ftp back to wlsops2 (user sofimgr) in CURRENTLY_MOD
  • As user sofimgr on wlsops2 type checkForArchive sotpl or checkForArchive istut in the directory CURRENTLY_MOD. You may have to delete some files and update the file ChangeLog
  • Type cmmArchive -l username modulename
  •  

    SOFI CONFIGURATION FILES

    Retrieving the master copy from Garching

    The sofi configuration files are kept in the module nttsofi

  • As sofimgr on wlsops2i, change to the directory CURRENTLY_MOD.
  • Remove or rename the directory nttsofi.
  • Type cmmModify nttsofi and wait for the module to be copied across. In addition to the directory nttsofi being created, the directory .nttsofi.modify. will be created. Do NOT delete this directory.
  • ftp to wsofi
  • Updating the configuration files.

    The configuration files one is most likely to update are:

  • nttsofi/config/ICS/isiElementsSOFI.cfg,
  • nttsofi/config/ICS/isiInstrumentSOFI.cfg,
  • nttsofi/config/ICS/isiSystemSOFI.cfg and
  • nttsofi/config/OS/isosConfig.cfg
  • The corresponing files in /data/SOFI/SYSTEM/ are

  • COMMON/CONFIGFILES/isiElementsSOFI.cfg,
  • MISC/ICS/isiInstrumentSOFI.cfg,
  • MISC/ICS/isiSystemSOFI.cfg and
  • MISC/OS/isosConfig.cfg
  • Changes to these configuration files are made to the files in /data/SOFI/SYSTEM/. They are then copied to the files in the nttsofi module.

    Returning the master copy to Garching

  • As user sofimgr on wlsops2, type checkForArchive nttsofi. You may have to delete some files.
  • Type cmmArchive nttsofi .
  • [Top of Page]

    Send comments to: NTT Webmasters <nttweb@eso.org>
    Last Update: August 26, 2002 (Leo Vanzi)
    [ESO][ESO][ESO][Search][Help][News]