Hi Gerry!
Gerry Reno schrieb:
# netstat -a -n -p | grep -e ssh -e keepalived
tcp 0 0 :::22
:::* LISTEN 2387/sshd
As you can see in this line the sshd is blocking the port 22. So
keepalived can not use this port.
Just move sshd out of the way.
Change in
/etc/ssh/sshd_config
the line
Port 22
to e.g.
Port 2222
and perform a
/etc/init.d/ssh restart
/etc/init.d/keepalived restart
To connect to this machine directly via ssh you will now have to use
ssh -p2222 gerry@<vip>
All others using
ssh gerry@<vip>
will land via the ipvs on your realservers.
Best Regards,
Volker
--
====================================================
inqbus it-consulting +49 ( 341 ) 5643800
Dr. Volker Jaenisch http://www.inqbus.de
Herloßsohnstr. 12 0 4 1 5 5 Leipzig
N O T - F Ä L L E +49 ( 170 ) 3113748
====================================================
|