Solved

CentOS LVS

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

860 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