Re: Installation problems
"Robert Bates" <[email protected]>
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <010c01c59e1d$520e5b80$0c00a8c0@c840498a> |
Hi Simone and Rick, I found problem number 2. I did something wrong with the loopback which killed network and generated the IP conflict errors but removed them and now at least they can see the network. On problem 1 I don't have the virtual IPs in haresources. For some reason I can't seem to get the syntax right because it keeps throwing errors. This is what I have 192.168.0.100 virtual web server 192.168.0.101 real web server 1 192.168.0.102 real web server 2 192.168.0.200 virtual mysql server 192.168.0.201 real mysql server 1 192.168.0.202 real mysql server 2 Thanks ----- Original Message ----- From: "Simone Segato" <[email protected]> To: <[email protected]> Sent: Wednesday, August 10, 2005 11:29 AM Subject: Re: Installation problems > On Wed, 2005-08-10 at 09:58, Robert Bates wrote: > > I have six servers that I am trying to set up in the High Capacity > > High Availability and Load Balancing topology on Fedora Core 4 and am > > fairly new to Linux. > > > > Problem 1: After setting up heartbeat on my two Linux Directors, when > > I use ip addr sh eth0, the virtual IP addresses don't show up. > > > > Problem 2: After setting up arptables on all of my real servers ( > > wish I had tested the first one first) I have lost all connectivity to > > the network with these servers except for my one RH9 server. There is > > also an IP address conflict between two servers even though there is > > nothing on the network with the IP addresses I am trying to use. > > > > Any Suggestions?? > > > > Horms- interested in doing a set up on my network remotely? > > Hello Robert, > > I'm fairly new to Ultramonkey as well, but thought to suggest a couple > of things that may help you out. > > Problem 1: > - Have you setup the virutal IP's in the haresources file located in the > /etc/ha.d directory? I'm assuming you have. There should be a template > file for you. I have it configured at the bottom on my servers to look > something like this: > > UM01 IPaddr::192.168.1.1/24/eth0 \ > IPaddr::192.168.1.2/24/eth0 \ > ldirectord::ldirectord.cf > > Also, make sure that ldirectord is stopped and then restart heartbeat. > Heartbeat should always startup first which will in turn initialize the > virtual IPs and start ldirectord. You should not need to start > ldirectord manually unless of course you made changes to the > ldirectord.cf file (correct me if I'm wrong here). It does take one to > two minutes for the virtual IPs to be initialized by heartbeat. You > shouldn't have to create the virtual IP's using ifconfig or ip commands, > heartbeat takes care of this by looking in the haresources file. > > Problem 2: > - Did you setup the arptables by stopping arptables_jf, issuing the > arptables-noarp-addr x.x.x.x start, then issuing arptables_jf save and > then arptables_jf start? If not make sure you've done that for your > virtual IPs on your real servers. Make sure not to do this for your > real IPs on your real servers. > - I'm assuming you installed arptables-noarp-addr... I've done stranger > things myself. > - Inspect your arptables by issuing this command /sbin/arptables -L -v > -n. You should see how many hits your virtual addresses are getting. > If you see nothing or not all your virtual IPs from this command then > you must enter them using the command arptables_jf and > arptables-noarp-addr as I mentioned above. > > Again, I'm also fairly new at this as well, but have run into some snags > myself such as your Problem #1. Hope this helps. > > Simone. > > > -- > Ultra Monkey - http://www.ultramonkey.org/ > To UNSUBSCRIBE, email to [email protected], with a body: > unsubscribe ultramonkey-users [email protected] > where "[email protected]" is YOUR email address. > > -- Ultra Monkey - http://www.ultramonkey.org/ To UNSUBSCRIBE, email to [email protected], with a body: unsubscribe ultramonkey-users [email protected] where "[email protected]" is YOUR email address.