Solved

To create and return to original configuration if something goes wrong

Posted on 2014-01-22
9
230 Views
Last Modified: 2014-02-10
How can I do the following to 100 servers. If you can help script the following lines

1. Backup first the original /etc/grub.conf
2. Modify the system kernel paramter "crashkernel" . This is done by editing the /etc/grub.conf file and add "crashkernel=256M@32M " to the kernel line.

3. Make an entry in the /etc/kdump.conf
    net my.server.com:/kdump/
4. Enable kdump service
   chkconfig kdump on
0
Comment
Question by:oo_tatang
  • 5
  • 4
9 Comments
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 39801208
To enable reversion, you should introduce some form of revision control. RCS is perfectly adequate if the configs are different on every system. If they are the same and you only want to make the change once, you could use Subversion, CVS or git. Are you familiar with any of these?

Sorry can't help you with actual config changes - but if you know what they are and you post them then I could maybe help with scripting
0
 

Author Comment

by:oo_tatang
ID: 39805742
I've requested that this question be deleted for the following reason:

Not needed
0
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 39805743
I don't think that is a valid reason to cancel a Q.
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:oo_tatang
ID: 39806815
I already figured out the solutions
0
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 39808046
Please post them here then. After that, you can accept your post (zero points)
0
 

Author Comment

by:oo_tatang
ID: 39825180
I already figured out the solutions
0
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 39825505
Yes, you already said that. Pleas POST YOUR SOLUTIONS HERE
0
 

Accepted Solution

by:
oo_tatang earned 0 total points
ID: 39835491
Made a backup of the original files and when some goes wrong roll it back again
0
 

Author Closing Comment

by:oo_tatang
ID: 39846803
It's easier
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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

815 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now