Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 246
  • 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
Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

 
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

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

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