Archived

This forum has been archived. Please start a new discussion on GitHub.

deployment application on several machines

Hi all
I m try run my application on the two machine PC1 and PC2. I see by IceGridAdmin that all my nodes(Node1, Node2, Node3) are up and establishment session with registry, But i have problem with Node3 from PC2:

1.When i m run server on this node i get error: Deployment exception: server is being updated. Why?
2.In Appication xml (Node3 config) i should write path to server wherein is location of this server on the my PC2?

What is not right?

Config my registry and nodes (see below)


PC 1:
registry
IceGrid.InstanceName=DemoIceGridIceGrid
Ice.Default.Locator=DemoIceGrid/Locator:default -h 192.168.0.215 -p 12000 -t 10000
IceGrid.Registry.Client.Endpoints=default -h 192.168.0.215 -p 1200 -t 10000
IceGrid.Registry.Server.Endpoints=default -h 192.168.0.215 -t 10000
IceGrid.Registry.Internal.Endpoints=default -h 192.168.0.215 -t 10000
IceGrid.Registry.Data=C:\Projects\Service\db\master
IceGrid.Registry.PermissionsVerifier=DemoIceGrid/NullPermissionsVerifier
IceGrid.Registry.AdminPermissionsVerifier=DemoIceGrid/NullPermissionsVerifier
Ice.StdErr=C:\Users\Administrator\Documents\Projects\Service\db\master\stderr.txt
Ice.StdOut=C:\Users\Administrator\Documents\Projects\Service\db\master\stdout.txt
Ice.ProgramName=Master
IceGrid.Registry.Trace.Node=2
IceGrid.Registry.Trace.Replica=2


two nodes:

1 node:
      
Ice.Default.Locator=DemoIceGrid/Locator:default -h 192.168.0.215 -p 12000 -t 10000
IceGrid.Node.Name=NodeLocation
IceGrid.Node.Endpoints=default -t 10000 -h 192.168.0.215
IceGrid.Node.Data=C:\Users\Administrator\Documents\Projects\Service\db\NodeLocation
Ice.ProgramName=NodeLocation
IceGrid.Node.Trace.Replica=2


2 node:
Ice.Default.Locator=DemoIceGrid/Locator:default -h 192.168.0.215 -p 12000 -t 10000
IceGrid.Node.Name=NodeShared
IceGrid.Node.Endpoints=default -t 10000 -h 192.168.0.215
IceGrid.Node.Data=C:\Users\Administrator\Documents\Projects\Service\db\NodeShared
Ice.ProgramName=NodeShared
IceGrid.Node.Trace.Replica=2


PC 2:

3 node:
Ice.Default.Locator=DemoIceGrid/Locator:default -h 192.168.0.215 -p 12000 -t 10000
Ice.Trace.Network=2
IceGrid.Node.Trace.Activator=2 
IceGrid.Node.Name=NodeFrontend
IceGrid.Node.Endpoints=default -t 10000 -h 192.168.0.222
IceGrid.Node.Data=Z:\Projects\Service\db\NodeFrontend
Ice.ProgramName=NodeFrontend
IceGrid.Node.Trace.Replica=2


Thanks,
Cheers,
Jinn.

Comments

  • If use IceGridAdmin GraphicTool and click on my Node3:
    i can see in system information of node in property CPU usage: Error: Ice.TimeoutException then i get error:

    Session lost

    Failed to contact the IceGrid registry: Ice.ObjectNotExistException

    and in system information node:
    Hostname: PC2 (correct name of my remote machine)
    Operating System: Incorrect name of OS (write Windows 6.2(this Os is install on PC1) instead of Windows 8.1 pro(which install on PC2))
    MachineType: is correct

    Why?
  • benoit
    benoit Rennes, France
    Hi,

    Is the Windows firewall perhaps blocking incoming connections on PC2?

    Can you enable network tracing on the IceGrid registry (with Ice.Trace.Network=2) and send us the output after executing "node ping NodeFrontend" from the icegridadmin tool?

    Cheers,
    Benoit.
  • Thank you very much for your response. This was windows firewall.