Can glacier2 link one by one in many machine?

coloradocolorado Member colorado leeOrganization: devnetworkProject: online schedule
I use Ice3.4.1 with VC++2008 SP1 on Windows XP.
I have tested the example in Ice-3.4.1-demos\demo\Glacier2\chat on many PCs.
On PC1[192.168.1.11], I deploy 2 clients and a glacier2route;
On PC2[192.168.1.10], I deploy a glacier2route;
On PC3[192.168.1.5], I deploy a server.

Now, I want clients link to galcier2route of PC1, the galcier2route of PC1 links to the galcier2route of PC2, the galcier2route of PC2 links to the server.

On PC1,the client's configuration:
Ice.Default.Router=DemoGlacier2/router:ssl -p 4064 -h 192.168.1.11

the glacier2's configuration:
Glacier2.Client.Endpoints=ssl -p 4064 -h 192.168.1.11
Glacier2.Server.Endpoints=tcp -h 192.168.1.11
Glacier2.SessionManager=ChatSessionManager:tcp -h 192.168.1.10 -p 10001
Glacier2.PermissionsVerifier=ChatSessionVerifier:tcp -h 192.168.1.10 -p 10001

On PC2, the glacier2's configuration:
Glacier2.Client.Endpoints=ssl -p 4064 -h 192.168.1.10
Glacier2.Server.Endpoints=tcp -h 192.168.1.10
Glacier2.SessionManager=ChatSessionManager:tcp -h 192.168.1.5 -p 10001
Glacier2.PermissionsVerifier=ChatSessionVerifier:tcp -h 192.168.1.5 -p 10001

On PC3, the server's configuration:
ChatServer.Endpoints=tcp -h 192.168.1.5 -p 10001

the glacier2router on PC1 reports errors:
!! 12/24/10 12:40:10.984 glacier2router: error: service caught unhandled exception:
Network.cpp:1104: Ice::SocketException:
socket exception: WSAEADDRNOTAVAIL

How can I write the configuration to make it work?
I want to know whether the glacier2router supporting cascade link, which more like a router hardware in a hiberarchy network restricted by many firewalls, not only just support NAT with one layered firewall.

Comments

  • golgobotgolgobot Member Jonathan RossOrganization: Jibo, IncProject: Robotics netoworking
    Bump.

    I've been struggling with this same question. Any answers out there?
  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    Glacier2 doesn't support cascading as described in the original post.

    Cheers,
    Benoit.
Sign In or Register to comment.