Solved

RedHat Linux kickstart problem

Posted on 2010-08-31
5
566 Views
Last Modified: 2012-05-10
Hello,

I'm trying to setup a kickstart server using which I want to install the servers (kickstart clients) located in various racks in our datacenter. But for some reason, after I initiate the kickstart installation on the client machine, it is not picking the ks.cfg file and it gives the error "Unable to download the kickstart file". Actually here am not trying to do the installation across different subnet. All the servers in our datacenter are configured with the same subnet 10.100.X.X/16 (all are in the same VLAN). So I can assign any IP in the subnet 10.100.X.X/16 to any server in our datacenter. However the kickstart client is not picking up the IP leased by DHCP server and establish the connection with the Kickstart server.

Interesting thing is, when I try to install the server which is in the rack where Kickstart server located, it works.

Please advice what is blocking the kickstart client to get the IP leased by Kickstart server and start the installation. Thanks !
0
Comment
Question by:ashsysad
  • 2
  • 2
5 Comments
 
LVL 30

Assisted Solution

by:Kerem ERSOY
Kerem ERSOY earned 350 total points
ID: 33566432
Hi,

If the problem is you can get the DHCP address in the same rack but not in other racks you might have problems with your switch configurations in other racks. This is a crucial problem that you'll need to solve before further investigating the kickstart issue. Just check other racks and switches if they allow you get an DHCP server from your kickstart server otherwise modify the setting in switches so that you are able to get DHCP address from all servers.

Cheers,
K.
0
 
LVL 1

Assisted Solution

by:m0nk3yza
m0nk3yza earned 150 total points
ID: 33566596
Hi ashsysad,

My 2c,

We've also had endless issues with RedHat kickstart.

What sometimes works is if we use a CrossOver cable between the KickStart server and the new server that needs to be installed (I know this is a hassle, but often we're pressed for time, and just need to get the server installed ASAP).

Also, we need to restart the following services on the KickStart server each time we want to kickstart a new server:

nfs
nfslock
portmap
dhcpd

After that I do:

exportfs -av

During the installation, I do Ctrl+F3 or Ctrl+F4 to view the progress  (on the target box).

On the KickStart server I do:

tail -f /var/log/messages

To check if an IP has been assigned to the target server.

Cheers,

J
0
 

Author Comment

by:ashsysad
ID: 33584517
Thanks for your inputs. I checked the servers in other racks and confirmed that they are able to get the DHCP IPs. So only during the Kickstart installation, the server is unable to get the IP from Kickstart server. I'm wondering if we require to open any ports on the switches or servers, inorder to get the IPs leased by DHCP server during Kickstart installation. Any ideas ?
0
 
LVL 30

Accepted Solution

by:
Kerem ERSOY earned 350 total points
ID: 33584640
Hi,

Most L3 / L4 switches have a setting about which IP address to direct the DHCP requests. So all DHCP requests are directed to this server only which is generally a central DHCP server or and AD server.

You have two options in this case. You'll either change the DHCP relay setting to the kickstart install  server temporarily during the kickstart installation or you'll temporarily place the servers being installed by kickstart on the same switch with kickksart install  server using patch cables.

Another option is to use a direct cable attachment as m0nk3yza suggests. But you will only be installing one server at a time and  as far as I understand this would slow down your installation process.


Cheers,
K.
0
 

Author Closing Comment

by:ashsysad
ID: 33616295
Thanks for all your suggestions. It helped me indeed to know where the problem could be.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question