Solved

CentOS LVS

Posted on 2011-09-05
5
390 Views
Last Modified: 2012-05-12
Hi,
I've set up LVS on my CentOS server and I need some help on it.
I was able to assign VIP to the LVS and ping it from within the server, but I cannot reach this VIP from outside.

Also, when I'm trying to restart the piranha-gui service I'm being notified that php5 modules are missing and the service cannot be started.

Anyone here is familiar with this?
0
Comment
Question by:cloudbase
  • 3
  • 2
5 Comments
 
LVL 76

Expert Comment

by:arnold
Comment Utility
Sorry to state the obvious, You need to make sure you have the required php5 modules.

Which version of centos are you using, 4, 5, 6?
do you have /etc/httpd/conf.d/php.conf?

/usr/sbin/httpd -t -D DUMP_MODULES 2>&1 | grep -i php
do you have a php5_module display as part of the result?
0
 
LVL 76

Expert Comment

by:arnold
Comment Utility
also check
ls -l  /etc/sysconfig/ha/modules/libphp5*
do you have two items here?
0
 

Author Comment

by:cloudbase
Comment Utility
Hi,
thanks for the comments.
I managed to fix the php5 issue and restart the service, but the VIP is still inaccessible.
0
 
LVL 76

Accepted Solution

by:
arnold earned 125 total points
Comment Utility
Did you setup the cluster resource IP?
Do you have iptables enabled?
Did you setup firewall rules on the external to forward the requests to this VIP IP?
netstat -an?
0
 

Author Closing Comment

by:cloudbase
Comment Utility
Thanks,
it was a problem indeed with the firewall not being configured correctly.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now