Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd March 2010, 15:32
SAVERSERVER SAVERSERVER is offline
Junior Member
 
Join Date: Mar 2010
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Xen Cluster Management With Ganeti On Debian Lenny

Hi,

I have to "Xen Cluster Management With Ganeti On Debian Lenny."
Once after I apt-get install ganeti and make adjustments dug a reboot, the system starts normally. Only the server under node1.example.com IP address 192.168.0.100 is not ping from other machines. The server is 192.168.0.100 but with the net on eth0.

Has jeman a proposed solution?

best regards
loisl
Reply With Quote
Sponsored Links
  #2  
Old 24th March 2010, 14:20
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Can you post the outputs of
Code:
ifconfig
and
Code:
route -nee
on node1?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 24th March 2010, 18:29
SAVERSERVER SAVERSERVER is offline
Junior Member
 
Join Date: Mar 2010
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi falco,

Many thanks you for your help

if I boot with the normal kernel, the network connection is OK ...
I can not do anything under XEN times out with a ping.

ifconfig:
Code:
x602:~# ifconfig
eth0      Link encap:Ethernet  Hardware Adresse 00:30:48:84:f0:94
          inet Adresse:192.168.178.118  Bcast:192.168.178.255  Maske:255.255.255.0
          inet6-Adresse: fe80::230:48ff:fe84:f094/64 Gültigkeitsbereich:Verbindung
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1
          RX packets:170 errors:0 dropped:0 overruns:0 frame:0
          TX packets:97 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:100
          RX bytes:15130 (14.7 KiB)  TX bytes:13038 (12.7 KiB)

lo        Link encap:Lokale Schleife
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
          UP LOOPBACK RUNNING  MTU:16436  Metrik:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0
          RX bytes:560 (560.0 B)  TX bytes:560 (560.0 B)

x602:~#
route -nee:
Code:
x602:~# cat /root/route.txt
Kernel-IP-Routentabelle
Ziel            Gateway         Maske           Flags Metric Ref    Benutzer Iface    MSS   Fenster irtt
192.168.178.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0     0     0      0
0.0.0.0         192.168.178.1   0.0.0.0         UG    0      0        0 eth0     0     0      0
x602:~# route -nee
Kernel-IP-Routentabelle
Ziel            Gateway         Maske           Flags Metric Ref    Benutzer Iface    MSS   Fenster irtt
192.168.178.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0     0     0      0
0.0.0.0         192.168.178.1   0.0.0.0         UG    0      0        0 eth0     0     0      0
x602:~#
/etc/network/interfaces:
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#allow-hotplug eth0
#iface eth0 inet dhcp
auto eth0
iface eth0 inet static
        address 192.168.178.118
        netmask 255.255.255.0
        network 192.168.178.0
        broadcast 192.168.178.255
        gateway 192.168.178.1
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 192.168.178.1
        dns-search saferwww.com
/etc/hosts:
Code:
127.0.0.1       localhost.localdomain   localhost
192.168.178.118   x602.saferwww.com     x602
192.168.178.119   x606.saferwww.com     x606
192.168.178.120   clu1.saferwww.com     clu1
192.168.178.121   ins1.saferwww.com     ins1

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
best regards
loisl

Last edited by SAVERSERVER; 25th March 2010 at 10:01.
Reply With Quote
  #4  
Old 26th March 2010, 02:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Is there a firewall on node1? What's the output of
Code:
iptables -L
?
Is it possible that there's another system with the IP 192.168.178.118 in your subnet?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 26th March 2010, 15:21
SAVERSERVER SAVERSERVER is offline
Junior Member
 
Join Date: Mar 2010
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi falco,

I have found the cause ...
it has nothing to do with the network!

if I have the changes to the /boot/grub/menu.lst I get to run the network problem:
Code:
[...]
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=dom0_mem=256M

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0 nosmp
[...]
I'm using now STANDARD:
The network is now OK!
What does this have implications for?
Code:
[...]
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0 nosmp
[...]
cat /proc/cpuinfo:
Code:
602:~# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      :                   Intel(R) Xeon(TM) CPU 3.60GHz
stepping        : 10
cpu MHz         : 3600.316
cache size      : 2048 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu de tsc msr pae cx8 apic sep mtrr cmov pat clflush acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc pni cid cx16 lahf_lm
bogomips        : 7205.09
clflush size    : 64
cache_alignment : 128
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      :                   Intel(R) Xeon(TM) CPU 3.60GHz
stepping        : 10
cpu MHz         : 3600.316
cache size      : 2048 KB
physical id     : 3
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 6
initial apicid  : 6
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu de tsc msr pae cx8 apic sep mtrr cmov pat clflush acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc pni cid cx16 lahf_lm
bogomips        : 7205.09
clflush size    : 64
cache_alignment : 128
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 2
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      :                   Intel(R) Xeon(TM) CPU 3.60GHz
stepping        : 10
cpu MHz         : 3600.316
cache size      : 2048 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu de tsc msr pae cx8 apic sep mtrr cmov pat clflush acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc pni cid cx16 lahf_lm
bogomips        : 7205.09
clflush size    : 64
cache_alignment : 128
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 3
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      :                   Intel(R) Xeon(TM) CPU 3.60GHz
stepping        : 10
cpu MHz         : 3600.316
cache size      : 2048 KB
physical id     : 3
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 7
initial apicid  : 7
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu de tsc msr pae cx8 apic sep mtrr cmov pat clflush acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc pni cid cx16 lahf_lm
bogomips        : 7205.09
clflush size    : 64
cache_alignment : 128
address sizes   : 36 bits physical, 48 bits virtual
power management:

