Re: [ovs-dev] OVS upgrade

2018-04-20 Thread Amir Mohamad
Hi Ben,
Thanks for your reply.
I'm using this repo because it supports OVN SFC, the official doesn't, does
it?
For the old build directory, I don't know it since my installation is and
OPNFV deployment using Apex.
As you Apex uses RDO TripleO openstack.

Appreciate if you can guide me how to find the old build directory.

On Thu, Apr 19, 2018 at 4:40 PM, Ben Pfaff  wrote:

> On Thu, Apr 19, 2018 at 03:32:28PM -0400, Amir Mohamad wrote:
> >  I have openstack installed on one host. I have one controller (VM)
> and
> > one Compute node (VM).
> > I want to install a new version that supports OVN SFC by cloning this
> repo
> > https://github.com/doonhammer/ovs.git
>
> Why that one?  It's not the official OVS repo.
>
> > In the old OVS installation:
> > 1. ovsdb-server and ovs-vswitchd are in /usr/sbin
> > 2. ovn-controller, ovn-northd, ovn-nbctl, etc. are in /usr/bin
> > 3. conf.db is in /etc/openvswitch
> > 3. ovnnb-db.db and ovnsb-db.db are in /var/lib/openvswitch
> > 4. Schema ( ovn-nb.ovsschema,  ovn-sb.ovsschema,  vswitch.ovsschema, and
> > vtep.ovsschema) are in /usr/share/openvswitch
> >
> > My questions is:
> > According to this page (upgrade section):
> > http://docs.openvswitch.org/en/latest/intro/install/general/#upgrading
> > , if I want to upgrade, I will need to kill the currently running OVS and
> > install the new one using the same configure options as was used for
> > installing the previous version, or I may end up with two versions of
> OVS.
> >
> > So, and according to this page ( configure section ) :
> > *http://docs.openvswitch.org/en/latest/intro/install/
> general/#configuring
> >  general/#configuring>*
> >
> >
> > I will need to specify the location all files need to be placed in as
> well
> > as the location for db.
> >
> > should I use the configure as follow:
> >
> > $ ./configure --prefix=/usr --localstatedir=/sbin --sysconfdir=/etc
> >
> >
> > OR
> >
> > $ ./configure --prefix=/usr --localstatedir=/sbin --sysconfdir=/var/lib
>
> Do you have the old build directory available?  If so, just run
> "./config.status --version" to see the configuration flags that were
> used.
>



-- 
   Regards
Amir I. Mohamad
Assistant Lecturer
Faculty of Computers & Information
IT Dept. Cairo University

-- 

___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


Re: [ovs-dev] OVS upgrade

2018-04-19 Thread Ben Pfaff
On Thu, Apr 19, 2018 at 03:32:28PM -0400, Amir Mohamad wrote:
>  I have openstack installed on one host. I have one controller (VM) and
> one Compute node (VM).
> I want to install a new version that supports OVN SFC by cloning this repo
> https://github.com/doonhammer/ovs.git

Why that one?  It's not the official OVS repo.

> In the old OVS installation:
> 1. ovsdb-server and ovs-vswitchd are in /usr/sbin
> 2. ovn-controller, ovn-northd, ovn-nbctl, etc. are in /usr/bin
> 3. conf.db is in /etc/openvswitch
> 3. ovnnb-db.db and ovnsb-db.db are in /var/lib/openvswitch
> 4. Schema ( ovn-nb.ovsschema,  ovn-sb.ovsschema,  vswitch.ovsschema, and
> vtep.ovsschema) are in /usr/share/openvswitch
> 
> My questions is:
> According to this page (upgrade section):
> http://docs.openvswitch.org/en/latest/intro/install/general/#upgrading
> , if I want to upgrade, I will need to kill the currently running OVS and
> install the new one using the same configure options as was used for
> installing the previous version, or I may end up with two versions of OVS.
> 
> So, and according to this page ( configure section ) :
> *http://docs.openvswitch.org/en/latest/intro/install/general/#configuring
> *
> 
> 
> I will need to specify the location all files need to be placed in as well
> as the location for db.
> 
> should I use the configure as follow:
> 
> $ ./configure --prefix=/usr --localstatedir=/sbin --sysconfdir=/etc
> 
> 
> OR
> 
> $ ./configure --prefix=/usr --localstatedir=/sbin --sysconfdir=/var/lib

Do you have the old build directory available?  If so, just run
"./config.status --version" to see the configuration flags that were
used.
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


[ovs-dev] OVS upgrade

2018-04-19 Thread Amir Mohamad
Hi,
 I have openstack installed on one host. I have one controller (VM) and
one Compute node (VM).
I want to install a new version that supports OVN SFC by cloning this repo
https://github.com/doonhammer/ovs.git

In the old OVS installation:
1. ovsdb-server and ovs-vswitchd are in /usr/sbin
2. ovn-controller, ovn-northd, ovn-nbctl, etc. are in /usr/bin
3. conf.db is in /etc/openvswitch
3. ovnnb-db.db and ovnsb-db.db are in /var/lib/openvswitch
4. Schema ( ovn-nb.ovsschema,  ovn-sb.ovsschema,  vswitch.ovsschema, and
vtep.ovsschema) are in /usr/share/openvswitch

My questions is:
According to this page (upgrade section):
http://docs.openvswitch.org/en/latest/intro/install/general/#upgrading
, if I want to upgrade, I will need to kill the currently running OVS and
install the new one using the same configure options as was used for
installing the previous version, or I may end up with two versions of OVS.

So, and according to this page ( configure section ) :
*http://docs.openvswitch.org/en/latest/intro/install/general/#configuring
*


I will need to specify the location all files need to be placed in as well
as the location for db.

should I use the configure as follow:

$ ./configure --prefix=/usr --localstatedir=/sbin --sysconfdir=/etc


OR

$ ./configure --prefix=/usr --localstatedir=/sbin --sysconfdir=/var/lib

or

more options needs to be specified?




-- 
   Regards
Amir I. Mohamad
Assistant Lecturer
Faculty of Computers & Information
IT Dept. Cairo University

-- 

___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev