Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.

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.

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.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

No, I have 128 Red Hat Licenses, I'm looking to duplicate the basic functionality, as outlined above, of the RHN Satellite Server. I need the ability to clone a system, duplicating the installed RPMs and versions. The cost to do this through a satellite server is prohibitive at the moment.

Ah, you just want to clone the satellite server. Well, I'm afraid I'm quite useless there. The computers you are installing to, is it identical hardware? If so, you could set one system up exactly as you want it, with a clean install, the dd the character device of the hard disk into an image file, and have a quick script that would download the image file and dd it to the drive. Course, that's useless if the hardware isn't the same.

The hardware may/not be the same. The architecture will stay constant. Essentially I will configure a new server for a development environment, and once the applications/systems need to progress through production I want to be able to take a snapshot of that servers RPMs, including updates, and reproduce to a new server possibly a second/third/forth... development server or prod.

Have you had any luck in this search? I'm trying to do the same thing for a customer of ours. They have a development and production environment, and i'm trying to come up with a way for them to install a set of packages in dev, test the setup, then copy that set of packages to production. (Edit: Right now they have ~250 updates waiting for them if they just do an up2date -u)

Seems like you could run rpm -qa on the 'source' box, tack on the architecture tags and then run 'up2date --get <filename>' on all of the lines of the output, but that seems super tedious and a bit risky. I couldn't find an rpm queryflag that provides the filename of the RPM that was installed, either.

No I haven't yet. I have used the 'rpm -qa" > file, to get a base list. However you need to do a lot of editing to get it cleaned up enough to use. The sed script for that one was ugly. I also thought about having a system save the updated RPMs, and copying them to my kickstart server, to host the updates.

Perhaps something like cfengine would be useful? It's a tool for synchronizing configurations across multiple systems. When I was in the hosting business was used it to push out html branding and minor software revisions to hundreds of different servers in our datacenters.

I have found that I can do a up2date --get * it pulls down the headers, but not the associatedRPM files. I figured, that I could use this, and post them on my kickstart server. I have a valid number of licenses, for the updates, I'm looking for a way to do it locally, without 100 servers going out over my internet connection, plus the ability to clone a system, to a specific patch list and revision level.