Solved

CentOS LVS

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Squid Connection Pools 3 46
Guacamole cut and paste issue 3 47
BASH script to modify crontab? 3 50
Removing DES and 3DES ciphers in linux RedHat 6.8 38 97
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,…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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.

920 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