OK, so her's the problem. We have a number of servers each built on identical hardware but with slightly different modules etc. For administrative reasons we want them to be totally identical from a Linux perspective. The plan is
[ol]
[li]Build a server to standard RedHat ES4 with all the bits we want (and not those we don't)[/li]
[li]Backup this server using mondoarchive[/li]
[li]On each of the production servers
[ol]
[li]Put a USB Memory stick in the front[/li]
[li]tar up a list of files to this memory stick[/li]
[li]Restore the image built on the test server onto the live chasis[/li]
[li]untar the files back off the memory stick[/li]
[li]reboot and there you are[/li]
[/ol][/li]
[/ol]
The BIG question is exactly which files need to be tarred up. My list so far is
There is another school of thought (my favourite) that it would be best to backup all of /etc except one or two files but no-one can decide which.
So the questions are
[ol]
[li]Should we be trying this at all?[/li]
[li]If so how do we define the file list to back up[/li]
[li]Should our approach be backup all of /etc except selected files or backup selected files.[/li]
[/ol]
An ideas/input gratefully received
Columb Healy
[ol]
[li]Build a server to standard RedHat ES4 with all the bits we want (and not those we don't)[/li]
[li]Backup this server using mondoarchive[/li]
[li]On each of the production servers
[ol]
[li]Put a USB Memory stick in the front[/li]
[li]tar up a list of files to this memory stick[/li]
[li]Restore the image built on the test server onto the live chasis[/li]
[li]untar the files back off the memory stick[/li]
[li]reboot and there you are[/li]
[/ol][/li]
[/ol]
The BIG question is exactly which files need to be tarred up. My list so far is
Code:
/etc/hosts
/etc/passwd
/etc/shadow
/etc/group
/etc/cron*
/etc/*.allow
/etc/*.deny
/etc/ssh/*
/etc/sysconfig/*
/home/*
So the questions are
[ol]
[li]Should we be trying this at all?[/li]
[li]If so how do we define the file list to back up[/li]
[li]Should our approach be backup all of /etc except selected files or backup selected files.[/li]
[/ol]
An ideas/input gratefully received
Columb Healy