[xcat-user] genimage with -r option for an unused NIC

David Rioja rams at englobe-tec.com
Mon Dec 1 02:07:14 MST 2008


Hi,
last week I had some problems creating an image for my cluster nodes.
My hardware motherboard has two Ethernet NICs. We decided not to use the 
first of them and use the other for the management network. So I created 
the image by typing:

# ./genimage -i eth1 -n igb -o fedora9 -c compute

Then I changed fstab, packed the image and ran nodeset. When nodes are 
booted and the image is downloaded and unpacked it tries to start 
services. At a given moment it sends a request for ip information 
through eth0... it fails and keep retrying and failing. So the node 
never gets ready.

Solution. After some hours and many attempts we tried to create the 
image with the following options:

# ./genimage -r eth0 -i eth1 -n igb -o fedora9 -c compute

And it works. Naturally eth0 fails to get an ip since it is 
disconnected, but it goes by this minor incident.

Note that man page says regarding -r option: "Other network interfaces 
(e.g. eth1) in the image that should be configured via DHCP". So I 
didn't think before I had to use it when I don't want eth0 configured at 
all.

Regards


More information about the xcat-user mailing list