From: Gordan B. <go...@bo...> - 2009-11-09 23:16:07
|
Hi, I'm trying to configure a cluster for KVM virtualization with bridged networking, which might cause a problem or two so I wanted to get some feedback before I actually do it. Specifically, KVM bridged networking requires a bridged network device, which I'm not sure can be set up in cluster.conf at the moment. Assuming one NIC, eth0, it would require something like the following in the non-cluster setup: # cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 HWADDR=00:11:22:33:44:55 ONBOOT=yes BRIDGE=br0 # cat /etc/sysconfig/network-scripts/ifcfg-br0 DEVICE=br0 TYPE=Bridge BOOTPROTO=static IPADDR=10.11.12.13 NETMASK=255.0.0.0 GATEWAY=10.255.255.254 ONBOOT=yes I think br0 can stay in real-root (as opposed to initroot), but eth0 would need to be set up in initroot for node ID purposes, which would, presumably, require it to come up as the bridge device. Is that doable? The only other thing I can think of is to add another NIC in the machine to work out the node id from. That would work as a work-around, but it's a bit of a bodge. Any thoughts on this? Gordan |