Two projects running in the same machine

Find and share HowTos to various installations / configurations!
4 posts • Page 1 of 1
nmnogueira
Posts:125
Joined: Thu May 05, 2011 12:59 pm

Two projects running in the same machine

Post by nmnogueira »

Hi,

I am trying to put two projects running in the same machine. They form a distributed system with 2 systems.
I managed to get both projects running by changing all the ports in one of the projects, with only one problem: I cannot get the connections between projects to work, i.e. the distributed system is not established.

Any ideas on this?

Thanks!

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Two projects running in the same machine

Post by leoknipp »

Please note that running two projects on the same machine is officially not supported.
Every project has to be started on its own computer/virtual machine.

Why do you want to start two projects on one machine?
Is it a setup used in a plant or developing environment?

To get a connection between the distributed systems you have to change the distPort. At the distPeer-entry you have to define which port the other project is using.

Best Regards
Leopold Knipp
Senior Support Speciialist

nmnogueira
Posts:125
Joined: Thu May 05, 2011 12:59 pm

Re: Two projects running in the same machine

Post by nmnogueira »

Thanks Leopold.

I had the system working fine on the final servers but I had to ship them to the site, and I wanted to keep working with the two projects in a single server.
So it's just for use in a development environment.

I already had the configuration for distPort and distPeer, and the connection is still not established.

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Two projects running in the same machine

Post by leoknipp »

If you do the following configuration the dist-system should work. The shown numbers are just examples, you can use also different ports:

In system 1:

[dist]
distPort = 4444

In system 2:

[dist]
distPeer = ":4444" 1

Best Regards
Leopold Knipp
Senior Support Specialist

4 posts • Page 1 of 1