Today, I discovered that my production CL6.1.1 has two server threads configured to listen on the same port. While that’s not unheard of, it looks like they’re both servicing connections – and from different servers.
Here is the current state of the two. Note two separate CL processes have the same port (17202) open – each, apparently, with independent connections from different servers
[hci@CLOVERPROD revisions]$ lsof | grep 17202
hciengine 20660 hci 38u IPv4 561147294 TCP cloverprod.chealth.org:17202->capsulevs2.chealth.org:61252 (ESTABLISHED)
hciengine 29900 hci 34u IPv4 280203944 TCP cloverprod.chealth.org:17202->6089900mlp.chealth.org:64726 (ESTABLISHED)
[hci@CLOVERPROD revisions]$ ps -ef | grep 20660
hci 20660 20659 0 10:02 ? 00:00:13 /opt/cloverleaf/cis6.1/integrator/bin/hciengine -S capsule -p capsule_ib
[hci@CLOVERPROD revisions]$ ps -ef | grep 29900
hci 29900 29899 0 Mar03 ? 00:09:32 /opt/cloverleaf/cis6.1/integrator/bin/hciengine -S pharmacy -p ib_from_pyxis
To make things even stranger, the two connections seem to be routing inbound messages to the correct inbound threads.
So, either I’m completely missing something obvious, or the OS (RHEL 6.7) and Cloverleaf are conspiring together to successfully do something that shouldn’t work…
I’m assuming it’s the former. Can any of you spot what I’m missing?
Thanks!
Jeff Dinsmore
Chesapeake Regional Healthcare