Version 22 (modified by shuang, 9 years ago)


Setting up xCAT 2.4.3 on DELL PE 860

Note: only eth0 is needed, eth1 is left for ORCA to configure. Head node's eth0 is connected to Internet. Compute nodes do not need to have access to internet, everything can be managed by the head node.

xCAT Installation

xCAT installation on CentOS 5.5 is simple:

  1. # cd /etc/yum.repos.d
  2. # wget
  3. # wget
  4. # yum clean metadata
  5. # yum install xCAT.x86_64

xCAT Configuration

The configuration of xCAT is all about managing the tables. Run

tabdump -d

for an introduction of all tables (can be found as /etc/xcat/*.sqlite). Run

tabdump -d $table

for an introduction of $table's elements. First, run

tabdump site

to verify xCAT is correctly installed. You should see the default values for site. Next, we need some modifications to the site table. There are two ways to modify a table, one is to use chtab, the other is to use tabedit. Our site looks like this:


Note: is head node eth0's ip address. Both "master" and "nameservers" point to this IP. "forwarders" points to our internal name server. Finally eth0 provides dhcpd service to all compute nodes.

Network Configuration

First, edit /etc/hosts file:

# Do not remove the following line, or various programs
# that require network functionality will fail.               localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6  mgt.renci.ben mgt
#n01 ip  n01 n01.renci.ben
#n01 ipmi ip  n01-ipmi n01-ipmi.renci.ben
#switch ip  linksys-mgt.renci.ben

Note: you don't have to edit this file manually. Instead, run

#tabedit hosts

to fill in all the node information, then run


to populate node info to /etc/hosts. Next, setup dns:

#service named start

IPMI Configuration

Netboot image

The genimage command invokes genintrd automatically to generate the initrd for netboot. However, when the compute nodes boot up, the following error is returned:

Kernel panic: no init found. Try passing init= option to kernel

To modify the initrd, do:

  1. sudo -s
  2. mkdir temp
  3. cd temp
  4. cat /tftpboot/xcat/netboot/centos5.5/x86_64/compute/initrd.gz| gzip -d | cpio -i
  5. less init, the first line is
    !/sbin/busybox.anaconda sh
  6. ldd sbin/busybox.anaconda
  7. copy all the missing libs to lib64 or lib, take care of symbol links separately
  8. find ./ | cpio -H newc -o > ../initrd
  9. gzip initrd
  10. cp initrd.gz /install/netboot/centos5.5/x86_64/compute/initrd.gz
  11. nodeset compute netboot