Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
okay, scratch that, I figured out that pre-up sysctl -p simply performed a /sbin/sysctl reread before bringing up the interface, si I have that set and now unnecessary. Having said that, if anyone has got good info/tutorials on how to use heartbeat/ldirectord in a Centos Environment I love to see them as this is proving frustratingly undocumented. Centos, platypus-like as ever, may look like Red Hat, but Red Hat it is not, especially when it comes to LB/cluster work .. :( Thank God I live in a state with good breweries ! Richard On Tue, 2009-09-08 at 12:06 -0400, theBlueSage wrote: > Hi All, > > I trying to configure heartbeat-ldirectord on a pair of Centos boxes > that form part of a mysql cluster. The cluster works and is totally > happy. I am just trying to load balance the two SQL servers (APIs) > > In the 'debian way' I can add the following line to a network > interface : > > #vi /etc/network/interfaces > > auto lo:0 > iface lo:0 inet static > address 10.6.1.75 > netmask 255.255.255.255 > pre-up sysctl -p > /dev/null > > however in RedHat/Centos when I edit the equivalent file and add the 'pre-up' line : > > #vi /etc/sysconfig/network-scripts/ifcfg-lo:0 > > DEVICE=lo:0 > IPADDR=10.6.1.75 > NETMASK=255.255.255.255 > NETWORK=10.6.1.0 > BROADCAST=10.6.1.255 > ONBOOT=yes > pre-up sysctl -p > /dev/null > > > I get a 'command not found' .... > > IS there a way to do the pre-up in RH/Centos ? > > I also apologize in advance to the RedHat folks for lumping CentOS in with them. I have to use > it at work (at home I am a Debian fan) and although it is 'code from the upstream provider' it > doesnt always act in the same way as 'code from the upstream provider'. Also, RedHat docs don't > always apply to CentOS setups, and CentOs docs dont .... well they just dont, really. > > in hope, > > Richard > > > > _______________________________________________ > Discuss mailing list > Discuss-mNDKBlG2WHs at public.gmane.org > http://lists.blu.org/mailman/listinfo/discuss
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |