Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 253
  • Last Modified:

To create and return to original configuration if something goes wrong

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
oo_tatang
Asked:
oo_tatang
  • 5
  • 4
1 Solution
 
Duncan RoeSoftware DeveloperCommented:
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
 
oo_tatangAuthor Commented:
I've requested that this question be deleted for the following reason:

Not needed
0
 
Duncan RoeSoftware DeveloperCommented:
I don't think that is a valid reason to cancel a Q.
0
Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

 
oo_tatangAuthor Commented:
I already figured out the solutions
0
 
Duncan RoeSoftware DeveloperCommented:
Please post them here then. After that, you can accept your post (zero points)
0
 
oo_tatangAuthor Commented:
I already figured out the solutions
0
 
Duncan RoeSoftware DeveloperCommented:
Yes, you already said that. Pleas POST YOUR SOLUTIONS HERE
0
 
oo_tatangAuthor Commented:
Made a backup of the original files and when some goes wrong roll it back again
0
 
oo_tatangAuthor Commented:
It's easier
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now