Protocol Gateway automatically detects other instances on the same network using multicast. The multicast group and/or port can be configured if needed and the automatic instance detection can be replaced by (or combined with) a static list of known instance addresses.
You can disable the sharing functionality if only one instance of Protocol Gateway is hosted.
At its minimum, the session sharing mechanism will have to have SSL configured, to ensure secure communication.
Do the following:
Set the connection SSL truststore. Do one of the following:
Configure the SSL connection with a 'keyfile' using a certificate and key in a PKCS#12 file.
Configure the SSL connection with a subject and by connecting to a HSM with: default.cacheservice.ssl.certificate.subject
CODE
default.cacheservice.ssl.keyfile = vro.p12
Set the SSL keyfile password.
CODE
default.cacheservice.ssl.password = 1234
Optional: Disable TCP multicast. This can be useful if using static member list. See default.cacheservice.members.
CODE
default.cacheservice.multicast = false
Optional: Configure TCP multicast port and group. This can be useful if there are several instances of Protocol Gateway on the same network.
CODE
default.cacheservice.multicastgroup = 224.2.2.3
default.cacheservice.multicastport = 54327
Optional: Configure a static list of PGW member nodes. This is an alternative to multicast node discovery when the address and port of the member nodes are known before hand.
CODE
default.cacheservice.members = localhost:1234,localhost:4321