[FUG-BR] FreeBSD 8 CARP no Vmware ESXi

Éderson Chimbida chimbida em gmail.com
Quarta Outubro 7 14:06:16 BRT 2009


Alguém ao menos pode me dizer se CARP funciona no VMWARE ESXi ?
Éderson H. Chimbida


2009/10/7 Éderson Chimbida <chimbida at gmail.com>

> Quero fazer o arp balance, e fiz como esta descrito em:
> http://www.freebsd.org/cgi/man.cgi?query=carp&sektion=4Ali ele coloca 2
> interfaces carp com o mesmo ip e vhid diferentes no mesmo host...
>
> E com 1 interface carp em cada host, como a conf abaixo... acontece o mesmo
> erro
>
>
> 2009/10/7 Fabricio Archanjo <farchanjo at gmail.com>
>
> kra,
>>
>>
>> > Maquina 1: <
>>
>> ### /etc/rc.conf
>> defaultrouter="192.168.1.1"
>> hostname="w2k3-php-vm01.dominio.com.br"
>> ifconfig_em0="inet 192.168.1.217  netmask 255.255.255.0"
>> cloned_interfaces="carp0"
>> ifconfig_carp0="vhid 1 pass xyz at 321 192.168.1.220/24"
>> keymap="us.pc-ctrl"
>> sshd_enable="YES"
>> apache22_enable="YES"
>> nfs_client_enable="YES"
>> fusefs_enable="YES"
>> vmware_guest_vmmemctl_enable="YES"
>> vmware_guestd_enable="YES"
>>
>> ### /etc/sysctl.conf
>> net.inet.carp.arpbalance=1
>> vfs.read_max=256
>> kern.module_path=/boot/kernel;/boot/modules;/usr/local/modules
>>
>> > Maquina 2: <
>>
>> ### /etc/rc.conf
>> defaultrouter="192.168.1.1"
>> hostname="fbsd-php-vm02.dominio.com.brr"
>> ifconfig_em0="inet 192.168.1.218  netmask 255.255.255.0"
>> cloned_interfaces="carp0"
>> ifconfig_carp0="vhid 1 advskew 100 pass xyz at 321 192.168.1.220/24"
>> keymap="us.pc-ctrl"
>> sshd_enable="YES"
>> apache22_enable="YES"
>> nfs_client_enable="YES"
>> vmware_guest_vmmemctl_enable="YES"
>> vmware_guestd_enable="YES"
>> fusefs_enable="YES"
>>
>>
>> =)
>>
>>
>> 2009/10/7 Éderson Chimbida <chimbida at gmail.com>
>>
>> > Pessoal,
>> >
>> > Estou precisando uma ajuda para resolver um problema no CARP com 2
>> máquinas
>> > virtuais que rodam em um servidor ESXi 4
>> > As máquinas virtuais são FreeBSD 8.0-RC1
>> >
>> > E dai quando o carp sobe, elas ficam meio que dando travadinhas e dando
>> o
>> > seguinte erro direto:
>> >
>> > kernel: carp0: incorrect hash
>> >
>> > Alguma dica de porque isso acontece?
>> >
>> > > Maquina 1: <
>> >
>> > ### /etc/rc.conf
>> > defaultrouter="192.168.1.1"
>> > hostname="w2k3-php-vm01.dominio.com.br"
>> > ifconfig_em0="inet 192.168.1.217  netmask 255.255.255.0"
>> > cloned_interfaces="carp0 carp1"
>> > ifconfig_carp0="vhid 1 pass xyz at 321 192.168.1.220/24"
>> > ifconfig_carp1="vhid 2 advskew 100 pass xyz at 321 192.168.1.220/24"
>> > keymap="us.pc-ctrl"
>> > sshd_enable="YES"
>> > apache22_enable="YES"
>> > nfs_client_enable="YES"
>> > fusefs_enable="YES"
>> > vmware_guest_vmmemctl_enable="YES"
>> > vmware_guestd_enable="YES"
>> >
>> > ### /etc/sysctl.conf
>> > net.inet.carp.arpbalance=1
>> > vfs.read_max=256
>> > kern.module_path=/boot/kernel;/boot/modules;/usr/local/modules
>> >
>> >
>> > > Maquina 2: <
>> >
>> > ### /etc/rc.conf
>> > defaultrouter="192.168.1.1"
>> > hostname="fbsd-php-vm02.dominio.com.brr"
>> > ifconfig_em0="inet 192.168.1.218  netmask 255.255.255.0"
>> > cloned_interfaces="carp0 carp1"
>> > ifconfig_carp0="vhid 1 advskew 100 pass xyz at 321 192.168.1.220/24"
>> > ifconfig_carp1="vhid 2 pass xyz at 321 192.168.1.220/24"
>> > keymap="us.pc-ctrl"
>> > sshd_enable="YES"
>> > apache22_enable="YES"
>> > nfs_client_enable="YES"
>> > vmware_guest_vmmemctl_enable="YES"
>> > vmware_guestd_enable="YES"
>> > fusefs_enable="YES"
>> >
>> > ### /etc/sysctl.conf
>> > net.inet.carp.arpbalance=1
>> > vfs.read_max=256
>> > kern.module_path=/boot/kernel;/boot/modules;/usr/local/modules
>> >
>> > Instalei o open-vm-tools do ports mão não mudou em nada!
>> >
>> > --
>> > Éderson H. Chimbida
>> > -------------------------
>> > Histórico: http://www.fug.com.br/historico/html/freebsd/
>> > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>> >
>> -------------------------
>> Histórico: http://www.fug.com.br/historico/html/freebsd/
>> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>>
>
>


Mais detalhes sobre a lista de discussão freebsd