The PlatformUDPListener is installed on the master database(s). First of all, java is installed: Translations Ignore |
---|
Code Block |
---|
| dnf -y installwget https://cdn.jtel.de/downloads/java/jdk-8u202-linux-x64.rpm
alien -i jdk-8u202-linux-x64.rpm
rm -f jdk-8u202-linux-x64.rpm |
|
The Platform UDP Listener is installed with the following commands: Translations Ignore |
---|
Code Block |
---|
cp -a /home/jtel/shared/JTELCarrierPortal/Utils/Install/PlatformUDPlistener/ /home/jtel/
cp -a /home/jtel/PlatformUDPlistener/systemd/jtel-listener.service /usr/lib/systemd/system
rm -f /home/jtel/PlatformUDPlistener/conf/hazelcast.xml
cp -a /home/jtel/shared/hazelcast.xml /home/jtel/PlatformUDPlistener/conf/hazelcast.xml |
|
The Platform UDP Listener is enabled with the following commands: Translations Ignore |
---|
Code Block |
---|
| systemctl enable jtel-listener
systemctl start jtel-listener |
|
The following configures the firewall, so the hazelcast cluster members can communicate with eachother: Translations Ignore |
---|
Code Block |
---|
| firewall-cmd --zone=public --add-port=5701-5801/tcp --permanent
firewall-cmd --reload |
|
Now, the listener is started:
Translations Ignore |
---|
Code Block |
---|
| service jtel-listener start |
|
To make updating the Platform UDP Listener simpler, a script is created: Translations Ignore |
---|
Code Block |
---|
| cat <<EOFF > /usr/local/bin/updatepl.sh
#!/bin/bash
service jtel-listener stop
cp /home/jtel/shared/JTELCarrierPortal/Utils/Install/PlatformUDPlistener/bin/platform-UDP-listener-1.0-jar-with-dependencies.jar /home/jtel/PlatformUDPlistener/bin
chown jtel:jtel /home/jtel/PlatformUDPlistener/bin/*
service jtel-listener start
EOFF
chmod +x /usr/local/bin/updatepl.sh |
|
|