How to check VISULOX PORTAL ports 443 & 5307
About
For communication between the VISULOX PORTAL Nodes in the array and to the VISULOX GATEWAY, it is essential that the ports 443 & 5307 are open.
Howto
In order to check for the ports 443 & 5307, run the below script (hostnames have to be adjusted):
CODE
#!/bin/bash
basepath=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
export basepath
PORTAL="<vlx-portal1 vlx-portal2 vlx-portal3>"
echo "----------------------------------"
echo "use for tesing"
echo 'echo | openssl s_client -connect $host:443'
echo 'echo | openssl s_client -connect $host:5307'
echo '/opt/SUNWsgdg/bin/bin/ttahostprobe $host:443'
echo '/opt/SUNWsgdg/bin/bin/ttahostprobe $host:5307'
echo "----------------------------------"
for host in $PORTAL
do
com443=$(timeout 2 bash -c "echo | openssl s_client -connect $host:443 >/dev/null 2>&1 " && echo ok || echo NOCERT)
com5307=$(timeout 2 bash -c "echo | openssl s_client -connect $host:5307 >/dev/null 2>&1 " && echo ok || echo NOCERT)
answer443=$(/opt/SUNWsgdg/bin/bin/ttahostprobe $host:443)
answer5307=$(/opt/SUNWsgdg/bin/bin/ttahostprobe $host:5307)
echo "$(hostname) -> $host: 443=$answer443/$com443 5307=$answer5307/$com5307"
done
Example output
