#1  
Old 18th February 2007, 14:38
Jan VdV Jan VdV is offline
Junior Member
 
Join Date: Feb 2007
Location: Leuven, Belgium
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Question about nfs cluster

Hi,

I'm a student and as a graduating project I chose to set up a high availability system with load balancing.
Two load balancers (one as a backup...) provide connections to two application servers running a webserver, sql and perhaps some other services. These application servers get their content from two data servers running a nfs.

I followed the howto on setting up a highly available and loadbalanced apache server and the one about a highly available nfs server (both written by Falko Timme). All went well except when rebooting after all was set up, I lost all functionality on the data servers. The screen output was completely messed up, and the system didn't respond anymore until I disabled heartbeat.

My question is: when BOTH data servers go down, is the nfs lost and if so, why? Is there a solution?

I've set up my computers in a network lab of my university where also other student are working. There's a good chance at least one of those students will power off my setup and I don't want all my work disappear at the flip of a switch...
Reply With Quote
Sponsored Links
  #2  
Old 19th February 2007, 14:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Does nfs-server get started when the system is booted? Do you see it in the output of
Code:
ps aux
?
Any errors in the log files?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 19th February 2007, 17:55
Jan VdV Jan VdV is offline
Junior Member
 
Join Date: Feb 2007
Location: Leuven, Belgium
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

First of all, because of the total loss of the data servers(well, I'm new to all of this, perhaps it could be saved ;-)), I ended up re-installing them. I did not save the error logs so I cannot provide you with that information.

At the moment the nfs cluster is working like a dream, but I never rebooted both servers at the same time. I only tested if the nfs still worked when one server was down.
The nfs-server is started at boottime and no errors are generated.

Since I don't know what the outcome will be, I'm not keen on shutting both of them down.

But reading between the lines: your answer suggests that the setup should work when both servers go down and are rebooted at the same time?
Reply With Quote
  #4  
Old 19th February 2007, 18:22
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

In general, a cluster configuration should be started one-by-one if both servers went down. It's a bad idea to make both servers fight who's 1st to take precedence.
I am not familiar with this howto, but as a seasoned sysadmin on linux clusters, thought I'd give you this advise.
Reply With Quote
  #5  
Old 19th February 2007, 20:48
Jan VdV Jan VdV is offline
Junior Member
 
Join Date: Feb 2007
Location: Leuven, Belgium
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

@martinfst:

I appreciate your input. Being a student, any information is welcome, especially from experts like you and Mr. Timme.
I'm going to set a small time delay at boottime on one server to avoid that problem. Hopefully it helps.
Reply With Quote
  #6  
Old 20th February 2007, 00:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

Quote:
Originally Posted by martinfst
In general, a cluster configuration should be started one-by-one if both servers went down.
This is true. If it is possible, don't shut down both servers at the same time.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
question about high available nfs and apache Randy HOWTO-Related Questions 1 3rd November 2006 14:53
MySQL Cluster On FC5 : error while unpacking from engine asyadiqin HOWTO-Related Questions 7 28th October 2006 17:37
Load-Balanced MySQL Cluster Error with Cluster stylez HOWTO-Related Questions 12 1st October 2006 04:55
Samba/LDAP + NFS Implementation vibranze Server Operation 2 21st August 2006 15:02
NFS Locking Failure and Updating solderboy Installation/Configuration 0 29th September 2005 21:59


All times are GMT +2. The time now is 04:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.