[INSTRM-46] [actorcore] fix incoming port logic Created: 27/Dec/16  Updated: 30/May/18  Resolved: 30/May/18

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

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


 Description   

This issue was initially filed into JIRA by 'cloomis' at 01/Oct/15 3:53 PM as ICS-17.

The incoming port for the tron -> actor connection is hardwired in the actor's config file, and defaults to 9999. This can't scale. I think I added a scheme for it to be handled dynamically, but cannot remember the details.

As long as we don't run too many actors on one host it is not really an issue. There are two on the each BEE, so I need to fiddle the config files on those. There may be several actors on the tron host, before which this should be fixed.

Figure out what the real deal is, test, and document it.



 Comments   
Comment by cloomis [ 30/May/18 ]

If the port in the configuration file is set to 0, the actor listens on a dynamically allocated port, and requests that tron connect back to that.

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