When configuring Appian engines distributed across multiple servers, I understand that the topology file tells the servers where other servers are located. What I don't understand is, how does the server itself know which functions it is fulfilling and which ports to open?
For example, let's say for the sake of this post that we have one server for the "forums" engine and all other engines are on a second server. We could model it like this in appian-topology.xml:
<server host="machine1" port="8000">
<server host="machine2" port="5000">
<!-- Ports will be allocated consecutively -->
<engine name="notify" />
<engine name="notify-email" />
<engine name="channels" />
<!-- ... -->
<!-- kafka, search etc -->
This makes sense, but now suppose machine1 is starting up and runs "k" as usual. How does it then know that it is responsible for "forums" and should listen on port 8000, rather than listening on ports 5000,5001,... for the other engines?
Is this done by looking up own hostname and/or IP address? Does this mean the hostname specified in topology needs to exactly match "/etc/hostname"?
Discussion posts and replies are publicly visible
© 2023 Appian. All rights reserved.