Link to home
Start Free TrialLog in
Avatar of oo_tatang
oo_tatang

asked on

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
Avatar of Duncan Roe
Duncan Roe
Flag of Australia image

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
Avatar of oo_tatang
oo_tatang

ASKER

I've requested that this question be deleted for the following reason:

Not needed
I don't think that is a valid reason to cancel a Q.
I already figured out the solutions
Please post them here then. After that, you can accept your post (zero points)
I already figured out the solutions
Yes, you already said that. Pleas POST YOUR SOLUTIONS HERE
ASKER CERTIFIED SOLUTION
Avatar of oo_tatang
oo_tatang

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It's easier