Changes between Version 38 and Version 39 of xCAT

Show
Ignore:
Timestamp:
09/07/10 16:46:24 (9 years ago)
Author:
shuang (IP: 152.54.8.247)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • xCAT

    v38 v39  
    169169}}} 
    170170Note that the regular expression appends -ipmi to host name (e.g. n01-ipmi). Make sure your dns is setup correctly to resolve the host name.  
    171 === Netboot image === 
    172 The genimage command invokes genintrd automatically to generate the initrd for netboot. 
     171=== PXE configuration === 
     172The node resources table (noderes) is used to specify the resources and settings when installing compute nodes. We use PXE, then the table looks like: 
     173{{{ 
     174# tabdump noderes 
     175#node,servicenode,netboot,tftpserver,nfsserver,monserver,nfsdir,installnic,primarynic,discoverynics,cmdinterface,xcatmaster,current_osimage,next_osimage,nimserver,comments,disable 
     176"compute",,"pxe","192.168.201.49","192.168.201.49",,,"eth0","eth0",,,,,,,, 
     177}}} 
     178 
     179To setup the TFTP server for PXE, we prepare the source by running: 
     180{{{ 
     181#copycds /dev/dvd  
     182}}} 
     183Note: assume that you have the Linux DVD in /dev/dvd, this command will copy every thing to /install. Or, if you downloaded the DVD iso, say, CentOS-5.5-bin-DVD.iso, you can run 
     184{{{ 
     185#copycds CentOS-5.5-bin-DVD.iso 
     186}}} 
     187Then, run: 
     188{{{ 
     189#mknb x86_64 
     190}}} 
     191to setup the TFTP server (the default directory is /tftpboot). To create a net boot image, run: 
     192{{{ 
     193#./genimage -i eth0 -n tg3,bnx2 -o centos5.5 -p compute 
     194#cd /install/netboot/centos5.5/x86_64/compute/rootimg/etc/ 
     195cp fstab fstab.old 
     196echo "compute_x86_64 / tmpfs rw 0 1 
     197none /tmp tmpfs defaults, size=10m 0 2 
     198none /var/tmp tmpfs defaults, size=10m 0 2" >>fstab 
     199}}} 
     200The genimage command invokes genintrd automatically to generate the initrd for netboot.  
    173201However, when the compute nodes boot up, the following error is returned: 
    174202{{{