LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

my configuration file

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: my configuration file
From: "Mailhebuau Christophe" <admins@xxxxxxxxx>
Date: Tue, 21 Feb 2006 14:27:58 +0100 (CET)
Hi,

This is my configuration files :

on RESURA-APP1 :

ip addr sh

1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:14:5e:31:83:14 brd ff:ff:ff:ff:ff:ff
    inet 192.168.6.2/24 brd 192.168.6.255 scope global eth0
    inet 192.168.6.240/24 brd 192.168.6.255 scope global secondary eth0
3: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:14:5e:31:83:15 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.20/24 brd 192.168.1.255 scope global eth1

on RESURA-APP2 :

1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
    inet 192.168.6.240/32 brd 192.168.0.255 scope global lo:0
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:11:25:41:5d:7e brd ff:ff:ff:ff:ff:ff
    inet 192.168.6.3/24 brd 192.168.6.255 scope global eth0
3: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:11:25:41:5d:7f brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.30/24 brd 192.168.1.255 scope global eth1



File /etc/init.d/haresources sur RESURA-APP1 :
resura-app1 \
        ldirectord::ldirectord.cf \
        LVSSyncDaemonSwap::master \
        IPaddr2::192.168.6.240/24/eth0/192.168.6.255

File /etc/init.d/haresources sur RESURA-APP2 :
resura-app1 \
        ldirectord::ldirectord.cf \
        LVSSyncDaemonSwap::master \
        IPaddr2::192.168.6.240/24/eth0/192.168.6.255

lan configuration servers (2) :

SERVEUR RESURA-APP1 :

</etc/sysconfig/network-scripts/ifcfg-eth0>
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.6.2
NETMASK=255.255.255.0
GATEWAY=192.168.6.254
ONBOOT=yes
TYPE=Ethernet

</etc/sysconfig/network-scripts/ifcfg-eth1>
DEVICE=eth1
BOOTPROTO=static
BROADCAST=192.168.1.255
IPADDR=192.168.1.20
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes
TYPE=Ethernet

</etc/sysconfig/network-scripts/ifcfg-lo>
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback

</etc/sysconfig/network-scripts/ifcfg-lo:0>
DEVICE=lo:0
IPADDR=192.168.6.240
NETMASK=255.255.255.255
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
ONBOOT=yes
NAME=loopback


SERVEUR RESURA-APP2 :
</etc/sysconfig/network-scripts/ifcfg-eth0>
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.6.3
NETMASK=255.255.255.0
GATEWAY=192.168.6.254

</etc/sysconfig/network-scripts/ifcfg-eth1>
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.1.30
NETMASK=255.255.255.0

</etc/sysconfig/network-scripts/ifcfg-lo>
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback

</etc/sysconfig/network-scripts/ifcfg-lo:0>
DEVICE=lo:0
IPADDR=192.168.6.240
NETMASK=255.255.255.255
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
ONBOOT=yes
NAME=loopback

-- 
Cordialement,
Christophe Mailhebuau http://www.justlinux.org
GPG: 1024D/75B07F8D: BD18 2D01 D954 A339 E35B 9EA1 4240 0410 75B0 7F8D


<Prev in Thread] Current Thread [Next in Thread>
  • my configuration file, Mailhebuau Christophe <=