Multiple Multiplexing Proxy on development server

Discussion about recent product features & solutions!
3 posts • Page 1 of 1
peka
Posts:19
Joined: Wed May 15, 2013 4:46 pm

Multiple Multiplexing Proxy on development server

Post by peka »

Hello all,

anybody having 2 separate 3.12 projects running on one pc?

When i start 2 projects on 1 machine, only 1 proxy mgr starts (guess because ident port-num).
So i defined, referred to my port-police (pmon = X, data = X+1, event = X+2) that proxy port is X+3. With this configuration both proxy mgr. starts, but only when valarch0 is not running?

How did u solve this behavior or where is my mistake?

And NO, i dont want to set up a proxy server, i want to have the projects running on my server with the same config. as they do on site.

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

Re: Multiple Multiplexing Proxy on development server

Post by leoknipp »

Hello,

the archive managers are also opening ports for the communication. For the archive managers the port-numbers dataPort + 2 + archive-number are used.
You have to define a gap between the ports for the pmon, the proxy, the data- and event-manager to avoid this problem that the port is already in use.

Best Regards
Leopold Knipp
Senior Support Specialist

peka
Posts:19
Joined: Wed May 15, 2013 4:46 pm

Re: Multiple Multiplexing Proxy on development server

Post by peka »

Hello,

thanks for fast input, now on the server both projects starts without error.
But now I can't establish a connection from a distributed client. I didn't set gaps but switched the order (pmon = x, proxy = x+1, data = x+2, event = x+3), so that the servers config is like:
[general]
...
pmonPort = 20480

data = "server:20482"
event = "server:20483"

[proxy]
proxyPort =20481

Creating a distributed client project the assistent creates a config that looks like:
data = "server"
event = "server"

pmonPort = 20480

[proxy]
proxyPort = 20481

I guess the (data&event) ports don't have to be defined while communication is handled by proxy mgr. But when I try to connect the servers log keeps emtpy, so it seems that the server don't even recognize that someone is trying to connect.

Removing the proxy-section on both sides (server/client), so that default port is used, , the connection can't be established because it seems that the client tries to connect directly to the default data port without using proxy mgr (Servers Log: Cannot find the host in the list of the allowed-hosts: (server:4897))

So I added the data and event port like the server's config on the client and connection could be established.

Now I really got confused, cause I still can't connect with another than the default proxy port. You see the configuration bug, or how should the clients config file look like?

3 posts • Page 1 of 1