Solved

CentOS LVS

Posted on 2011-09-05
5
395 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 77

Expert Comment

by:arnold
ID: 36483777
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 77

Expert Comment

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

Author Comment

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

Accepted Solution

by:
arnold earned 125 total points
ID: 36484385
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
ID: 36522399
Thanks,
it was a problem indeed with the firewall not being configured correctly.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Adding more CPU cores to a Linux VM 5 94
How to make a Bash alias that takes parameters 5 53
awk file 6 49
ignore other .htaccess 2 44
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

776 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