[CentOS] Cloning Centos server with RSync - what to exclude?

2009-10-08 Thread Bob p...@nle
Hi all,

I have a few CentOS servers that I want to mirror live, to be standby 
spares.  The "spare" machines could be either a different machine (with 
a different motherboard), or a VM in Vmware server.

I've used rsync in the past, which works well for doing it while the 
machine is live.  However, I want the destination to be running 
different hardware, and have a different IP address assigned to the 
nic.  My goal is to rsync everything -except- the files that pertain to 
the network interface, and the file system mount points.

My process is this:
1. Install Centos on "spare" machine, configure for proper ethernet.
2. Rsync from live to spare, excluding files pertaining to NIC and FS.

Then if it needs to go live, I simply change the IP address, and I'm off 
and running.

The question is: what do I exclude?  I know 
/etc/sysconfig/network-scripts/, /etc/fstab, and /etc/modules*, but what 
else?  I think there may be some stuff in /var also that deals with 
raid, etc.  The live computer is running software raid, while the backup 
will not.

Bob

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Net-SNMP interfaces out of order

2009-11-07 Thread Bob p...@nle
Hello Centos People,

I have a CentOS 5.3 box that had a total of 5 ethernet cards in it.  It 
functions to share an internet connection with 4 different subnets.  All 
works fine, except I'm noticing that my MRTG traffic graphs are wrong.  
Further digging with snmpwalk reveal that the order of the ethernet 
interfaces changes every time the machine is rebooted to a different order.

For example, I currently see:

IF-MIB::ifDescr.1 = STRING: lo
IF-MIB::ifDescr.2 = STRING: eth3
IF-MIB::ifDescr.3 = STRING: eth4
IF-MIB::ifDescr.4 = STRING: eth0
IF-MIB::ifDescr.5 = STRING: eth1
IF-MIB::ifDescr.6 = STRING: eth2
IF-MIB::ifDescr.7 = STRING: sit0

Why is this not in proper order?  Other servers seem to be ok.  my 
snmpd.conf file has little, if anything as far as config.  Is there 
something I need to put in there for persistence?

Bob

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Router for SOHO network - hardware considerations

2010-11-22 Thread Bob p...@nle
I am looking for something similar to this thread.. Is there a way to 
make a small CentOS distro that is bootable and runnable from only a
USB memory stick?  It would need to be able to have files modified, but 
I wouldn't want the USB stick to die prematurely due to a ton of writes...

Bob
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos