Solved

CentOS LVS

Posted on 2011-09-05
5
399 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 78

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 78

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 78

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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…
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…

751 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