...
Edit
/etc/firewalld/zones/public.xml
or (swarm-site.xml
whichever has the other port rules) and add a rule to allow port 8090 requests. The remainder of the instructions assume port 8090 is used. The result resembles:Code Block <?xml version="1.0" encoding="utf-8"?> <zone> <short>Public</short> <description>For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted.</description> <service name="ssh"/> <service name="dhcpv6-client"/> <port protocol="tcp" port="8009"/> <port protocol="tcp" port="8080"/> <port protocol="tcp" port="8081"/> <port protocol="udp" port="123"/> <port protocol="udp" port="514"/> <port protocol="tcp" port="514"/> <port protocol="tcp" port="8090"/> <masquerade/> </zone>
Reload the firewall rules:
Code Block firewall-cmd --reload
Download the container
scs-container-port90-console.tar.gz
here and transfer it to the SCS server. Load the container:Code Block podman load < scs-container-port90-console.tar.gz
Collect the IP address of any Swarm node and replace it in the following command. Install the container:
Code Block podman run -d --name swarm-port90-console --security-opt=seccomp=unconfined -p 8090:8090 -e SCSP_HOST=[Swarm node IP] docker-repo.tx.caringo.com/caringo-syslog:stable
Now port 8090 on the SCS server can be used to access Swarm’s port90 console:
http://[SCS-IP]:8090
No further actions are required. However, the container does not run when the SCS server is restarted. Continue with the instructions below to configure the container to auto-start.
...
Create a systemd service for the container.
Generate a new systemd service for the port90 proxy container.
Code Block podman generate systemd --new --name swarm-port90-console > /etcusr/lib/systemd/system/swarm-port90-console.service
Stop the port90 proxy container.
Code Block podman stop swarm-port90-console
Enable port90 proxy container to auto-start on reboot and start it up again.
Code Block systemctl enable swarm-port90-console.service systemctl start swarm-port90-console.service
Now the port90 proxy container is running as a system service, with podman and systemd.
Code Block systemctl status swarm-port90-console.service
...