Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-14-2011, 09:31 AM
|
#1
|
LQ Newbie
Registered: Mar 2005
Location: Longmont, Co
Distribution: OpenBSD, Solaris, Red Hat, Ubuntu, OS X, HP-UX, Tru64
Posts: 20
Rep:
|
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
|
|
|
03-14-2011, 09:53 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
03-14-2011, 11:02 AM
|
#3
|
LQ Newbie
Registered: Mar 2005
Location: Longmont, Co
Distribution: OpenBSD, Solaris, Red Hat, Ubuntu, OS X, HP-UX, Tru64
Posts: 20
Original Poster
Rep:
|
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
|
|
|
03-14-2011, 11:16 AM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
url defines the installation source, and repo defines additional repositories.
|
|
|
03-14-2011, 11:25 AM
|
#5
|
LQ Newbie
Registered: Mar 2005
Location: Longmont, Co
Distribution: OpenBSD, Solaris, Red Hat, Ubuntu, OS X, HP-UX, Tru64
Posts: 20
Original Poster
Rep:
|
Perfect, thanks for the help.
Carl
|
|
|
03-15-2011, 09:36 AM
|
#6
|
LQ Newbie
Registered: Mar 2005
Location: Longmont, Co
Distribution: OpenBSD, Solaris, Red Hat, Ubuntu, OS X, HP-UX, Tru64
Posts: 20
Original Poster
Rep:
|
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
|
|
|
03-15-2011, 10:17 AM
|
#7
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
03-15-2011, 11:08 AM
|
#8
|
LQ Newbie
Registered: Mar 2005
Location: Longmont, Co
Distribution: OpenBSD, Solaris, Red Hat, Ubuntu, OS X, HP-UX, Tru64
Posts: 20
Original Poster
Rep:
|
I'll have to check on cobbler. We're just snagging the iso and dumping it into the redhat_es5.4 directory.
Carl
|
|
|
All times are GMT -5. The time now is 01:23 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|