Solved

To create and return to original configuration if something goes wrong

Posted on 2014-01-22
9
243 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 35

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 35

Expert Comment

by:Duncan Roe
ID: 39805743
I don't think that is a valid reason to cancel a Q.
0
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 

Author Comment

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

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 35

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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

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…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

622 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