Re: Age old question: FBSD vs Linux

Charles Wyble <[email protected]>
Newsgroups gmane.org.operators.internet-access
Message-ID <[email protected]>
> The only things that require a reboot in Debian are (a) hardware
> failures that can't be hotswapped and (b) kernel upgrades.
> Technically you can get around (b) with a trick called
> "three-kernel-monte" but it's not for production use, just for
> showing off.


Indeed. With 2 redundant servers, and kvm (or your virtualization poison 
of choice) you can have near 100% uptime of your applications. In all 
likelyhood 1 server would be sufficient. Obviously your server should 
have RAID(1/5/10 whatever your app requires,) and 2 hot swap power 
supplies.

The key thing with 2 servers, is that on occasion back planes fail. I've 
seen it a few times on dell gear.



> 
> The administration tools and packaging in Debian are amazingly
> good.

Yes. They are. It has a very professional polish throughout that makes 
it very pleasant to use.

Centos is a very popular distro as well, but I find it requiring many 
workarounds and tweaking that Debian doesn't.

Setup a VM of each.

I strongly recommend Debian for the host operating system. I really like 
KVM, as it's quite simple to setup and provision virtual machines.

I use a simple script:

#!/bin/bash
#A script to fire up KVM virtual machines on the elmonte server

image_name="Freeswitch-demo-development"
disk_image="freeswitch-dev.img"
cdrom_image="../isos/ubuntu-server-x86_64.iso"
boot_select="c"
kvm_opts="-daemonize -nographic"


kvm \
         -hda $disk_image \
         -cdrom $cdrom_image \
         -boot $boot_select \
         -name $image_name \
         -net nic,model=rtl8139,macaddr=52:54:00:12:34:08 -net tap \
         $kvm_opts
reset


You can use qemu-img to create a disk image. Make sure to set your MAC 
address per instance.

You'll also need to setup a bridge. Here is my /etc/network/interfaces 
file:

auto eth1
iface eth1 inet manual

auto br0
iface br0 inet static
         address 10.10.4.109
         network 10.10.4.0
         netmask 255.255.255.0
         broadcast 10.10.4.255
         gateway 10.10.4.1
         bridge_ports eth1
         bridge_fd 9
         bridge_hello 2
         bridge_maxage 12
         bridge_stp off


-- 
Eat sushi frequently. - Avi
[email protected] is the human contact address.
[email protected] is the list posting address.
See below URL for subscribe/unsubscribe and list options:
http://inet-access.net/mailman/listinfo/list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.