[INSTRM-552] Create a command-line command to switch Gen2 servers Created: 24/Oct/18  Updated: 27/May/21  Resolved: 27/May/21

Status: Done
Project: Instrument control development
Component/s: ics_gen2Actor
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: cloomis Assignee: cloomis
Resolution: Done Votes: 0
Labels: ICS
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to INSTRM-462 Add command to switch Gen2 servers Open
Story Points: 1

 Description   

Every morning and evening during observing, we will probably need to change the Gen2 server we connect to, between the observing system and one of the "simulators". There is INSTRM-462 to do this internally, but that is tricky and and we also need a normal command line tool.

gen2switch hostname will kill any running g2cam processes and start a new one.



 Comments   
Comment by cloomis [ 27/May/21 ]

The hostnames are strange and usually fixed. So make that:

  • gen2switch real
  • gen2switch sim
  • gen2switch host.name
Comment by cloomis [ 27/May/21 ]

Merged at ea5f241, tagged 1.4.9.

Will need live testing, but that cannot be done until observing stops.

Generated at Sat Feb 10 16:26:11 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.