LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Need HELP! FOS does not work! What means SIOCGIFADDR failed?

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Need HELP! FOS does not work! What means SIOCGIFADDR failed?
From: thomas.hoelsken@xxxxxx
Date: Mon, 23 Oct 2000 14:24:05 +0100

Hi,

I have a big problem with my FOS installation. Whenever I start pulse on primary
and backup node, the primary is told to shutdown his services and the backup
will takeover. But then the primary doesn't really stop, he runs up his services
again and then even the primary and the backup node are broadcasting the virtual
IP-adress.

My Backup node allways says "SIOCGIFADDR failed: Die angeforderte Adresse kann
nicht zugewiesen werden" in his log. What does this mean?

My logs:

Primary:

Oct 23 14:17:28 clu-lnx-01 pulse[14252]: PARTNER HAS TOLD US TO GO INACTIVE!
Oct 23 14:17:28 clu-lnx-01 pulse[14265]: running command  "/sbin/ifconfig"
"eth0:1" "down"
Oct 23 14:17:28 clu-lnx-01 pulse[14252]: running command  "/usr/sbin/fos"
"--monitor" "-c" "/etc/lvs.cf" "--nofork"
Oct 23 14:17:28 clu-lnx-01 fos[14266]: Stopping local services (if any)
Oct 23 14:17:31 clu-lnx-01 pulse[14252]: fos process exited -- performing
service failover
Oct 23 14:17:31 clu-lnx-01 pulse[14252]: running command  "/usr/sbin/fos"
"--active" "-c" "/etc/lvs.cf" "--nofork"
Oct 23 14:17:31 clu-lnx-01 fos[14272]: Stopping local services (if any)
Oct 23 14:17:31 clu-lnx-01 pulse[14273]: running command  "/sbin/ifconfig"
"eth0:1" "192.168.126.65" "netmask" "0.0.0.0" "broadcast" "255.255.255.255" "up"
Oct 23 14:17:31 clu-lnx-01 pulse[14271]: running command  "/usr/sbin/send_arp"
"-i" "eth0" "192.168.126.65" "0050DA1CBDC6" "192.168.126.255" "ffffffffffff"
Oct 23 14:17:31 clu-lnx-01 pulse[14258]: gratuitous fos arps finished

Backup:

Oct 23 14:16:03 clu-lnx-02 pulse[740]: fos process exited -- restarting it
Oct 23 14:16:03 clu-lnx-02 pulse[740]: running command  "/usr/sbin/fos"
"--active" "-c" "/etc/lvs.cf" "--nofork"
Oct 23 14:16:03 clu-lnx-02 fos[805]: SIOCGIFADDR failed: Die angeforderte
Adresse kann nicht zugewiesen werden
Oct 23 14:16:03 clu-lnx-02 fos[805]: Stopping local services (if any)
Oct 23 14:16:03 clu-lnx-02 pulse[807]: running command  "/sbin/ifconfig"
"eth0:1" "192.168.126.65" "netmask" "0.0.0.0" "broadcast" "255.255.255.255" "up"
Oct 23 14:16:03 clu-lnx-02 pulse[806]: running command  "/usr/sbin/send_arp"
"-i" "eth0" "192.168.126.65" "005004D2713E" "192.168.126.255" "ffffffffffff"
Oct 23 14:16:03 clu-lnx-02 pulse[784]: gratuitous fos arps finished
Oct 23 14:16:05 clu-lnx-02 pulse[740]: Notifying partner WE are taking control!
Oct 23 14:16:05 clu-lnx-02 pulse[740]: fos process exited -- restarting it
Oct 23 14:16:05 clu-lnx-02 pulse[740]: running command  "/usr/sbin/fos"
"--active" "-c" "/etc/lvs.cf" "--nofork"
Oct 23 14:16:05 clu-lnx-02 fos[815]: SIOCGIFADDR failed: Die angeforderte
Adresse kann nicht zugewiesen werden
Oct 23 14:16:05 clu-lnx-02 fos[815]: Stopping local services (if any)
Oct 23 14:16:05 clu-lnx-02 pulse[817]: running command  "/sbin/ifconfig"
"eth0:1" "192.168.126.65" "netmask" "0.0.0.0" "broadcast" "255.255.255.255" "up"
Oct 23 14:16:05 clu-lnx-02 pulse[816]: running command  "/usr/sbin/send_arp"
"-i" "eth0" "192.168.126.65" "005004D2713E" "192.168.126.255" "ffffffffffff"
Oct 23 14:16:05 clu-lnx-02 pulse[794]: gratuitous fos arps finished

My lvs.cf:
#
# Globale Definitionen des Clusters
#
service = fos
primary = 192.168.126.66
backup = 192.168.126.67
backup_active = 1
heartbeat = 1
heartbeat_port = 1050
keepalive = 5
deadtime = 20
rsh_command = rsh
network = nat
nat_router = 192.168.126.254 eth0:2
#
# Per-service Definitionen
#
failover ftpcluster {
active = 1
address = 192.168.126.65 eth0:1
port = 21
timeout = 10
reentry = 60
}

ANYONE WHO KNOWS THE PROBLEM???

Thanks!

Thomas Hoelsken
IT-TM-KS
C&N Touristic AG
Zimmersmühlenweg 55
61440 Oberursel
GERMANY
Phone: +49-6171-651198
Fax: +49-6171-6541198
Mail: thomas.hoelsken@xxxxxx




<Prev in Thread] Current Thread [Next in Thread>