I'm just saying that if you mess with your hypervisor init scripts, don't be surprised when things start breaking. I was pointing out areas where you might expect to see failures first. Using the existing tools the hypervisor provides is likely to be less disruptive.
-Reid On Fri, Sep 20, 2013 at 4:45 AM, Alexandru Coseru <[email protected]>wrote: > Hello,**** > > ** ** > > Can you give some more details please ?**** > > ** ** > > ** ** > > Best Regards,**** > > ** ** > > *From:* Reid Price [mailto:[email protected]] > *Sent:* Thursday, September 19, 2013 11:51 PM > *To:* Faisal Ali > *Cc:* Alexandru Coseru; [email protected] > *Subject:* Re: [ovs-discuss] Openvswitch configuration persistence**** > > ** ** > > Hi guys [+list],**** > > ** ** > > You might find that you have unexpected behavior down the road with that > tactic.**** > > I would perhaps suggest an approach where you set a value (using xapi) for > the**** > > PIF's other-config, and then run your own script (perhaps on bootup) that > finds**** > > PIF and does configuration based upon that field.**** > > ** ** > > Otherwise you are likely to cause Xenserver to freak out at some point, or > to**** > > have stale network configuration floating around.**** > > ** ** > > -Reid**** > > ** ** > > On Thu, Sep 19, 2013 at 10:46 AM, Faisal Ali <[email protected]> wrote:* > *** > > Yes, I found that on Xenserver 6.2 the openvswitch startup script resets > the ovs configuration. With my limited knowledge of scripting I managed to > find a particular lines and comment them out. That stopped Xen from wiping > out the ovs configs**** > > ** ** > > Here the lines**** > > ** ** > > if test ! -e /var/run/openvswitch.booted; then**** > > touch /var/run/openvswitch.booted**** > > set "$@" --delete-bridges**** > > fi**** > > ** ** > > ** ** > > *From: *Alexandru Coseru <[email protected]> > *Date: *Mon, 16 Sep 2013 13:28:03 +0300 > *To: *Faisal Ali <[email protected]>, <[email protected]> > *Subject: *Re: [ovs-discuss] Openvswitch configuration persistence**** > > ** ** > > ** ** > > ** ** > > Hello guys,**** > > **** > > ** ** > > ** ** > > Did somebody found a solution for the problem below?**** > > **** > > We want to use openvswitch to a configure a host with 2 nic with STP ON (for > switch redundacy).**** > > **** > > Best Regards,**** > > Alex**** > > **** > > **** > > **** > > **** > > Thanks for the clarification Reid**** > > **** > > On Aug 26, 2013, at 12:20 PM, Reid Price <[email protected]> wrote:**** > > **** > > ** ** > > ** ** > > > OVS by itself saves configuration through boots, etc., ovsdb is > > transactional **** > > > (usually stored in /etc/openvswitch/conf.db). Xen removes that config on > > boot **** > > > up.**** > > > **** > > > On Aug 26, 2013, at 7:51 AM, Faisal Ali <[email protected]> wrote:**** > > > **** > > >> Thank you Reid, so just so Iam clear, is it because ovs is not meant to > >> save **** > > >> the config? The reason I ask is I read it in a blog that it does save > >> it.**** > > ** ** > > ** ** > > >> **** > > >> On Aug 26, 2013, at 3:40 AM, Reid Price <[email protected]> wrote:**** > > >> **** > > >>> Hi Faisal,**** > > >>> **** > > >>> Xen only persists its own OVS information, and recreates it from scratch > >>> **** > > >>> (xapi information) at boot.**** > > >>> **** > > >>> -Reid**** > > >>> **** > > >>> On Aug 25, 2013, at 5:41 PM, Faisal Ali <[email protected]> wrote:**** > > >>> **** > > >>>> Hi,**** > > >>>> **** > > >>>> I am using xenserver 6.2 which has openvswitch version 1.4.6 running.**** > > >>>> **** > > >>>> When I configure ovs using ovs commands it does not save the > >>>> configuration **** > > >>>> and its lost after reboot. **** > > >>>> **** > > >>>> I am not sure if this how ovs works or Xen has a modified implementation > >>>> **** > > ** ** > > ** ** > > >>>> of ovs that does not allow to permanently save the configuration.**** > > >>>> **** > > >>>> Please let me know what is the correct way if any or my assumptions are > >>>> **** > > ** ** > > ** ** > > >>>> incorrect**** > > >>>> **** > > >>>> Thank you**** > > >>>> **** > > >>>> Faisal Ali**** > > >>>> _______________________________________________**** > > >>>> discuss mailing list**** > > >>>> [email protected]**** > > >>>> http://openvswitch.org/mailman/listinfo/discuss**** > > _______________________________________________**** > > ** ** > > ** ** > > discuss mailing list**** > > [email protected]**** > > http://openvswitch.org/mailman/listinfo/discuss**** > > **** > > ** ** > > _______________________________________________ > discuss mailing list > [email protected] > http://openvswitch.org/mailman/listinfo/discuss > >
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
