Solved

RedHat Linux kickstart problem

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
(Open)LDAP V2.44  search proxy to AD (W2012R2) 37 133
installing docker on ubuntu 6 28
Run DOS2UNIX and then execute the command 21 70
winscp where are logs stored 3 34
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
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.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

805 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