| 00:01 lazyb0y | h01ger: jo |
| 00:02 lazyb0y | juri_: hmm, but it doesn't know ahwt the most important fai is :) |
| 00:03 lazyb0y | h01ger: BTW: apt-mirror sagte, es waeren sowas wie 52 GB, aber ohne etch, weil ich das erstmal nicht laden wollte - habe ich noch |
| 04:34 juri_ | actually, i was just talking to a google employee. they know fai, the fully automated installer. :) |
| 05:22 h01ger | juri_, and yet they/someone there invented "slack". (which i found very similar to fai, little differences and less features) |
| 06:13 mikap | moin; what's the recommended way to use --arch $FOO for debootstrap inside fai dirinstall? I'd like to install a i386 system on a amd64 host |
| 06:14 sep | h01ger, i utterly failed to use taskinst on edu packages. I can not make it predictable. so i have replaced tasks with package lists. is this a problem with the taskinst or with edu's packages ? |
| 06:16 h01ger | sep, i have no idea, ask pere :) |
| Action: h01ger needs to pack and leave for the airport.. |
| 06:17 sep | have a good trip |
| 06:17 h01ger | mikap, i'm not sure this is recommended or has been done (often). its pretty easy+straightforward to create a 2nd nfsroot though.. (and has its obvious drawback: space) |
| 06:17 h01ger | sep, thanks :) |
| 06:17 sep | and see you soon :) |
| 06:18 mikap | h01ger: ok, so I should add such a feature on my own? I need the feature during runtime, no possibility to pre-generate a chroot/nfsroot |
| 06:19 mikap | ah wait, shouldn't it be enough to use: |
| 06:19 mikap | FAI_DEBOOTSTRAP="--arch i386 sid http://ftp.de.debian.org/debian" |
| 06:19 mikap | instead of: |
| 06:19 mikap | FAI_DEBOOTSTRAP="sid http://ftp.de.debian.org/debian" |
| 06:19 mikap | ? |
| 06:19 mikap | oh, even FAI_DEBOOTSTRAP_OPTS exists :) |
| 06:20 h01ger | :) |
| 06:20 mikap | this even answers my question I think ;) |
| 06:20 mikap | thanks for listening ;) |
| MT (~MT@dove.informatik.tu-muenchen.de) joined #fai. |
| 07:04 sep | MT yes i am still here |
| 07:04 MT | hi :-) |
| 07:04 MT | could you do another setup_harddisks_2 test? |
| 07:05 sep | i even replaced the 3 sleeps with udevsettle --timeout=10 and reinstalled and it worked perfectly here |
| 07:05 sep | i assume that was what you wanted to test ? :) |
| 07:05 MT | yes :-) |
| 07:05 MT | great, thanks! |
| 07:05 MT | thus I'll commit that one ... |
| 07:08 sep | :) |
| 07:08 MT | did stockholm already try the setup with lvm2 in FAIBASE? |
| 07:08 sep | MT, not to my knowledge |
| 07:09 sep | [stockholm] idle 64:41:15, think not |
| 07:09 MT | ok, never mind |
| 07:09 MT | but now it does work reliably for you sep, doesn't it? |
| 07:09 sep | yeah |
| 07:10 sep | i'v reinstalled this box 3 times yesterday, no issues (with lvm and boot) |
| 07:10 sep | and once today |
| 07:10 sep | and am about to do it again :) |
| 07:10 MT | but you still do the dd/hdparm thing, don't you? |
| 07:10 sep | yeah i have to |
| 07:10 sep | otehrways it reuses the previous lv's |
| 07:11 MT | ok, I'll try to figure that out at the dev-workshop in Essen |
| 07:11 sep | ofcourse it works as long as you accidently use the same partition layout :P but that's just coincidence |
| 07:13 eartoast | moin |
| ErKa (keryell@m5.wifi.enstb.org) joined #fai. |
| MT (~MT@dove.informatik.tu-muenchen.de) left irc: Ping timeout: 480 seconds |
| MT (~MT@dove.informatik.tu-muenchen.de) joined #fai. |
| baldy_ (baldy@brain.servercrew.de) joined #fai. |
| stockholm (~andreas@petrus.schuldei.org) got netsplit. |
| h01ger (~holger@socket.layer-acht.org) got netsplit. |
| lazyb0y (~henning@v683.vanager.de) got netsplit. |
| juri_ (Uay6R74Bjb@volumehost.com) got netsplit. |
| sep (~sep@40.211.jostedal.no) got netsplit. |
| maswan (maswan@kennedy.acc.umu.se) got netsplit. |
| torkel (torkel@monsun.hpc2n.umu.se) got netsplit. |
| baldy (baldy@brain.servercrew.de) got netsplit. |
| \sh_away (~shermann@server3.servereyes.de) got netsplit. |
| MT (~MT@dove.informatik.tu-muenchen.de) left irc: Remote host closed the connection |
| stockholm (~andreas@petrus.schuldei.org) returned to #fai. |
| sep (~sep@40.211.jostedal.no) returned to #fai. |
| h01ger (~holger@socket.layer-acht.org) returned to #fai. |
| lazyb0y (~henning@v683.vanager.de) returned to #fai. |
| juri_ (Uay6R74Bjb@volumehost.com) returned to #fai. |
| \sh_away (~shermann@server3.servereyes.de) returned to #fai. |
| maswan (maswan@kennedy.acc.umu.se) returned to #fai. |
| torkel (torkel@monsun.hpc2n.umu.se) returned to #fai. |
| MT (~MT@dove.informatik.tu-muenchen.de) joined #fai. |
| \sh_away (~shermann@server3.servereyes.de) left irc: Ping timeout: 480 seconds |
| baldy (baldy@brain.servercrew.de) got lost in the net-split. |
| Mrfai (~lange@kueppers.informatik.uni-koeln.de) joined #fai. |
| MT (~MT@dove.informatik.tu-muenchen.de) left irc: Remote host closed the connection |
| MT (~MT@dove.informatik.tu-muenchen.de) joined #fai. |
| allee (~ach@allee.mpe.mpg.de) left irc: Remote host closed the connection |
| allee (~ach@allee.mpe.mpg.de) joined #fai. |
| Mrfai (~lange@kueppers.informatik.uni-koeln.de) left irc: Quit: leaving |
| Mrfai (~lange@suenner.informatik.uni-koeln.de) joined #fai. |
| ErKa (keryell@m5.wifi.enstb.org) left irc: Ping timeout: 480 seconds |
| woffs (~woffs@osiris.taz.de) joined #fai. |
| ErKa (~keryell@keryell.pck.nerim.net) joined #fai. |
| Action: oz_ hat nun faiserver.ph-freiburg.de |
| 11:46 oz_ | jetzt kann das hier endlich mal was werden |
| 12:09 stockholm | h01ger: ? |
| 12:09 stockholm | hat jemand h01ger gesehen? |
| 12:09 stockholm | ist der in spanien? |
| 12:09 sep | stockholm, i belive he left for the airport |
| 12:10 stockholm | we wanted to meet |
| 12:10 sep | (assuming my guess to what you asked about was correct) |
| 12:10 stockholm | in madrid |
| 12:10 stockholm | right :-) |
| 12:11 sep | stockholm, did you get a chance to retry root on lvm ? |
| 12:12 stockholm | sep: i will try today, but i did not so far |
| 12:14 MT | stockholm, did you get the (hopefully!) solution of adding lvm2 to your client's config? |
| 12:25 stockholm | MT: no, not yet |
| 12:26 stockholm | i am preparing my trip to spain |
| 12:26 stockholm | MT: but i will try stuff tonight or now, depending on how well things go :-) |
| 12:27 MT | yeah, no need to hurry |
| 12:28 stockholm | MT: can you tell me what changed? |
| 12:28 MT | the wiki page :-) |
| 12:28 MT | well, there seems to be one important point that we missed |
| 12:28 MT | you need to have lvm2 in the package_config of the client that you install |
| 12:38 stockholm | was that all? i think i had that already |
| 12:39 MT | well, you might need the update-initramfs call |
| 12:39 MT | but otherwise that at least solved the issue for sep |
| 12:39 MT | thus we hope to have found the general clue to this issue ... |
| Action: stockholm checks out the wiki page |
| 12:44 stockholm | so the only change is to add lvm2 to FAIBASE? |
| 12:45 stockholm | i did not have it there |
| 12:45 MT | well' it seems so |
| 12:45 MT | not necessarily FAIBASE |
| 12:45 stockholm | and grepping for lvm2 in my config dir did not turn it up either |
| 12:45 MT | but any class your client uses |
| 12:45 MT | ah :-) |
| 12:45 stockholm | so i might have imagined things |
| MT (~MT@dove.informatik.tu-muenchen.de) left irc: Remote host closed the connection |
| MT (~MT@dove.informatik.tu-muenchen.de) joined #fai. |
| MT (~MT@dove.informatik.tu-muenchen.de) left irc: Ping timeout: 480 seconds |
| i-R2D247 (~deed@tor-irc.dnsbl.oftc.net) left irc: Read error: Connection reset by peer |
| i-R2D247 (~deed@tor-irc.dnsbl.oftc.net) joined #fai. |
| sobersabre (~bilbo@89-139-26-158.bb.netvision.net.il) joined #fai. |
| 14:48 sobersabre | hi guys |
| 14:48 sobersabre | I am trying to work with classes. |
| 14:48 sobersabre | my 1st step was to browse /srv/fai/classes and edit some files in /srv/fai in general |
| 14:49 sobersabre | then I tried to boot machines, but they always used the default configuration |
| 14:49 sobersabre | do I have to define the new classes in some other way ? |
| 14:49 sobersabre | is there a command or something ? |
| 14:49 oz_ | sobersabre: fai-class |
| 14:50 oz_ | and the order of appearance in the FAI_CLASSES file on the installed client is important |
| 14:50 sobersabre | hm... what have I manually missed then ? |
| 14:50 oz_ | last class has highest priority |
| 14:50 sobersabre | OK |
| 14:53 sobersabre | hm... I am still confused. |
| 14:53 sobersabre | please let me write some crap, and then stop me when I go too far. |
| 14:53 sobersabre | but if I'm correct... confirm. ok ? |
| 14:54 sobersabre | I understand "class" as a set of configuration for end-workstation, the client. |
| 14:54 sobersabre | so, if I have 20 dev. statiojns and 30 production workernodes, I'd make 2 sets: DEV and PROD |
| 14:54 sobersabre | 2 classes. |
| 14:55 sobersabre | so 1st question is: how does the fai system knows which class to apply a given machine ? |
| 14:55 oz_ | 16:50 < oz_> last class has highest priority |
| 14:55 oz_ | 16:50 < oz_> and the order of appearance in the FAI_CLASSES file on the installed client is important |
| 14:55 oz_ | :-) |
| 14:56 oz_ | sorry, but just read again... |
| 14:56 oz_ | most ppl find this difficult |
| 14:56 sobersabre | I understand that it happens via the fai/config/class/50-host-classes |
| 14:56 sobersabre | script. |
| 14:56 oz_ | but it's only difficult becuse it's so simple. ;) |
| 14:56 sobersabre | oz_: I just want it in ... sloppy words :) |
| 14:57 sobersabre | so, am I wrong ? |
| 14:57 sobersabre | ( so far ) |
| 14:58 oz_ | no, you're right |
| 14:58 sobersabre | ok. |
| 14:58 sobersabre | My problem now is that I am trying to run client, and it should pickup the class |
| 14:58 sobersabre | but it doesn't |
| 14:58 sobersabre | it goes only for FAIBASE |
| 14:58 sobersabre | and the hostname is not set properly, it is set to be hostname==IP address. |
| 14:59 oz_ | show me your FAI classes file (on pastebin, or you webserver, don't paste it in irc...) |
| 14:59 sobersabre | THANKS. moment. |
| 15:00 oz_ | I have to leave in some minutes... |
| 15:00 oz_ | can I answer later on? |
| 15:06 glance | hmm.... |
| 15:06 glance | i have a idea. |
| 15:07 glance | i think a lot of you have encounterd disks rename-ing them selfs all the time. |
| Lin (~igor@200.179.57.57) joined #fai. |
| 15:07 glance | my tip would to implement using /dev/disk/by-path/ instead to sort the disks to a absolute order to get rid of the problem.... |
| ErKa (~keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds |
| 15:10 Mrfai | sobersabre: please post your fai.log, then we can see why you client only belongs to one class or only uses a certain class. |
| 15:24 sobersabre | guys, I am confused a bit more. |
| 15:26 sobersabre | Mrfai: are you here ? |
| 15:26 sobersabre | I am reading the fai guide. |
| 15:26 sobersabre | I have really not a bad understanding of english. |
| 15:27 sobersabre | please tell me I am not understanding the instructions. |
| 15:27 sobersabre | but hell WHAT am I missing ? |
| 15:28 sobersabre | I don't understand what the author means by "define classes" |
| 15:28 Mrfai | sobersabre: put your fai.log to paste.debian.net, then I can explain you the classes |
| 15:28 sobersabre | ok |
| 15:29 sobersabre | there are several fai.log files. |
| 15:29 sobersabre | which do you want ? |
| 15:29 sobersabre | of the server ? |
| 15:29 sobersabre | the layout is /var/log/fai/<hosts>/ |
| 15:30 sobersabre | and then "last", "noaction" etc. |
| 15:30 sobersabre | which do you need ? |
| 15:31 Mrfai | I want to have fai.log |
| 15:31 Mrfai | The fai.log of your install client |
| 15:31 sobersabre | ok |
| Action: h01ger waves from madrid and answers stockholm on #-edu where daniel also is |
| 15:38 sobersabre | http://pastebin.com/d30f1bda6 |
| 15:40 sobersabre | Mrfai: have you found anything except the hash ? |
| 15:41 sobersabre | :-/ |
| 15:43 Mrfai | sobersabre: line 42: List of all classes: DEFAULT LINUX I386 FAIBASE DHCPC GRUB 132 LAST |
| 15:43 sobersabre | yes |
| 15:43 sobersabre | there are no classes I "manually created" |
| 15:44 sobersabre | which folder do I give fai-class command, if my fai is configured in /srv/fai ? |
| 15:44 sobersabre | /srv/fai/conf ? |
| 15:44 Mrfai | fai-class is automatically executed. |
| 15:44 sobersabre | I understand. |
| 15:44 Mrfai | line 13: # |
| 15:44 Mrfai | # |
| 15:44 sobersabre | how do I add a class then ? |
| 15:44 Mrfai | Configuration space ds-jsb:/srv/fai/config mounted to /var/lib/fai/config |
| 15:45 sobersabre | true. |
| 15:45 sobersabre | so it is mounted ok, |
| 15:45 Mrfai | So you need to add classes on host ds-jsb |
| 15:45 Mrfai | in directory /srv/fai/config |
| 15:45 sobersabre | I _think_ I did |
| 15:45 Mrfai | classes are defined by using script in class. So I mean /srv/fai/config/class/.... |
| 15:45 Mrfai | What did you did? |
| 15:47 sobersabre | I have run fai-class /srv/fai/config FAI_CLASSES |
| 15:47 sobersabre | but it added only: |
| 15:47 Mrfai | You never run this command! |
| 15:47 sobersabre | hm.. |
| 15:47 sobersabre | ok. |
| 15:47 Mrfai | Just edit the 50-host-classes script for example and add your new class to it |
| 15:48 sobersabre | I can paste it. |
| 15:48 Mrfai | then reboot your client, and it should belong to this new class |
| 15:48 sobersabre | look at it. |
| 15:48 Mrfai | ok. Just paste the importatn lines |
| 15:50 sobersabre | http://pastebin.com/d1263bf53 |
| 15:50 sobersabre | I played with the regexps. maybe this is what messes them up. |
| 15:51 sobersabre | I also don't understand why the hostname is set to be the IP. |
| 15:51 sobersabre | the DNS is working fine. |
| 15:51 Mrfai | your dhcpod.conf is not fine |
| 15:51 Mrfai | have a look at fai.log |
| 15:52 sobersabre | which line ?! |
| 15:52 Mrfai | line 42, the list of classes |
| 15:52 Mrfai | is says 132 before the last word LAST. Normally this is you hostname. |
| 15:52 Mrfai | In your environment it's the first part of the IP address IMO |
| kugg (~jerkeby@c83-249-226-166.bredband.comhem.se) joined #fai. |
| 15:53 kugg | hello |
| 15:53 Mrfai | add this line to your dhcpd.conf: |
| 15:53 Mrfai | use-host-decl-names on; |
| 15:55 sobersabre | Mrfai: I have fixed-address <hostname>.<domainname>; |
| 15:55 sobersabre | in each host's section |
| 15:55 sobersabre | is it wrong ? |
| 15:55 sobersabre | shall I delete the .<domain> part ? |
| 15:56 Mrfai | sobersabre: do you have use-host-decl-names on in your dhcpd.conf? |
| 15:57 sobersabre | no. but ... how can a PXE host declare hostname ? |
| 15:57 sobersabre | I mean PXE client. |
| 15:57 sobersabre | it has no name. |
| 15:57 sobersabre | only MAC address. |
| 15:58 sobersabre | please sorry for nagging questions. |
| 15:58 sobersabre | must understand what's wrong. |
| 15:58 Mrfai | the DHCP can declare a hostname then it's also defined in /etc/hosts on the install server |
| 15:58 sobersabre | true. |
| 15:58 sobersabre | it is. |
| 15:58 Mrfai | the fai-doc pacakge has a smaple dhcpd.conf. HAve a look at iti |
| 15:58 sobersabre | I have both hosts and DNS setup properly. |
| 15:58 Mrfai | and use use-host-decl-names on; |
| 15:59 sobersabre | ok. I will now. but what does it do ? makes dhcpd use host declared name ? but host cannot know its name at PXE boot time. |
| 16:00 Mrfai | your client will get also the hostname from the DHCP instead of only the IP address. |
| 16:01 sobersabre | OK. so it's the opposite from what I thought! |
| 16:01 sobersabre | thanks! |
| 16:02 Mrfai | BTW, it this works, I recommend to upgrade from FAI 3.1.8 to 3.2.1. |
| 16:02 Mrfai | s/it/if/ |
| 16:03 sobersabre | I have currently fai 3.2.1 |
| 16:04 sobersabre | hm.. I am using dhcpd3-server. maybe this is the problem ? |
| 16:05 Mrfai | sobersabre: But your fai.log say's your are using 3.1.8 |
| 16:05 Mrfai | dhcp3-server is fine. |
| 16:05 Mrfai | ad use-host-decl-names on. |
| 16:06 sobersabre | trying the client... moment. :) |
| 16:07 sobersabre | son of the biatch! |
| 16:07 sobersabre | it worked! |
| 16:08 sobersabre | it picked up my class. |
| 16:08 sobersabre | :) |
| 16:08 sobersabre | hm... |
| 16:08 sobersabre | now for the next action item! |
| Action: sobersabre deeply bows to Mrfai for the patience! |
| 16:09 Mrfai | sobersabre: don't forget the fai questionnaire. You know it? |
| 16:10 jair | Hey guys I has been reafing all the conversation and want to let you know that I think will be much easier for me to understand ... :) hopefully I do not run into many problems |
| 16:10 jair | :) |
| 16:10 sobersabre | Mrfai: no. |
| 16:10 sobersabre | where it is ? |
| 16:10 jair | Mrfai: I will be continuing configuring mine in a couple of minutes maybe half an hour |
| 16:11 jair | Mrfai: are you planning in stay here for some more time, by the way I hope to have just a few questions, I has been reading your conversation with sobersabre and It answer couple of questions for me already |
| 16:11 Mrfai | sobersabre: http://www.informatik.uni-koeln.de/fai/questionnaire |
| 16:13 sobersabre | Vielen Dank, Mrfai. Schoensten auch. |
| 16:13 Mrfai | jair: I think I will be here the whole evening. |
| 16:13 jair | Mrfai: :D thank you danke :) |
| 16:13 Mrfai | sobersabre: Bitte schoen. War angenehm dir zu helfen. |
| 16:14 jair | I think we can start so I can finish with the couple of questions I have. |
| 16:14 Mrfai | ok |
| 16:16 jair | Mrfai: 1) I did install and finish the fai setup successfully. I got the two lines => make-fai-nfsroot finished properly. and FAI setup finished. |
| 16:16 Mrfai | Which fai version? |
| 16:17 jair | now I have the examples of the classes copied into the directory indicated on the guide |
| 16:18 jair | latest 3.1.8 0 |
| 16:18 jair | sorry |
| 16:19 jair | 3.2.1 |
| 16:19 jair | I am on the section 3.3 of the guide |
| 16:20 jair | and all i think I need is understand the classes, decide if I will be using dns or hostnames hardcoded. |
| 16:22 jair | so my question will be what will be next.../usr/share/doc/fai-doc/examples/simple/ |
| 16:22 jair | I am checking those examples |
| 16:22 stockholm | yay, my install attempt succeeded with lvm |
| 16:22 jair | stockholm: will be great if you can document that for fai newbies :( |
| 16:24 stockholm | jair: it was the lvm2 thing, i just had to follow the (changed) documentation in faiwiki |
| 16:25 jair | stockholm: this means that now I can use the fai installation on 40 computers all with the lvm2 configuration i decide ;) |
| 16:25 jair | Mrfai: I do not blame you, you may be having a break :) |
| 16:26 jair | stockholm: what will be next step after finishing the fai setup |
| 16:26 jair | stockholm: I finish it and it works properly. |
| 16:26 jair | I mean the setup finished like on the web site say |
| 16:26 stockholm | the configuration and admin stuff with softupdates |
| 16:26 jair | I do not have dns set up yet |
| 16:27 jair | I already configured the install server using approx, and the other ip details but just for the install server. I havent start yet with the install clients |
| woffs (~woffs@osiris.taz.de) left irc: Quit: Leaving. |
| kugg (~jerkeby@c83-249-226-166.bredband.comhem.se) left irc: Quit: reboooot |
| 16:44 Mrfai | jair: next thing is to set up DHCP and boot your first install client. Use fai-chboot to boot the memtest86+ binary. That's a nice test to see if PXE, TFTP, DHCP is working |
| Action: Mrfai switches to screen session |
| Mrfai (~lange@suenner.informatik.uni-koeln.de) left irc: Quit: leaving |
| Mrfai (~lange@kueppers.informatik.uni-koeln.de) joined #fai. |
| MT (~MT@dove.informatik.tu-muenchen.de) joined #fai. |
| 16:57 sobersabre | hm... |
| 16:58 sobersabre | another problem |
| 16:59 jair | Mrfai: alright, I have dhcp installed on the fai server but I haven't change anything... I did install the memtest86 package and copy it the way you told me to the directory "/srv?... forgot" and copy it with the name without the .bin |
| 16:59 jair | Mrfai: do I need to edit anything on the dhcp server on the fai server? |
| 17:01 jair | Mrfai: This is my environment => a vlan with the fai server on it and 25 Thinkcentre IBM/Lenovo machines. Not DNS on FAI set up but DNS for the vlan is set up. |
| 17:02 jair | The vlan also have it's dhcp but i can put the whole environment in a different vlan with another dhcp server or just static ips. |
| 17:04 sobersabre | hm... |
| MT (~MT@dove.informatik.tu-muenchen.de) left irc: Ping timeout: 480 seconds |
| 17:12 sobersabre | is there a way to make a partition after the 1st partition ? |
| 17:12 sobersabre | I mean to skip 1 partition. |
| 17:12 sobersabre | I have dual boot machines. |
| 17:12 h01ger | preserve partition 1 |
| 17:13 h01ger | read the fai guide, look at the section about disk_config |
| 17:13 sobersabre | h01ger: thanks!!!! |
| 17:13 sobersabre | I will now bookmark it. |
| 17:13 sobersabre | thanks ! |
| 17:13 sobersabre | bye |
| sobersabre (~bilbo@89-139-26-158.bb.netvision.net.il) left irc: Quit: leaving |
| 17:27 Mrfai | jair: your install clients must get an IP address from your DHCP, no mater if you are using vlan or a plain subnet. |
| 17:27 jair | alright |
| 17:27 Mrfai | jair: boot your client via PXE. What happens? |
| 17:28 jair | I have dhcp from the dhcp server authoritative... but I though that the fai dhcpserver will be the one doing that. |
| 17:28 jair | hold on Mrfai, do i need to put the install server on the same vlan as the clients? |
| 17:28 jair | I am assuming that this is yes |
| 17:29 jair | also, what dhcp server will i use the one from the install server or the dhcp server I have configure for my other vlans? |
| 17:29 Mrfai | I don't know. I'm not familiar with vlan's. |
| 17:30 Mrfai | it easier you only our dhcp on the install server is responsible for your vlan. |
| 17:30 jair | Mrfai: it is just a network segment. just 20 machines all in the same switch same subnet, same gateway IP |
| 17:30 jair | ohhh ok |
| 17:30 jair | I see |
| 17:30 Mrfai | If two dhcp server answer to the same dhcp requests on a lan that may cause problems. |
| 17:31 jair | but again I haven't do any configuruation after the install or fai-setup. |
| 17:31 jair | ok I understand your point :) |
| 17:31 Mrfai | jair: there's an example for dhcpd.conf in the fai-doc package |
| 17:33 jair | ok let me check that example and make sure mine make sense. |
| 17:34 jair | I really appreciate all your help Mrfai :) |
| 17:34 Mrfai | jair: btw, you you have a real name? |
| 17:38 stockholm | so how do i get an initramfs that has the parts it needs to boot lvm volumes? |
| 17:42 jair | Mrfai: yes |
| 17:43 Mrfai | It's nice if the real name is set in IRC |
| 17:46 jair | how do i chnage that Mrfai ? |
| xzu (~otto@brucester.a20.net) joined #fai. |
| ErKa (keryell@keryell.pck.nerim.net) joined #fai. |
| 17:55 Mrfai | jair: depends on your irc client. |
| 17:57 stockholm | this seems relevant |
| 17:57 stockholm | http://www.debianadmin.com/lvm_vs_udev.html |
| 17:57 jair | Mrfai: I use irssi |
| 17:58 Mrfai | jair: me too. config: realname = "Thomas Lange"; |
| 17:59 Mrfai | stockholm: [~]> grep lvm /usr/share/doc/initramfs-tools/TODO o lvm2 hooks to their respective packages |
| 17:59 Mrfai | mm, maybe initramfs-tools are not yet ready for lvm2 |
| 18:01 stockholm | Mrfai: why do you say that? |
| 18:02 xzu | just curious: what do you guys use, cfengine or puppet? |
| 18:02 Mrfai | I read something about a lvms hook for initramfs, but can't find it |
| 18:02 Mrfai | xzu: shell scripts and cfengine. No puppet. |
| 18:03 jair | Mrfai: but I guess I need to go to the configuration file of the irssi correct? it is located on my home directory or etc/irssi.conf? |
| 18:03 Mrfai | stockholm: http://lists.alioth.debian.org/pipermail/pkg-lvm-commits/2006-December/000501.html |
| 18:03 xzu | Mrfai: specific reason to not use puppet? |
| 18:03 Mrfai | jair: in your home directory. But it was just a hint. |
| 18:03 jair | haha ok i will do that |
| 18:04 Mrfai | xzu: puppet is too new IMO. Now widely used. Also read: http://www.techforce.com.br/index.php/news/linux_blog/massive_installation_management_tools_p_1 |
| 18:04 Mrfai | jair: I mean it would be nice if everybody would set his real name. But it's not required here |
| 18:06 xzu | Mrfai: cheers, i think redhat is going to push for puppet, so that could solve some issues |
| 18:06 xzu | i'll read the article |
| 18:06 xzu | thanks |
| kugg (~jerkeby@c83-249-226-166.bredband.comhem.se) joined #fai. |
| 18:15 stockholm | Mrfai: but there the hooks are added |
| 18:15 stockholm | Mrfai: do you mean they are not in etch or what? |
| 18:16 Mrfai | yep. It seems those are not in etch |
| 18:17 stockholm | Mrfai: then building them ourselfs externally seems to be the right thing. |
| 18:17 stockholm | http://www.debianadmin.com/lvm_vs_udev.html |
| 18:19 Mrfai | stockholm: I would ask the initramfs-tools maintainer about the lvm(2) problem. I cannot see if your link says it should work with or without the additional hook. |
| 18:21 Mrfai | stockholm: lvm2 in etch does not include the hook for initramfs. lvm in sid does include it |
| MT (~MT@dove.informatik.tu-muenchen.de) joined #fai. |
| 18:24 Mrfai | stockholm: it was added in lvm2 (2.02.24-1), with some fixes in later versions |
| Action: Mrfai SIGFOOD |
| ErKa (keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds |
| 18:28 jair | Mrfai: I will go get something to eat and come back to do the testing you ask me to after configure the dhcp :) |
| 18:29 jair | Mrfai: Danke Shon |
| 18:30 jair | :) |
| 18:33 stockholm | andreas@alioth:~$ getent group pkg-lvm-maintainers |
| 18:33 stockholm | andreas@alioth:~$ |
| 18:33 stockholm | so who is a member in that group? |
| 18:42 stockholm | Mrfai: if d-i can do it the infrastructure should be there, right? |
| kugg (~jerkeby@c83-249-226-166.bredband.comhem.se) left irc: Remote host closed the connection |
| kugg (~jerkeby@c83-249-226-166.bredband.comhem.se) joined #fai. |
| 19:09 Mrfai | stockholm: ask the experts. I never used lvm, so I can only guess what may be missing. |
| 19:09 stockholm | i asked the experts. |
| 19:09 stockholm | no answer yet |
| 19:10 stockholm | i might ask the lvm maintainer mailinglist |
| 19:10 Mrfai | good idea |
| 19:12 MT | stockholm, I just joined and obviously missed the point - what's going on with lvm? |
| 19:13 MT | looks like some sort of bug that you are talking about... |
| 19:16 Mrfai | stockholm: ask the experts. I never used lvm, so I can only guess what may be missing. |
| 19:16 Mrfai | damm, why doe it type this again? |
| 19:16 Mrfai | MT: http://paste.debian.net/39902 last part of our discussion |
| 19:16 stockholm | MT: mounting lvm volumes works, but not from initramfs |
| 19:18 MT | so you can finally do LVM partitions, unless root is an LVM? |
| 19:18 MT | thx for the paste Mrfai! |
| 19:19 Mrfai | MT: np |
| 19:19 stockholm | MT: right |
| 19:20 stockholm | MT: now i ask the lvm package maintainers how to invoke mk-initramfs in order to boot / from lvm |
| 19:20 MT | stockholm, on etch take a look at man /usr/share/doc/lvm2/examples/lvm2create_initrd.8.gz |
| Action: MT just looks into it |
| 19:22 stockholm | ahhh |
| Action: MT thinks that using a newer lvm2 package or a backported one is probably easier |
| 19:27 stockholm | is that a good option? |
| 19:27 stockholm | it is easy enough to do |
| 19:27 stockholm | saves some work, i would think |
| 19:28 MT | which solution do you consider to save work? |
| 19:29 stockholm | how do you read that? less and vim dont do the groff |
| 19:30 stockholm | MT: it would not be the "pure etch" solution, but that might be overkill anyway |
| 19:30 MT | man /usr/share/doc/lvm2/examples/lvm2create_initrd.8.gz |
| 19:30 MT | does the groff :-) |
| 19:30 Mrfai | my less can read .[0-9].gz files. Define LESSOPEN ="|lesspipe %s" |
| 19:30 stockholm | MT: we could provide the backport in the fai repository that people would use non the less |
| Action: MT likes lesspipe too :-) |
| 19:31 MT | yes, that might be cool |
| 19:31 MT | I couldn't find the backport on backports.org |
| 19:33 MT | grrr, requires devmapper version from sid as well |
| 19:36 stockholm | well, and that in turn? |
| Action: stockholm just started rebuilding for etch |
| 19:36 MT | devmapper is fine |
| 19:36 MT | thx stockholm! |
| 19:37 stockholm | i will need to build that for amd64, too |
| 19:37 jair | Mrfai: are you still here, i came back from lunch |
| 19:38 stockholm | Mrfai: what do you think, is it a good solution to use sid lvm in etch for this? |
| 19:41 Mrfai | stockholm: Mmm, I'm not sure. I would use lvm backport, if only a few packages needed to be backported. |
| 19:42 Mrfai | If the new lvm2 hook help, just use this one. But anyway, ask the experts what they suggest |
| dennis_ (~dennis@bi01p1.co.us.ibm.com) joined #fai. |
| dennis_ (~dennis@bi01p1.co.us.ibm.com) left irc: Quit: leaving |
| 19:49 jair | Mrfai: I have the dhcp configured. But I have two questions about it. check this file please => http://paste.debian.net/39906 |
| 19:52 jair | in the part that say: dhcpd.conf for fai, that is the configuration of the dhcp that comes installed in the fai server. |
| 19:53 jair | host demohost {hardware ethernet 0:2:a3:b5:c5:41;fixed-address demohost;} what does this line exactly mean? |
| 19:53 jair | what do i suppouse to replace this with? |
| 19:53 jair | the name of the fai install server |
| 19:54 jair | or the mac address of the install server? |
| 19:55 MT | jair, that's the DHCP config of your client |
| 19:55 Mrfai | no replace it with the name and MAC address of your install client |
| 19:55 MT | demohost will be the client you install using FAI |
| 19:56 jair | also I notice that in the dhcp example for fai the lines => range 10.66.21.2 10.66.21.101; option subnet-mask 255.255.255.0; option broadcast-address 10.66.21.255; are missing |
| 19:56 Mrfai | jair: you have to adjust the IP ranges, for sure |
| 19:56 Mrfai | adjust them you your local needs |
| 19:56 jair | MT: ohhhh ok this is the test I guess I wilol have to get all that information for all the pcs |
| 19:56 jair | Mrfai: ohh ok I see |
| 19:57 Mrfai | it's important to add the MAC of your install client. Did you already grab the MAC? |
| 19:57 jair | but if I adjust the range and the broadcast address do i need still this line for each of the install clients? => host demohost {hardware ethernet 0:2:a3:b5:c5:41;fixed-address demohost;} |
| 19:58 Mrfai | yep you need a line for each client |
| 19:58 jair | Mrfai: so i will need to add one line like host demohost {hardware ethernet 0:2:a3:b5:c5:41;fixed-address demohost;} per client |
| 19:58 jair | I see |
| 19:59 jair | I will need to do what you recommend on the guide to get the mac addresses then, I have around 120 machines three classrooms |
| 19:59 jair | sounds good then |
| 19:59 jair | I will do that Mrfai :) |
| 19:59 jair | Thank you MT as well |
| 20:00 jair | another question Mrfai, if I have to change the ip address of the install server, do i need to change the IP on the configuration files, hosts, and normal places where I place the ip correct. and then everything should work? |
| 20:01 jair | for example, right now I have my install server under the ip 10.66.17.20 and I will be changing it to 10.66.30.20, I just need to go to the make-nfs-root and fai.conf, hosts, files to do the change. |
| 20:02 jair | am I missing any other place? |
| 20:03 Mrfai | you have to rebuild the nfsroot |
| 20:03 jair | ohhh |
| 20:03 jair | I think i will just leave it in that ip then :( |
| 20:04 jair | or just create the install server again in the other network |
| 20:04 jair | for now I think will be ok. |
| 20:04 Mrfai | or check the etc/hosts and etc/fai/.. file inside the nfsroot |
| 20:04 jair | right, it sound like I should be able to change the ip there and then restart it |
| 20:05 jair | also on the dhcp server can I replace the name "faiserver" instead for another name the ip address of the fai instalkl server? |
| 20:06 Mrfai | replace install server with the name of your install server. |
| 20:06 jair | I am not trusting to much on our dns server that is why i am hard coding the i[p |
| 20:06 jair | hmm |
| 20:06 jair | alright |
| 20:06 Mrfai | hard coded IP are also fine. I prefer hostnames |
| 20:07 jair | I will just replace it and if I see errors I will just hard code the ip = name on the hosts file :D |
| 20:07 jair | Mrfai: thank you very much, I will go ahead and do the test. |
| 20:07 jair | so when I boot the machines should I tell it to run the testmem86...? |
| 20:07 jair | I will go ahead and let you know how it goes |
| Action: jair bow to Mrfai again ;) |
| 20:08 jair | be right back |
| ErKa (keryell@keryell.pck.nerim.net) joined #fai. |
| 20:28 stockholm | Mrfai: hast du eine idee wie man die kernel-commandline ändern kann in fai (für lvm-root-boot)? |
| 20:30 stockholm | anscheinend ist der name des volumes wichtig |
| 20:30 stockholm | ich werde das mal anpassen in meiner partitioniertanweisung |
| 20:31 Mrfai | keine Ahnung. Ich denke das gehoert in menu.lst rein |
| 20:33 stockholm | MT: da? |
| 20:33 MT | ja |
| 20:33 stockholm | waldi sagt dass der device name des volumes /dev/mapper/blah sein muss damit die magie funktioniert. |
| 20:34 stockholm | MT: bei mir hatte ich /dev/my_pv/blah |
| 20:34 MT | also /dev/my_pv/blah ist nur ein symlink auf /dev/mapper/my_pv-blah |
| 20:35 stockholm | MT: es wäre also eine masche das das echte file herauszufinden und anzugeben |
| 20:35 stockholm | MT: hast du eine idee wie das gehen könnte? |
| 20:36 MT | ja, muss kurz in den Code schauen |
| 20:36 stockholm | es gibt doch "realpath" oder so, gell? |
| 20:36 MT | readlink |
| 20:36 stockholm | wir wollen ja den endgültigen, nicht nur den nächsten |
| 20:37 MT | readlink -f |
| 20:37 stockholm | :-) |
| 20:37 stockholm | gut |
| 20:41 stockholm | MT: in perl gibt es -f nicht |
| 20:42 MT | nein, aber das normale readlink sollte ok sein |
| 20:42 stockholm | MT: da muss man es vermutlich rekursiv aufrufen oder solange bis es zweimal in folge das gleiche ausspuckt |
| 20:42 stockholm | MT: ach, du willst system()? |
| 20:42 MT | ja |
| 20:42 stockholm | ist readlink immer installiert? ... /me schaut welches paket das ist |
| 20:43 MT | ist AFAIK in the den coreutils |
| 20:43 stockholm | core... right |
| kugg (~jerkeby@c83-249-226-166.bredband.comhem.se) left irc: Ping timeout: 480 seconds |
| 20:47 MT | stockholm, ich hätte eine neue Version |
| 20:47 stockholm | yay |
| 20:47 MT | soll ich mal commit machen, kannst Du die dann testen? |
| 20:48 stockholm | ja, ich habe gerade schon versucht upzudaten :-) |
| 20:48 MT | mom, ich baue noch einen check ein |
| 20:48 stockholm | das ist bestimmt die letzte hürde! |
| 20:48 MT | sure. |
| 20:48 stockholm | yesyesyes!!! |
| 20:51 MT | ok, r4625 |
| 20:52 MT | sollte jetzt in fstab und als ROOT_PARTITION /dev/mapper/my_pv-blah liefern |
| 20:52 stockholm | ok |
| Action: stockholm installiert |
| 20:56 stockholm | (CMD) readlink -f /dev/my_pv/_root 1> /tmp/2hXE3QH9ks 2> /tmp/xiu6YFV2F0 |
| 20:56 stockholm | Use of uninitialized value in scalar chomp at /usr/lib/perl/5.8/shdd2-fstab line 176. |
| 20:56 stockholm | Use of uninitialized value in -b at /usr/lib/perl/5.8/shdd2-fstab line 179. |
| 20:56 stockholm | Failed to resolve /dev/my_pv/_root |
| 20:56 stockholm | MT: it died |
| 20:57 MT | kannst Du mal manuell readlink -f /dev/my_pv/_root ausführen? |
| 20:57 MT | aber wenigestens hab ich noch den check eingebaut, sodass er abgebrochen hat... |
| 20:58 stockholm | fai-client:~# readlink -f /dev/my_pv/_root |
| 20:58 stockholm | fai-client:~# |
| 20:59 stockholm | hm, muss das nicht in target laufen? |
| 21:00 stockholm | nö |
| 21:00 stockholm | /dev/mapper ist auch leer |
| 21:00 stockholm | ausser control |
| Mrfai (~lange@kueppers.informatik.uni-koeln.de) left irc: Quit: leaving |
| 21:02 stockholm | nein, da gibt es wieder fehler mit vgdisplay zuerst |
| 21:03 stockholm | sep: where was your dd solution? can you paste it again, please? |
| 21:04 MT | http://wiki.debian.org/DebianEdu/HowTo/FaiInstallDebianEdu#head-3ebeb84767ddff79e9ffb4663c3489826e0b5c0a |
| Action: MT is not sep, but anyway :-) |
| 21:05 stockholm | yeah, good enough :-) |
| 21:05 MT | stockholm, falls ich da einen bug reingemacht haben sollte, kannst Du auch Zeilen 172/173 in shdd2-fstab durch folgendes ersetzen |
| 21:06 MT | push @fstab_line, "/dev/mapper/$device-$l"; |
| 21:06 MT | aber ich glaube, die Lösung liegt wohl eher in den dd/hdparm-Aufrufen |
| 21:07 stockholm | nee, das ist kein bug von dir |
| 21:07 stockholm | ja, aber ich würde das so oder so ähnlich in -commands einbauen (also den dd aufruf) |
| 21:07 stockholm | und vorher noch dm_mod entladen |
| 21:08 MT | also schau einfach mal in den -commands code rein |
| 21:08 MT | eigentlich hätte ich es ja gerne so, dass er einfach die existierenden VGs erkennt |
| 21:08 MT | und dann aufräumt |
| 21:08 MT | aber das tut er wohl nicht |
| 21:08 stockholm | MT: die lvm infos stehen am anfang der jeweiligen partition. |
| 21:08 stockholm | ja |
| 21:08 MT | ja, schon, aber könnte er denn nicht einfach die alten VGs erkennen? |
| 21:09 stockholm | naja, er erkennt sie ja *irgendwie* |
| 21:09 MT | meiner Meinung nach wär nämlich in build_lvm_commands schon der Code da, der eben die alten logical volumes löscht und so |
| 21:09 MT | aber das ist bestimmt noch buggy, falls vgdisplay die denn überhaupt sieht |
| 21:09 stockholm | mit dem vgdisplay? |
| 21:10 MT | bzw. man müsste mal sehen, was man tun muss, damit vgdisplay die sehen kann |
| 21:10 MT | ich muss jetzt offline gehen, aber vielleicht kannst Du mal versuchen, das zu debuggen |
| 21:10 stockholm | ich werde es versuche. |
| 21:10 MT | oder eben die dd/hdparm sachen einfach reinbauen |
| 21:10 stockholm | ja, das werde ich erst machen |
| 21:11 stockholm | damit ich weiter komme |
| 21:11 MT | klar |
| 21:11 MT | falls Du dann Zeit zum debuggen hast, solltest vielleicht eher noch in shdd2-volumes reinschauen |
| 21:12 MT | get_current_lvm |
| 21:12 MT | _da_ sollte er eigentlich die alten Sachen finden |
| 21:12 MT | so, ich verschwinde mal ins Bett |
| 21:13 MT | stockholm, wenn Du Fragen hast, kannst auch gerne mailen |
| 21:13 MT | ich bin dann um ca. 8 Uhr morgens wieder online |
| 21:20 stockholm | ich bin vermutlich nicht am netz |
| 21:20 stockholm | sondern im flugzeug |
| MT (~MT@dove.informatik.tu-muenchen.de) left irc: Ping timeout: 480 seconds |
| 21:38 jair | here I have the dhcp fai configuration => http://paste.debian.net/39912 |
| 21:39 jair | as you can see I needed to comment out "deny unknown-cleints", otherwise we would not get a DHCP address |
| 21:41 jair | http://paste.debian.net/39913 <= this is the log file from the DHCP server |
| 21:42 jair | Now we are getting an IP address when booting from the network card, but after that it hangs on "TFTP open timeout" |
| 21:43 jair | is there anything we need to configure in the tftpd-hpa file to get it to properly connect to the boot agent? |
| ErKa (keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds |
| --- Wed Oct 17 2007 |