Solved

RedHat Linux kickstart problem

Posted on 2010-08-31
5
562 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

760 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now