Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I currently have two servers both with linux software RAID1 configurations. They use heartbeat and DRBD to create a shared DRBD device that hosts a a exported NFS directory. The servers run Ubuntu Server with a LXDE GUI and some IP

These servers are going to be placed on fishing vessels to act has redundant storage for IP cameras.

My boss wants me to figure out the most efficient way to create these servers. We might be looking at pushing out several systems a week. Each configuration will be almost identical besides IP addressing.

What would be the best method to automate the configuration process? We are trying to cut down on labor costs to set these up. Imaging and Proceeding are both on my mind right now

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Each configuration will be almost identical besides IP addressing.

If that's the only thing that will be different, image the systems and then change the address with a script that mounts the filesystem, and edits the network configuration file.

For good measure changes the partition UUIDs and associated fstab entries, and if they exist any ssh host keys (I'd suggest deleting the host keys from the image master to force regeneration).

See for reference.

share|improve this answer
Thanks Jeff. What is the best way to go about imaging software RAID 1? – Matthew Nov 16 '12 at 16:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.