THE NEXT PROBLEM:


aptitude install drbd8-modules-`uname -r` drbd8-utils
or better
aptitude install drbd8-modules-2.6.26-2-xen-amd64 drbd8-utils

echo drbd minor_count=64 >> /etc/modules
modprobe drbd minor_count=64

602:~# modprobe drbd minor_count=64
FATAL: Module drbd not found.
602:~#


Many thanks you for your help and
best regards
loisl

Last edited by SAVERSERVER; 26th March 2010 at 15:32.
Reply With Quote
  #6  
Old 27th March 2010, 12:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Please run
Code:
aptitude install drbd8-modules-`uname -r` drbd8-utils
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 27th March 2010, 18:54
SAVERSERVER SAVERSERVER is offline
Junior Member
 
Join Date: Mar 2010
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Code:
Please run
Code:

Code:
aptitude install drbd8-modules-`uname -r` drbd8-utils
sorry is not

would like load drbd8-modules-`uname -r` == drbd8-modules-2.6.26-1-xen-amd64

and not found !!!

Many thanks you for your help and
best regards
loisl
Reply With Quote
  #8  
Old 29th March 2010, 15:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

I think you should upgrade your kernel to 2.6.26-2-xen-amd64 first - then the other command should work.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 30th March 2010, 12:37
SAVERSERVER SAVERSERVER is offline
Junior Member
 
Join Date: Mar 2010
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

DRBD is working OK.

Why do I only have 128MB of memory available??

Code:
x602:/# gnt-node list
Node              DTotal  DFree MTotal MNode MFree Pinst Sinst
x602.saferwww.com 442600 442600   8191  7930   128     0     0
x606.saferwww.com 442600 442600   8191  7930   128     0     0
x602:/#
Code:
x602:/# gnt-instance add -t drbd -n x606.saferwww.com:x602.saferwww.com -o debootstrap -s 5g --swap-size 256 -m 256 --kernel /boot/vmlinuz-`uname -r` --ip 192.168.0.105 ins1.saferwww.com
Failure: prerequisites not met for this operation:
Not enough memory on node x606.saferwww.com for creating instance ins1.saferwww.com: needed 256 MiB, available 128 MiB
x602:/#
I test with 128MB and I get:
Code:
x602:/# gnt-instance add -t drbd -n x606.saferwww.com:x602.saferwww.com -o debootstrap -s 5g --swap-size 256 -m 128 --kernel /boot/vmlinuz-`uname -r` --ip 192.168.0.105 ins1.saferwww.com
* creating instance disks...
adding instance ins1.saferwww.com to cluster config
 - INFO: Waiting for instance ins1.saferwww.com to sync disks.
 - INFO: - device sda:  2.60% done, 767 estimated seconds remaining
 - INFO: - device sdb: 12.40% done, 41 estimated seconds remaining
 - INFO: - device sda:  7.30% done, 691 estimated seconds remaining
 - INFO: - device sda: 20.60% done, 332 estimated seconds remaining
 - INFO: - device sda: 33.90% done, 281 estimated seconds remaining
 - INFO: - device sda: 47.20% done, 227 estimated seconds remaining
 - INFO: - device sda: 60.50% done, 171 estimated seconds remaining
 - INFO: - device sda: 73.80% done, 287 estimated seconds remaining
 - INFO: - device sda: 87.10% done, 43 estimated seconds remaining
 - INFO: - device sda: 96.70% done, 14 estimated seconds remaining
 - INFO: - device sda: 100.00% done, 1 estimated seconds remaining
 - INFO: Instance ins1.saferwww.com's disks are in sync.
creating os for instance ins1.saferwww.com on node x606.saferwww.com
* running the instance OS create scripts...
* starting instance...
Failure: command execution error:
Could not start instance
x602:/#
Many thanks you for your help and
best regards
loisl
Reply With Quote
  #10  
Old 11th April 2010, 19:35
SAVERSERVER SAVERSERVER is offline
Junior Member
 
Join Date: Mar 2010
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I will absolutely ganeti, I have now started a new trial and the entire installed lenny 5.0.4 i386.

Code:
x602:~# uname -r
2.6.26-1-xen-686
x602:~#
korrekt wie im howto

Code:
x602:~# cd /boot
x602:/boot# ln -s vmlinuz-`uname -r` vmlinuz-2.6-xenU
x602:/boot# ln -s initrd.img-`uname -r` initrd-2.6-xenU
x602:/boot# aptitude install drbd8-modules-`uname -r` drbd8-utils

Then come the error!!
[...]
Lese Task-Beschreibungen... Fertig
Konnte kein Paket finden, dessen Name oder Beschreibung auf drbd8-modules-2.6.26-1-xen-686 passt.
Konnte kein Paket finden, dessen Name oder Beschreibung auf drbd8-modules-2.6.26-1-xen-686 passt.
Es werden keine Pakete installiert, aktualisiert oder entfernt.
[...]


Has anyone still a help to me

Thank you and
best regards
loisl
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Xen Cluster Management With Ganeti On Debian Lenny kimmo HOWTO-Related Questions 5 18th January 2011 17:14
[debian 5 + ispconfig 3] Unable to send mail tanakskool HOWTO-Related Questions 6 4th November 2009 18:20
Perfect XEN Setup on Debian Lenny - Live Migration Issues AlexKent HOWTO-Related Questions 8 25th April 2009 11:57
Network (bridge?) issue after following: Xen Cluster Management With Ganeti On Debian nux HOWTO-Related Questions 2 27th March 2008 17:14
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 00:57


All times are GMT +2. The time now is 18:15.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.