Hi,
mmh I think this problem is more complicated. You need to somehow
synchronize those two NOX instances (they need to have the same
knowledge about the network). That will be very difficult IMHO. And what
is the metric for the load balancing? Every NOX gets a part of the
switches? That's totally the wrong way. You will not be happy with this
approach. In fact, you do not gain anything with this. Imagine you have
a flow crossing "both parts of the network", then both controller get a
packet_in message and need to handle the flow. Otherwise, only one
controller would need to handle this one time.
IMHO, if you need performance, you should think about using a
multi-threaded controller or try to make NOX multithreaded.
Best regards,
Bernd
On 25.05.2012 15:41, Anthony Salim wrote:
Hi,
Hmm..because in a network, its not possible to have all flows go into
one controller only so i try to reduce the load by having one or more
controllers. I tried to run in same directory but it does not work
because it said the address already in use, however i tried to
duplicate the nox and it worked. Both processes are running now and i
just need to 'link' them up together so that i can split some load.
Regards,
Anthony
On Fri, May 25, 2012 at 9:36 PM, Kyriakos Zarifis
<[email protected] <mailto:[email protected]>> wrote:
There is no link, they aren't really connected to each other. You
just have 2 processes running. But these 2 controllers do not (can
not) talk to each other.
Switches can connect to either one or the other, but there is no
support for multiple controllers with NOX, nor any protocol for
controller-to-controller communication defined.
FWIW, I guess you could just start 2 controllers in the same
directory (no need to duplicate the tree), running them on
different ports.
However, it's not very common practice to run multiple NOX
controllers, because there is not too much you can do with them.
(What are you trying to do?)
On Fri, May 25, 2012 at 6:05 AM, Anthony Salim
<[email protected]
<mailto:[email protected]>> wrote:
Hi guys,
Basically i just copied the folder of original nox controller
to another folder (am i doing the right thing?) and then run
each controller using different ports eg. ./nox_core -v -i
ptcp:6633 and the other using ./nox_core -v -i ptcp:6634. Well
from the terminal it seems there is no conflict or whatsoever.
So how am i supposed to show the link between these two
controllers that they are connected to each other? Thanks.
Regards,
Anthony
On Fri, May 25, 2012 at 8:05 PM, Anthony Salim
<[email protected]
<mailto:[email protected]>> wrote:
HI guys,
Just wondering if i want to have a multiple controllers in
one virtual machine, how do i go about it to create
multiple controllers (can just copy down the nox folder?)
? I want to have maybe one controller using port 6633 and
the other using port 6634, or can both controller having
different IP addreses even though there are in same VM.
Thanks!!
Regards,
Anthony