Changes

SHOC

988 bytes added, 07:51, 19 October 2016
/* Switching the SHOC computer to a new telescope */
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:
 
The '''above''' setup was always the '''normal''' setup but now the shocndisbelief machine is in the 1m dome (old 30Inch). The shocndisbelief will no longer be in the 40Inch and will not move around, only the shocnawe machine will move between the telescopes. Therefor the setup below is what needs to change when the shocnawe is moved.
'''Instrument switched setup'''
| 360
|-
| shoc74inshoc1m.suth.saao.ac.za
| CNAME
| shocndisbelief.suth.saao.ac.za
| 360
|}
 
Note that the shocawe now points to shoc40in.suth.saao.ac.za. If it is configured like this, that means the shocnawe machine is in the 40Inch. When it is moved, '''only''' change the '''40 to 74''' like below.
 
From:
shoc40in.suth.saao.ac.za CNAME shocnawe.suth.saao.ac.za 360
 
To:
shoc74in.suth.saao.ac.za CNAME shocnawe.suth.saao.ac.za 360
 
'''Note When You SSH After Change'''
Note: This change will result in a warning if someone tried to SSH into the machine - this is safe to accept.
Are you sure you want to continue connecting (yes/no)? yes
With the CNAME setup below, both the shocndisbelief and shocnawe can be connected in the new 1m. Please ask the IT standby person to help you with this DNS setup. At this moment '''only''' the shocnawe will be moved between the 40inch and 74inch. The shocndisbelief is in the 1m and will not be moved between the 40inch and 74inch.
{| class="wikitable" border="1"
| shocndisbelief.suth.saao.ac.za
| 360
|-
 
'''Can be added if required'''
 
|-
| shoc1m.suth.saao.ac.za
| 360
|}
 
'''Run Shocboxswitch.sh When Shoc Is Moved Between Domes'''
* 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.
32
edits