1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 <2016> 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 <2016> 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: question about pcaspy |
From: | "Kasemir, Kay" <[email protected]> |
To: | geyang <[email protected]> |
Cc: | "[email protected]" <[email protected]> |
Date: | Mon, 29 Aug 2016 12:45:07 +0000 |
Hi:
If you want to run multiple copies of the pcaspy CA server on one computer, it’s really the same as running multiple soft IOCs on the same computer.
You don’t need to change any port settings.
All copies of the CA server on the host will listen to UDP name searches on the default UDP port.
They cannot all use the same default TCP port, so except for the first server that you start you’ll see the warning messages “css warning: Configured TCP port was unavailable. Using dynamically assigned ..” but that’s not a problem.
What happens on the protocol level:
Clients search for a channel.
CAS replies: I have that channel, talk to me on TCP port xxxxxx.
For the first CAS that you start, that TCP port is the default, for the rest it’s a different port.
Doesn’t matter, the easiest way to configure this is still to leave EPICS_CAS_SERVER_PORT undefined since the clients will find all your IOCs just fine.
-Kay
|