Re: Installation problems
"Robert Bates" <[email protected]>
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <005201c59f57$b0db4b60$0c00a8c0@c840498a> |
Hello Simone, That worked on LVS1 but not on LVS2. I also went through the LVS tutorial that Rick mentioned with the same results. Now on LVS1 when I check the status of ldirectord with /usr/sbin/ldirectord ldirectord.cf status is replys with the error that ldirectord is stopped for /etc/ha.d/ldirectord Thank you again for the help, Robert ----- Original Message ----- From: "Simone Segato" <[email protected]> To: <[email protected]> Sent: Thursday, August 11, 2005 2:07 PM Subject: Re: Installation problems > Hello Robert, > > In your haresources file on both nodes try this: > > On LVS1 put this in haresources > lvs1.daedulussoftware.com IPaddr2::192.168.0.100/24/eth0 \ > IPaddr2::192.168.0.200/24/eth0 > LVS2 put this in haresources > lvs2.daedulussoftware.com IPaddr2::192.168.0.100/24/eth0 \ > IPaddr2::192.168.0.200/24/eth0 > > Let me know how that turns out. > Simone. > > Robert Bates wrote: > > >Right > > > >----- Original Message ----- > >From: "Rick Willmore" <[email protected]> > >To: <[email protected]> > >Sent: Thursday, August 11, 2005 1:42 PM > >Subject: RE: Installation problems > > > > > > > > > >>Uname -n on both nodes matches the node names you put in as well as the > >>ip addresses right???? > >> > >>R. > >> > >>-----Original Message----- > >>From: [email protected] > >>[mailto:[email protected]] On Behalf Of Robert > >>Bates > >>Sent: Thursday, August 11, 2005 1:21 PM > >>To: [email protected] > >>Subject: Re: Installation problems > >> > >>Hello Simone, > >> > >>I checked but the server names is ha.cf where correct. I have attached > >>my haresources and ha.cf files if you wouldn't mind taking a look. > >> > >>Robert > >> > >> > >>----- Original Message ----- > >>From: "Simone Segato" <[email protected]> > >>To: <[email protected]> > >>Sent: Thursday, August 11, 2005 12:13 PM > >>Subject: Re: Installation problems > >> > >> > >> > >> > >>>Hello Robert, > >>> > >>>Type uname -n on both LVS nodes. The result you get back in the node > >>>name for you system. You have to specify this name in the ha.cf file > >>>about half way down. You will notice there is an entry in the > >>> > >>> > >>template > >> > >> > >>>ha.cf file that reads: > >>> > >>>node kathy > >>> > >>>Replace kathy with your node name. > >>> > >>>Hope that works for you. > >>> > >>>Simone. > >>> > >>>Robert Bates wrote: > >>> > >>> > >>> > >>>>I added IPaddr2::192.168.0.100/24/eth0 and > >>>> > >>>> > >>IPaddr2::192.168.0.200/24/eth0 > >> > >> > >>>>to haresources and now I get a bad node name error. > >>>> > >>>>----- Original Message ----- > >>>>From: "Horms" <[email protected]> > >>>>To: <[email protected]> > >>>>Sent: Thursday, August 11, 2005 1:14 AM > >>>>Subject: Re: Installation problems > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>>>On Wed, Aug 10, 2005 at 07:35:16PM -0700, Robert Bates wrote: > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>>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 > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>to your haresourses should add this. > >>>>> > >>>>> > >>>>>To elaborate slightly on ip vs ifconfig, which came up in another > >>>>> > >>>>> > >>mail. > >> > >> > >>>>>ifconfig is the old-school way of configuring interfaces. It along > >>>>> > >>>>> > >>with > >> > >> > >>>>>route is what the IPaddr resource uses. This works, mostly, but it > >>>>> > >>>>> > >>turns > >> > >> > >>>>>out that ifconfig is not very well suited to this kind of work for a > >>>>>variety of reasons. IPaddr2 is a reimlimentation of IPaddr which > >>>>> > >>>>> > >>makes > >> > >> > >>>>>use if the ip command, and as a result is a lot cleaner, and > >>>>> > >>>>> > >>provides > >> > >> > >>>>>some features that are either impossible, or to complex to provide > >>>>> > >>>>> > >>using > >> > >> > >>>>>IPaddr. > >>>>> > >>>>>For your purposes either should do, the syntax is the same. > >>>>>But IPaddr2 is the way of the future, so I recommend using that. > >>>>> > >>>>>ip is a more powerful tool that allows you to configure interfaces, > >>>>>routing, policy routing, and all sorts of other fun stuff. > >>>>>As mentioned above, this is what IPaddr2 uses. > >>>>> > >>>>>The main catch is that the model that ifconfig uses to add > >>>>> > >>>>> > >>additional > >> > >> > >>>>>addresses to an interface - called an alias - basically sets up a > >>>>>separate virtual interface. Whereas ip just adds a secondary address > >>>>> > >>>>> > >>to > >> > >> > >>>>>the interface. This is important because while ip can see aliases > >>>>> > >>>>> > >>set up > >> > >> > >>>>>using ifconfig, ifconfig can't see secondary addresses added using > >>>>> > >>>>> > >>ip. > >> > >> > >>>>>So if you use ifconfig (which lets face it is a bit easier to type, > >>>>>especially if you have been using it for years) and you think > >>>>>there are some addresses missing, double check using ip addr sh > >>>>> > >>>>>-- > >>>>>Horms > >>>>> > >>>>> > >>>>>-- > >>>>>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. > >>> > >>> > >>> > >>> > >>-- > >>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. > > -- 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.