Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

First off, I would (and there is a similar thought elsewhere in this thread) set up any "Non-OS" packages that you install in their own nest complete with the customizations you need. Once that is done I'd create RPMS of it all and then write those RPMS someplace safe. CDs will work or even (how quaint!) tapes.

Secondly, I would keep that anaconda.conf file that gets generated when you build the system from scratch and use that to set up a kickstart environment for your servers. This will pay off in simplifying the task of rebuilding your servers. If you further modify the kickstart with your RPMS that you made and integrate your RPMS onto your kickstart server you have further enhanced your recovery process.

Thirdly, set up some sort of CVS mechanism whereby you only modify configuration files system wide and keep them in a CVS repository. A deployment script could then be used to check your changes out of CVS and write them to your production system. Optionally you could write some sanity checking into your deployment scripts (I leave how as an intellectual excersize for you to solve).

Last thought: Will all the above you could write postinstall scripts to run during the kickstart build to perform any last moment tweaking, CVS checkouts or whatever to bring your system up to a known state. It is even possible for you to do a restore from tape or whatever from inside the post install scripts.

Linux and the Open Source Community provide lots of tools to get this job done and with Kickstart, well... Kickstart is your friend.

I just helped someone set up an environment where they keep their Kickstart servers turned off except when they need to do a rebuild. Then the boot up the KS, reboot the machine that needs rebuilding and away they go. In fact they will rebuild their machines while the standby machine takes over once in a while just to make sure their procedures work.

Peter L. BergholdBrewer of Belgian Ales
Unix Professional

In reply to Re: Using Perl to help backup Linux server by blue_cowdawg
in thread Using Perl to help backup Linux server by peppiv

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2021-06-25 07:42 GMT
Find Nodes?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)

    Results (134 votes). Check out past polls.