Posted: 24 Nov 2019 16:56 EST Last activity: 3 Dec 2019 7:35 EST
Stream Service - JOINING_FAILED - Failed to bind
I am new to Pega 8 and have seen that I am getting some issues with Stream Service. We have a cluster (agent01, user01, and user02 for example) and we are using DSS to set the value of the ports.
The problem is eventually when we restart the instances we get "ChannelException: Failed to bind to:ourHost:port" because the port is showing as already taken while before that it joined fine. Consequently stream service is then down.
Some conclusions I have made:
It seems that nodes are fighting for resources since they are all using the same DSS values for the ports. Also it seems like any node is attempting to auto join after a restart as opposed to just agent01.
Because of how everything is setup we are hoping to avoid creating unique prconfig.xml files if possible. I am aware we can set the ports there.
all of that to ask these questions:
Is there an auto join feature or anyway of influencing that process?
Is DSS the right/wrong approach when in a clustered environment?
What influence will setting the (-DNodeType=Stream)have and any ramifications we need to be aware of?
Hoping for an eloquent solution to avoid prconfig but may not exist. Thanks in advance for assistance on this newbie question.
***Edited by Moderator: Lochan to update platform capability tags***