Diskless systems

  • One profile template has to be made for the server (eq profile_hlte06.tpl) and one profile template has to be made for each node (eq profile hlte0601.tpl). A proto profile template can be made (eq profile_hlte06proto.tpl) but it's not actually used (it will be used for all modifications on the shared root filesystem on the server).
  • in the server profile, all nodes should be listed in the "/software/components/diskless_server/nodes" line.
  • The component ncm-diskless_server, which runs ... on the server should create the right files in the /tftpboot folder and configure dhcpd. The ipmi interfaces have to configured by hand in dhcpd.ux on dns-sx-01.
  • Verify in /var/log/ncm-cdispd.log that this component had run. If not, you can do (as root) `/usr/sbin/ccm-fetch` which get the up to date profile then `/usr/sbin/ncm-ncd --co diskless_server` (diskless_server can be an other component or even `--all` to run all configured components) to run it.
  • You should also run `ccm-fetch --profile http://cdb01/profiles/profile_xxxproto.xml` (with the right proto file or the profile of one of the diskless nodes) and `ncm-ncd --co --all` chrooted in on the shared filesysytem (/diskless/i386/slc4/root if I remember well).
  • Few modifications should be made on the redhat and quator diskless tools :
    • I modified the redhat system-config-netboot to had a debug mode (there are nearly no error message if something fails) and (quick and dirty) fix to a bug that made it fail when '/mnt' is taken by autofs (diff file, new system-config-netboot/diskless/updateDiskless file, new system-config-netboot/pxeos.py file).
    • I also modified the ncm-diskless_server package to support the swap of net interface between bios and linux. The modification is done on version 0.0.6-1 of the package. The new version 0.2.2 should fix this problem but is not working properly for us. My fix adds a "/software/components/diskless_server/pxe/client_interface" items in the server profile to specify on which interface linux will boot. For Dell SC1950, this parameter is set to "eth1" and in the hardware template we have : "/hardware/cards/nic/eth0/boot" = true; (diff file, new /usr/lib/perl/NCM/Component/diskless_server.pm file)
Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatdiff diskless_server.diff r1 manage 0.5 K 2007-04-23 - 12:56 LoicBrarda modifications on the diskless_server.pm file
Perl source code filepm diskless_server.pm r1 manage 13.1 K 2007-04-23 - 11:57 LoicBrarda new diskless_server.pm file
Texttxt pxeos.py.txt r1 manage 20.3 K 2007-04-23 - 10:56 LoicBrarda new pxeos
Unknown file formatdiff system-config-netboot.diff r1 manage 2.7 K 2007-04-23 - 10:55 LoicBrarda modifications on the system-config-netboot package
Unknown file formatext updateDiskless r1 manage 12.3 K 2007-04-23 - 10:58 LoicBrarda new update diskless file
Edit | Attach | Watch | Print version | History: r6 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2007-04-25 - LoicBrarda
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback