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
Solved

To create and return to original configuration if something goes wrong

Posted on 2014-01-22
9
232 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Fine Tune your automatic Updates for Ubuntu / Debian
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.

828 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