Re: Multiple NICs, partial success, partial weirdness

2009-03-03 Diskussionsfäden Carsten Aulbert
Hi again, Carsten Aulbert schrieb: Yesterday I reinstalled a computer several times, tuning ssh settings and other customizations, however, I'm not aware to change something substantial, but suddenly it seems the wrong entry in pxeboot.cfg is modified: grep 'disable'

Re: Multiple NICs, partial success, partial weirdness

2009-03-03 Diskussionsfäden Thomas Lange
On Tue, 03 Mar 2009 10:49:29 +0100, Carsten Aulbert cars...@welcomes-you.com said: Yesterday I reinstalled a computer several times, tuning ssh settings and other customizations, however, I'm not aware to change something substantial, but suddenly it seems the wrong entry in

Re: Multiple NICs, partial success, partial weirdness

2009-03-03 Diskussionsfäden Thomas Lange
On Tue, 03 Mar 2009 11:44:35 +0100, Carsten Aulbert cars...@welcomes-you.com said: $ grep 'IPADDR' install-200903*/boot.log install-20090302_191531/boot.log:IPADDR='10.20.30.3' install-20090302_192700/boot.log:IPADDR='172.28.20.3'

Re: Multiple NICs, partial success, partial weirdness

2009-03-03 Diskussionsfäden Carsten Aulbert
Hi again, Thomas Lange schrieb: grep DHCPOFFER */dhclient.log will show you which DHCP server had sent the IP address. as expected, sometimes one is faster than the other # grep DHCPOFFER install-200903*/dhclient.log install-20090302_191531/dhclient.log:DHCPOFFER from 10.10.16.78

Re: Multiple NICs, partial success, partial weirdness

2009-03-03 Diskussionsfäden Thomas Lange
On Tue, 03 Mar 2009 12:10:57 +0100, Carsten Aulbert cars...@welcomes-you.com said: as expected, sometimes one is faster than the other # grep DHCPOFFER install-200903*/dhclient.log install-20090302_191531/dhclient.log:DHCPOFFER from 10.10.16.78

Re: Multiple NICs, partial success, partial weirdness

2009-03-03 Diskussionsfäden Carsten Aulbert
Sorry, rewriting my email again (again wrong from address, sorry Thomas, it's now sitting in the moderator queue) Thomas Lange schrieb: On Tue, 03 Mar 2009 12:34:31 +0100, Carsten Aulbert cars...@welcomes-you.com said: Well, we do. One for the subnet on eth0 (10.0.0.0/8, data network,

netboot rescue disk with FAI

2009-03-03 Diskussionsfäden Jean Spirat
Hello, I wanted to know if anyone use fAI to netboot a rescue disk on their system. I mean when a server is having issue and do not boot use the pxe boot and fai to use it to netboot a live system that will be used with parted and other filesystem tools to repair the system and chroot into

Re: Multiple NICs, partial success, partial weirdness

2009-03-03 Diskussionsfäden Ralf Utermann
Carsten Aulbert wrote: [...] The problem lies with the initramfs which is probing all found NICs simultaneously with DHCP (when ip=dhcp is given) and then the fastest or slowest reply survives in boot.log. To solve this one could o disable all but one MAC for DHCP, but that's not really a

Re: netboot rescue disk with FAI

2009-03-03 Diskussionsfäden Thomas Lange
On Tue, 03 Mar 2009 14:51:49 +0100, Jean Spirat jeanspi...@squirk.org said: I wanted to know if anyone use fAI to netboot a rescue disk on their system. I mean when a server is having issue and do not boot use the pxe boot and fai to use it to netboot a live system that will

Re: Multiple NICs, partial success, partial weirdness

2009-03-03 Diskussionsfäden Carsten Aulbert
Ralf Utermann schrieb: if you have several nodes with identical hardware setup (like identical motherboard with 2 onboard ports, an additional dual-port NIC always in the same slot) you could add an udev rules file to nfsroot and initrd (using a initramfs-tools/hooks script), where

Re: netboot rescue disk with FAI

2009-03-03 Diskussionsfäden Jean Spirat
you can define actions on your own (for e.g. myaction) and boot them with FAI_ACTION=myaction. Therefore create the file hooks/myaction in the config space which will automatically be executed. Great ! Can you help me find the script used by sysinfo so i can customize it to my needs ?

Re: netboot rescue disk with FAI

2009-03-03 Diskussionsfäden Henning Sprang
Jean Spirat wrote: Hello, I wanted to know if anyone use fAI to netboot a rescue disk on their system. I mean when a server is having issue and do not boot use the pxe boot and fai to use it to netboot a live system that will be used with parted and other filesystem tools to repair the

Re: netboot rescue disk with FAI

2009-03-03 Diskussionsfäden Jean Spirat
But don't go editing exactly this file :) Write your own action, read the guide, and take this file as example. Henning Thanks ! yes this is what i want, take this as an exemple and create my hook with it. regards, Jean.

Re: netboot rescue disk with FAI

2009-03-03 Diskussionsfäden Jean Spirat
Most live cd's come with their own config and system for netbooting. I don't see a benefit of doing this with FAI. These systems most often have much more features than the FAI nfsroot when you use it with sysinfo instead of install. the goal here is to use the existing network

Re: netboot rescue disk with FAI

2009-03-03 Diskussionsfäden Henning Sprang
Jean Spirat wrote: Most live cd's come with their own config and system for netbooting. I don't see a benefit of doing this with FAI. These systems most often have much more features than the FAI nfsroot when you use it with sysinfo instead of install. the goal here is to use the