From: Matt R. <m.r...@t-...> - 2009-07-18 11:40:23
|
Best Todd, thanks for the patches. Cool stuff cheers, Matt Todd E Johnson wrote: > On Tue, 2009-07-14 at 13:14 +0200, Matt Rechenburg wrote: > >> Hi Todd, >> >> Todd E Johnson wrote: >> >>> I have created a custom kernel with a custom linuxrc that creates bond0 >>> instead of eth0:oq. I then create the hardlink for ifenslave to busybox >>> and call it. It is not supported by busybox. >>> >>> Is there anything special about this version of busybox? The 1.14.2 >>> that is current stable has ifenslave support. Can I just compile it and >>> copy over busybox to the initrd.img? >>> >>> >> yep >> >> I just updated >> .. >> OPENQRM_SOURCE_VERSION="1.14.2" >> .. >> in ../src/etc/build.conf/busysbox :) >> >> -> commited to the svn >> >> I would be very interested in your changes according to the interface >> bonding. >> Would you please post them here if they are working for you ? >> >> many thanks + all the best, >> >> Matt >> >> > > Because this is for a xen dom0 that iscsi boots I can't change the > network after it switches to iscsi. So below is the patch that creates > a bridge on the bond. It has to wait until the kernel modules are > loaded so it has access to the bonding kernel module. > > [root@disk1 templates]# diff openqrm-linuxrc > openqrm-linuxrc-bonding-bridge > 234c234 > < echo "Bringing up $OPENQRM_RESOURCE_MANAGED_INTERFACE:oq" > --- > >> echo "Bringing up bond0" >> > 242,244c242,251 > < ifconfig $OPENQRM_RESOURCE_MANAGED_INTERFACE down > < ifconfig $OPENQRM_RESOURCE_MANAGED_INTERFACE up > < ifconfig $OPENQRM_RESOURCE_MANAGED_INTERFACE:oq > $OPENQRM_RESOURCE_IP_ADDRESS netmask $OPENQRM_RESOURCE_SUBNETMASK > broadcast $OPENQRM_RESOURCE_BROADCAST up > --- > >> modprobe bonding mode=1 miimon=100 >> ifconfig bond0 down >> ifconfig bond0 up >> ifconfig bond0 hw ether $OPENQRM_RESOURCE_MAC_ADDRESS >> ifconfig bond0 $OPENQRM_RESOURCE_IP_ADDRESS netmask >> > $OPENQRM_RESOURCE_SUBNETMASK broadcast $OPENQRM_RESOURCE_BROADCAST up > >> ln -s /bin/busybox /bin/ifenslave >> ifenslave bond0 eth0 >> ifenslave bond0 eth1 >> >> > 273a281,290 > >> echo "Configuring brbond0" >> ifconfig bond0 0.0.0.0 >> brctl addbr brbond0 >> brctl addif brbond0 bond0 >> ifconfig brbond0 $OPENQRM_RESOURCE_IP_ADDRESS netmask >> > $OPENQRM_RESOURCE_SUBNETMASK broadcast $OPENQRM_RESOURCE_BROADCAST up > >> # force a small delay for the networkcard to initialyze >> ping -c 5 -q $OPENQRM_SERVER_IP_ADDRESS > /dev/null >> >> >> > > > >>> OT:Is there a IRC channel for openqrm? I read about the Jabber server >>> in the archives has that been decommissioned? >>> >>> On Fri, 2009-07-10 at 03:06 -0500, Todd E Johnson wrote: >>> >>> >>>> I'm trying to boot a appliance and I want it to use bonded interfaces >>>> for redundancy. I use CentOS and tried to use ifcfg-bond0, but I can't >>>> use dhcp or script it to use the kernel arguments without loosing the >>>> iscsi file system and crashing. >>>> >>>> I also hope to put vlans on bond0 and bridges on the vlan interfaces to >>>> allow xen domUs access to other networks. I know how to do this >>>> normally, but I'm somewhat confused with the OpenQRM way of configuring >>>> xen and network boot xen dom0s. >>>> >>>> Has anyone solved this problem in the past or have suggestions? >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Enter the BlackBerry Developer Challenge >>>> This is your chance to win up to $100,000 in prizes! For a limited time, >>>> vendors submitting new applications to BlackBerry App World(TM) will have >>>> the opportunity to enter the BlackBerry Developer Challenge. See full prize >>>> details at: http://p.sf.net/sfu/Challenge >>>> _______________________________________________ >>>> Openqrm-user mailing list >>>> Ope...@li... >>>> https://lists.sourceforge.net/lists/listinfo/openqrm-user >>>> >>>> >>> ------------------------------------------------------------------------------ >>> Enter the BlackBerry Developer Challenge >>> This is your chance to win up to $100,000 in prizes! For a limited time, >>> vendors submitting new applications to BlackBerry App World(TM) will have >>> the opportunity to enter the BlackBerry Developer Challenge. See full prize >>> details at: http://p.sf.net/sfu/Challenge >>> _______________________________________________ >>> Openqrm-user mailing list >>> Ope...@li... >>> https://lists.sourceforge.net/lists/listinfo/openqrm-user >>> >>> >> > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > Openqrm-user mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openqrm-user > -- http://openqrm.com - The open-source Cloud Computing platform http://rechenburg.com - Professional services and support for openQRM |