RHEL5 Kickstart NFS & DHCP Problem

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat RHEL5 Kickstart NFS & DHCP Problem
# 1  
Old 07-01-2009
RHEL5 Kickstart NFS & DHCP Problem

I just finished setting up a Kickstart Server for our RHEL 5 installs. It's configured to use the PXE boot and NFS for the installation. Everything works fine when I just build one machine at a time. The installation works from begining to end.

But when I try the install three machines at once I run into problems. All machines boot up just fine, they get a DHCP lease and it works up until Anaconda loads. A lot of times at that point on 2 of the 3 machines, it fails to either get the DHCP lease back at this point, even though it got it just fine for the PXE boot. Or the other half of the time it fails to mount the NFS directory even though the directory is fully exported. Then at that point it asks for manual intervention. If I go and have it re-request the lease at that point it works fine, and I can mount the NFS directory manually when prompted. It doesn't do this all of the time but it just seems when I am building more than one machine at the time these issues arise. When I do one at a time it works fine. Does anyone know what the issue could be? Or places where I can begin to look?
# 2  
Old 07-01-2009
You may want to try and tell Kickstart which interface to use....

add the ksdevice to your boot config:
linux ks=nfs:kserver.company.com:/kickstart.file ksdevice=eth0

or what ever you normal line is...
# 3  
Old 07-01-2009
Thanks for your help. I tried putting ksdevice=eth0 in my pxelinux.cfg default file but it didn't really have any affect. It seems like a random network problem because sometimes even if all the devices do start installing it can hang in the middle of package installation too. My network is an isolated network on its own switch with only build devices off of it. The network is 10.254.254.0.


Quote:
Originally Posted by sunckell
You may want to try and tell Kickstart which interface to use....

add the ksdevice to your boot config:
linux ks=nfs:kserver.company.com:/kickstart.file ksdevice=eth0

or what ever you normal line is...
# 4  
Old 07-02-2009
What does your /etc/dhcpd.client config file look like? Might be that your DHCP range is to small.

How far into the install does it get?

Last edited by rcjmack; 07-02-2009 at 05:03 PM..
# 5  
Old 07-02-2009
I figured out the problem

I actually figured out what the problem was by looking through the loging on the switch. I'm using a Cisco Catalyst 2960G switch. What was happening is that when Anaconda was requesting a DHCP lease it was taking down the eth0 interface and bringing it back up. By the way the switch is configured it takes about 60-70 seconds for the port to be renabled after the interface went down. By then Anaconda was timing out the request for the DHCP lease. So I tested this theory by using a cheap 5 port switch, and it ended up working.
# 6  
Old 07-02-2009
Great news!!!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. SuSE

Non Graphical AutoYast installations & Kickstart

Hi We are using Kickstart to push images out for Suse using various releases as far back as 9.0. The trouble is we often have issues with ILO, ILO2, & ILO3 so prefer to use ssh onto the ILO and use textcons to get a text console. AutoYast when using the AutoYast.xml file goes into... (0 Replies)
Discussion started by: Swaps
0 Replies

2. Web Development

NFS Share & Mount problem

Hi, I want to mount an NFS Shared folder on Windows XP to vxWorks. There doesnt seem to be a problem with the sharing. Now, when i try to mount the directory onto vxWorks (it runs on a Tumbleweed card), using a mount script (.sh), the following is the print i see on Tera Term: hostAdd... (0 Replies)
Discussion started by: chinmayzen
0 Replies

3. Red Hat

"ERROR : failed to mount nfs source" Red Hat Kickstart

Hi There, I have been googling for this error and try solution provided but still not avail to resolve Kickstart Issue. Any expert have encounter this problem? Thanks. Regards, Regmaster (4 Replies)
Discussion started by: regmaster
4 Replies

4. Solaris

documents needed for dhcp and nfs tuning configuration

hi all i am learning about solaris. I am trying to configure dhcp in my sun blade 150 which is running with solaris 5.10 and i dont have any step by step guide to configure dhcp. I am requesting you all to suggest me some good document for nfs tuning too. Regards Kingston S (1 Reply)
Discussion started by: kingston
1 Replies

5. Red Hat

nfs on RHEL5.4 in relation to the selected kernel

I have 2 RHEL5.4 systems connected by a network. I start nfs server on one (fill /etc/exports , exportfs -ra, service nfs start, portmpa is up) and the client is on the other . I can mount the exported directory on the client and work there . Now the RH54 kernel is 2.6.18 . I now installed... (2 Replies)
Discussion started by: dubi
2 Replies

6. Linux

RHEL5 Kickstart Problem... HELP!

Folks, Im hoping you guys can help me. Here is a description of what I have going on. Fresh VM, trying to run a Kickstart Install on it for RHEL5. I am looking to access the kickstart file through nfs. I boot from a local ISO image and everything goes fine, I get to the boot prompt and enter... (3 Replies)
Discussion started by: mkono
3 Replies

7. UNIX for Dummies Questions & Answers

Mounting an NFS share: Kickstart Postinstall

For my kickstart install I use an NFS share on another machine in order to install the packages. For the most part, all configuration required after each time I reimage is set up in the kickstart file, but this one portion is giving me issues. I'm trying to mount an NFS share in the kickstart post... (0 Replies)
Discussion started by: Colton
0 Replies

8. Linux

NFS not mounting during kickstart

Hi, Re-building linux server from a kickstart image on cdrom. We have a kickstart server. the cdrom contacins the kickstart ks.cfg file and does a NFS mount from an IP to load the iso images and other files needed during the kickstart (re-build) Now for some reason the kickstart stops and... (2 Replies)
Discussion started by: Andrek
2 Replies

9. UNIX for Advanced & Expert Users

Problem: Automounting Home directory for nis & nfs configuration doesn't work

Hi all, First of all, i am so sorry about my bad level in English writing. I have some problem in linux and i hope the experts of this forum to help me if they have enough time to reply to me. I have a scenario of configuring NIS and NFS in Redhat Linux environment such that user can login... (0 Replies)
Discussion started by: pioneer
0 Replies

10. AIX

Problem with NFS & rpc.lockd-Help Needed

We have windows clients that access drawing files shared from our AIX server using NFS. The Windows clients are intermittently unable to open files or access the system. For some reason restarting the rpc.lockd temporarily resolves the problem. However, that is the only clue I have to what the... (1 Reply)
Discussion started by: theologic
1 Replies
Login or Register to Ask a Question