Solved

To create and return to original configuration if something goes wrong

Posted on 2014-01-22
9
228 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
 

Author Comment

by:oo_tatang
ID: 39806815
I already figured out the solutions
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now