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
oo_tatangAsked:
Who is Participating?
 
oo_tatangConnect With a Mentor Author Commented:
Made a backup of the original files and when some goes wrong roll it back again
0
 
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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
Duncan RoeSoftware DeveloperCommented:
I don't think that is a valid reason to cancel a Q.
0
 
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:
It's easier
0
All Courses

From novice to tech pro — start learning today.