GE XVB601: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 42: Line 42:


  default Centos5PAE_new
  default Centos5PAE_new
  label Centos5PAE_new
  label Centos5PAE_new
     kernel Centos5PAE_new/vmlinuz
     kernel Centos5PAE_new/vmlinuz
     append  initrd=Centos5PAE_new/initrd.img root=/dev/ram0 init=disklessrc NFSROOT=129.57.167.16:/vol/diskless/Centos5 ramdisk_size=31809 ETHERNET=eth0 SNAPSHOT=croctest1.jlab.org NISDOMAIN=CCCHP acpi=force vga=0x305 vmalloc=256MB console=ttyS0,9600
     append  initrd=Centos5PAE_new/initrd.img root=/dev/ram0 init=disklessrc NFSROOT=129.57.167.16:/vol/diskless/Centos5 ramdisk_size=31809 ETHERNET=eth0 SNAPSHOT=croctest1.jlab.org NISDOMAIN=CCCHP acpi=force vga=0x305 vmalloc=256MB console=ttyS0,9600
It is more or less generic. To customize it for another client only ''SNAPSHOT=croctest1.jlab.org'' must be changed. Statement ''NFSROOT=129.57.167.16:/vol/diskless/Centos5'' defines the fileserver IP and directory where diskless Linux is located, in our case it is ''clonfs1'', see details in following section.
* diskless Linux is installed on ''clonfs1'' fileserver in ''/vol/diskless/Centos5'' volume.


'''Customizing kernel installed on the FLASH'''
'''Customizing kernel installed on the FLASH'''

Revision as of 10:08, 14 April 2011

Company site: GE Intelligent Platforms

Board page on company site: XVB601

Documentation: Datasheet Hardware Reference Transition Module Installation Guide Product Configurations Ruggedization

Customization for the CLON cluster

List of boards

  • [01] 00:20:38:04:23:5E / 129.57.68.88 / croctest1
  • [02] 00:20:38:04:23:60 / 129.57.68.89 / croctest2

General software structure

  • following is installed in /tftpboot area on clon10 server:
linux-install/Centos5PAE_new/initrd.img
                            /initrd.img.backup
                            /vmlinuz
             /msgs/boot.msg
                  /expert.msg
                  /general.msg
                  /param.msg
                  /rescue.msg
                  /snake.msg
             /pxelinux.0
             /pxelinux.cfg/81394458 -> croctest1
                          /81394459 -> croctest2
                          /croctest1
                          /croctest2
                          /default
                          /pxeos.xml
         

Every client must has a file in /pxelinux.cfg/ area with the name containing IP address in HEX format, for example croctest1's IP is 129.57.68.88, so file name must be 81394458. It can be a symbolic link. The contents of the file for croctest1:

default Centos5PAE_new
label Centos5PAE_new
    kernel Centos5PAE_new/vmlinuz
    append  initrd=Centos5PAE_new/initrd.img root=/dev/ram0 init=disklessrc NFSROOT=129.57.167.16:/vol/diskless/Centos5 ramdisk_size=31809 ETHERNET=eth0 SNAPSHOT=croctest1.jlab.org NISDOMAIN=CCCHP acpi=force vga=0x305 vmalloc=256MB console=ttyS0,9600

It is more or less generic. To customize it for another client only SNAPSHOT=croctest1.jlab.org must be changed. Statement NFSROOT=129.57.167.16:/vol/diskless/Centos5 defines the fileserver IP and directory where diskless Linux is located, in our case it is clonfs1, see details in following section.

  • diskless Linux is installed on clonfs1 fileserver in /vol/diskless/Centos5 volume.

Customizing kernel installed on the FLASH

  • /usr/bin/system-config-network
  • fix /etc/passwd, /etc/shadow, /etc/group
  • fix /etc/nsswitch.conf
  • fix /etc/yp.conf (add lines domain CCCHP server clon00.jlab.org and ypserver clon10.jlab.org)
  • fix /etc/sysconfig/network (add line NISDOMAIN=CCCHP)
  • /etc/init.d/ypbind start
  • chkconfig ypbind on


  • /etc/init.d/autofs restart
  • fix symbolic links to /apps, /home, /usr/local etc


EXPERT PART: setting everything from scratch using clonpc3