Changes

Jump to: navigation, search

SHOC

235 bytes added, 22 February
/* Change Log */
== Change Log ==
'''Most recent changes at the top'''
 
* '''Installation of "New" SHOC on the 74-inch, February 2024<br>'''
** Users should also familiarise themselves with these two wikis if they are using SHOC on the 74-inch after February 2024
** [https://topswiki.saao.ac.za/index.php/74%22_/_1.9m_-_%22Instrument_Selector%22 "Instrument Selector" wiki].
** [https://topswiki.saao.ac.za/index.php/%22New%22_SHOC "New" SHOC wiki].
* '''v1.4.4 Release date 5 December 2018<br>'''
or
ssh shoc40in@shoc74in.suth.saao.ac.za
or
ssh shoclesedi@shoclesedi.suth.saao.ac.za
When prompted for the password, use the password for the 74in or 40in user. Then go to the directory containing the spooled files:
cd /data/spool
sudo rescue_data.py
and then answer the questions as prompted. You'll be prompted for a password, use the password for the user you logged in as.
* The telescope is the name of the telescope being used; either 40in or , 74inor lesedi.
* The instrument will be one of shocnawe (sha) or shocndisbelief (shd). These are used to create the directory and filename in the /data directory. The directory will be of the form /data/<telescope>/<lowercase_instrument>/<YYYY>/<MMDD>, and the file of the form <instrument>_<YYYYMMDD>.<index>.fits. From this, the instrument name can be determined. At the moment, SHA is the SHOC instrument mounted on the 74inch and SHD is on the 40in.
* You will be prompted for an index to use. NB: '''make sure there is no existing file with the same index that will be overwritten''' The script will scan the target directory and list the existing files. Choose and index which isn't used(one option is to use an index like 3a , if index 3 exists). In other words, if files such as SHA_20150403.0004.fits and SHA_20150403.0005.fits, choosing either index 4 or 5 will result in that file being overwritten. If you choose as index 4a or 5a, the files will not be overwritten.
|}
The shoc computer should be reachable by an '''alias''' containing the telescope name. Usually '''shoc74in''' is an alias to '''shocnawe''', and '''shoc40in''' is an alias to '''shocndisbelief'''. If, e.g. '''shocndisbelief''' is mounted on the '''74inch''' telescope, the alias '''shoc74in''' should be changed to point to '''shocndisbelief'''.
IT should '''ONLY''' change the '''CNAME record'''. The '''A records''' should '''NEVER''' change. Even if only one of the instruments is being moved to another dome, BOTH records must be switched or DNS resolution will be intermittent. Example of a switched DNS setup:
Both '''shocndisbelief''' and '''shocnawe''' machines move between the telescopes. The setup below is what needs to change when '''shocnawe''' is moved.
Note that When e.g. the '''shocnawe''' now points to '''shoc40in.suth.saao.ac.za'''. If it machine is configured like this, that means moved from the '''shocnawe40inch''' machine is in to the '''40inch74inch'''. When it is moved, '''only''' change the '''40''' to '''74''' like below:
'''From'''
| 360
|}
 
==Run the shocboxswitch.sh script when SHOC is moved between telescopes==
315
edits