Solved

To create and return to original configuration if something goes wrong

Posted on 2014-01-22
9
239 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 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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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.

739 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