Changes

SHOC

578 bytes added, 15:30, 10 February 2016
/* Switching the SHOC computer to a new telescope */
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 74 inch 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:
 
{| class="wikitable" border="1"
|-
! Name
! Type
! Content
! TTL
|-
| shocnawe.suth.saao.ac.za
| A
| 10.2.2.89
| 86400
|-
| shocndisbelief.suth.saao.ac.za
| A
| 10.2.2.88
| 86400
|-
| shoc40in.suth.saao.ac.za
| CNAME
| shocnawe.suth.saao.ac.za
| 360
|-
| shoc74in.suth.saao.ac.za
| CNAME
| shocndisbelief.suth.saao.ac.za
| 360
|}
* Run the script shocboxswitch.sh. The default option reverts to the standard mapping between shoc computers and telescopes. If the default is not chosen , you'll be prompted for the name of the telescope the shoc computer is being mounted on.
30
edits