Introduction

IT_CF boot a live image from the network to auto register new servers. The image are in aims2 but synced to another PXE boot server for a specific IP Service.

PXE configuration

The configuration live on afs :

/afs/cern.ch/project/linux/adm/aims2menu/hwreg/

To update it modify files on AFS and run:

/afs/cern.ch/project/linux/adm/bin/synchwreg

Everything is copied in :

lxdist:/mnt/data1/tftpboot

Aims2 to hwreg script.

To allow CF to upload their images in aims2 and use them on hwreg, lsyncd synchronise the image between the 2 trees.

vi /mnt/data2/etc/lsyncd.conf
clusvcadm -R aims2sync (lsyncd is part of aims2sync so inotify can detect changes on NFS)

Aims2 add new image.

  • Edit:
          vi /mnt/data2/etc/lsyncd.conf
         
  • Add the following lines
        sync{
    	default.direct, 
    	source="/mnt/data1/tftpboot/aims2/boot/CF_SLC_65_AUTOINSTALL_TEST", 
    	target="/mnt/data1/tftpboot/hwreg/boot/CF_SLC_65_AUTOINSTALL_TEST"
        }
        
  • Restart lsyncd through rgmanager
        clusvcadm -R aims2sync
        

Live image creation

Please see: https://twiki.cern.ch/twiki/bin/view/LinuxSupport/Slc6LiveHowto
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2014-01-15 - ThomasOulevey
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LinuxSupport All webs login

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