LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-14-2011, 08:31 AM   #1
co_bofh
LQ Newbie
 
Registered: Mar 2005
Location: Longmont, Co
Distribution: OpenBSD, Solaris, Red Hat, Ubuntu, OS X, HP-UX, Tru64
Posts: 20

Rep: Reputation: 0
Red Hat 5.4 Kickstart, Clustering and KVM installation failing


I added the "@clustering" and "@kvm" keywords to my ks.cfg file but during installation, an error about not being able to find either of these packages popped up and it wasn't installed.

I do see the Cluster and VT directories in my redhat_es5.4 directory along with the Server directory. The rest of the files install just fine.

In doing some net and forum searching, I find a reference to a base.repo file that lists the directories but I'm not sure if it's related to creating a yum repository or if not, should it have been created in the redhat_es5.4 directory.

While I've built kickstarts for several years and am comfortable with the file, this is the first time I'm working with rpms outside the main Server path.

I'll likely give the base.repo file a try while I'm waiting on an answer or two.

Thanks for any help.

Carl
 
Old 03-14-2011, 08:53 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
it should just be a case of defining a "repo" in the kickstart instead of a "url" to the main installation source, e.g.:


url --url=http://build/infrastructure/$revision/rpm/repos/maincentos
repo --name=rpmforge --baseurl=http://build/infrastructure/$revision/rpm/repos/rpmforge
 
1 members found this post helpful.
Old 03-14-2011, 10:02 AM   #3
co_bofh
LQ Newbie
 
Registered: Mar 2005
Location: Longmont, Co
Distribution: OpenBSD, Solaris, Red Hat, Ubuntu, OS X, HP-UX, Tru64
Posts: 20

Original Poster
Rep: Reputation: 0
I did just find the repo keyword in the anaconda docs so thanks for confirming it. I've reconfigured my kickstart to add in the two repo keywords but left in the url for the main distro. Would I need to use repo instead of the url or could I use url for the main install and repo for any additional ones?

Carl
 
Old 03-14-2011, 10:16 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
url defines the installation source, and repo defines additional repositories.
 
Old 03-14-2011, 10:25 AM   #5
co_bofh
LQ Newbie
 
Registered: Mar 2005
Location: Longmont, Co
Distribution: OpenBSD, Solaris, Red Hat, Ubuntu, OS X, HP-UX, Tru64
Posts: 20

Original Poster
Rep: Reputation: 0
Perfect, thanks for the help.

Carl
 
Old 03-15-2011, 08:36 AM   #6
co_bofh
LQ Newbie
 
Registered: Mar 2005
Location: Longmont, Co
Distribution: OpenBSD, Solaris, Red Hat, Ubuntu, OS X, HP-UX, Tru64
Posts: 20

Original Poster
Rep: Reputation: 0
Just to provide the final specific information as it's not clear in the docs.

We are running an internal web site for our kickstarts as we install several different versions depending on the project. So we have:

/redhat_es5.0
/redhat_es5.2
/redhat_es5.4

So the repo line needs to be:

repo --name=clustering --baseurl=http://$HOST_IP/redhat_es5.4/Cluster
repo --name=kvm --baseurl=http://$HOST_IP/redhat_es5.4/VT

And it's in addition to the url line as noted.

It took a few tries in order to get the proper format of the repo line.

And one more little tidbit. In my efforts to try and find where the clustering package resided, I uncompressed the various files in the repodata directory to scan them, and then compressed them again when I was done. Unfortunately that changed the checksum and prevented the installation.

Thanks again for the help.

Carl
 
Old 03-15-2011, 09:17 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
the installation source configs on the DVD's do actually have support for multiple locations, as I found out from digging into cobbler configs. I think redhat themselves introduced this functionality especially for this sort of scenario or possibly to deal with 2nd dvd's / 18th cd's easier, so if you're using cobbler you would find this is automatically populated based on config data on the distro cd's, although right now I can't find this metadata on the dvd after looking for a few minutes.
 
Old 03-15-2011, 10:08 AM   #8
co_bofh
LQ Newbie
 
Registered: Mar 2005
Location: Longmont, Co
Distribution: OpenBSD, Solaris, Red Hat, Ubuntu, OS X, HP-UX, Tru64
Posts: 20

Original Poster
Rep: Reputation: 0
I'll have to check on cobbler. We're just snagging the iso and dumping it into the redhat_es5.4 directory.

Carl
 
  


Reply

Tags
cluster, installation, kickstart, red hat


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Red Hat Clustering lensem Linux - Software 3 09-01-2010 12:27 AM
[SOLVED] How to install Heartbeat (for clustering) in a Red Hat 5 peuche Red Hat 12 04-22-2010 02:51 PM
Red Hat Clustering ?? your_shadow03 Linux - Server 2 06-25-2008 02:41 AM
Red Hat Clustering with Opforce??? your_shadow03 Linux - Server 1 06-23-2008 01:54 PM
Red Hat Linux ES clustering dsai Linux - Software 1 02-23-2006 02:29 AM


All times are GMT -5. The time now is 02:08 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration