RH/CentOS network configurations
theBlueSage
tbs-Gb/NUjX2UK8 at public.gmane.org
Tue Sep 8 14:17:15 EDT 2009
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
More information about the Discuss
mailing list