Results 1 to 8 of 8

Thread: IceGridAdmin + cannot reach this node

  1. #1
    dmitry.medvedev's Avatar
    dmitry.medvedev is offline Registered User
    Name: Dmitry N. Medvedev
    Organization: Personal
    Project: Casual Game Analytics Dashboard
    Join Date
    Sep 2005
    Location
    Moscow, Russia
    Posts
    47

    Question IceGridAdmin + cannot reach this node

    Hi,
    what problem could cause the "cannot reach this node" message in the IceGrid Admin?

    There are two servers: serverA and serverB. I have successfully deployed IceGrid on serverA, but when I tried to move just the same settings to serverB the node seems to be unreachable.

    Somewhat confused...

    PS: no changes in settings either in *.cfg or *.xml files exist between serverA and serverB grids - I have just copied appropriate configuration and application directories from serverA to serverB.

    Dmitry.
    Dmitry N. Medvedev@FaceBook

  2. #2
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Hi Dmitry,

    It's unlikely you can use exactly the same configuration for both grid deployments.

    In each deployment, your IceGrid node must "point" to its IceGrid registry, using Ice.Default.Locator.

    Best regards,
    Bernard
    Bernard Normier
    ZeroC, Inc.

  3. #3
    dmitry.medvedev's Avatar
    dmitry.medvedev is offline Registered User
    Name: Dmitry N. Medvedev
    Organization: Personal
    Project: Casual Game Analytics Dashboard
    Join Date
    Sep 2005
    Location
    Moscow, Russia
    Posts
    47
    Quote Originally Posted by bernard View Post
    Hi Dmitry,

    It's unlikely you can use exactly the same configuration for both grid deployments.

    In each deployment, your IceGrid node must "point" to its IceGrid registry, using Ice.Default.Locator.

    Best regards,
    Bernard
    Hi, Bernard!
    Actually, only in drive letters do they differ: in serverA I host all these on drive T:\ whereas in serverB - on drive C:\. That are all the differences. I have shut down serverA completely.

    What is curious again is that when I have started grid node not as a windows service, but as outlined in tutorials via a CMD script everything was going just fine.
    Suspect, there's something wrong with windows service instantiation of ice grid... orrrr... I just don't know where to look for...

    Dmitry.
    Dmitry N. Medvedev@FaceBook

  4. #4
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Hi Dmitry,

    Service errors are logged into the Windows Event log.

    My recommendation is to deploy a fresh IceGrid registry and IceGrid node (as Windows services) on serverB, make sure the registry sees the node, and then populate the IceGrid registry using your IceGrid application (.xml) file.

    Best regards,
    Bernard
    Bernard Normier
    ZeroC, Inc.

  5. #5
    dmitry.medvedev's Avatar
    dmitry.medvedev is offline Registered User
    Name: Dmitry N. Medvedev
    Organization: Personal
    Project: Casual Game Analytics Dashboard
    Join Date
    Sep 2005
    Location
    Moscow, Russia
    Posts
    47
    Quote Originally Posted by bernard View Post
    Hi Dmitry,

    Service errors are logged into the Windows Event log.

    My recommendation is to deploy a fresh IceGrid registry and IceGrid node (as Windows services) on serverB, make sure the registry sees the node, and then populate the IceGrid registry using your IceGrid application (.xml) file.

    Best regards,
    Bernard
    Bernard, thank you for your help!
    I have just deployed fresh copy of IceGrid Registry and IceGrid Node. I have all configuration parameters in a single file these two use.

    The Registry has produced the following:
    Code:
    Db::put: Operation not permitted
    identity: DIAmatixRegistry/InternalRegistry-Master
    facet: 
    operation: registerNode
    [ 10/28/08 21:31:14.796 icegridnode: Replica: failed to establish session with replica `Master':
      Outgoing.cpp:478: Ice::UnknownLocalException:
      unknown local exception:
      MapI.cpp:1211: Freeze::DatabaseException:
      Db::put: Operation not permitted ]
    [ 10/28/08 21:31:16.328 icegridnode: Session: admin session `Dmitry N. Medvedev' keep alive ]
    Obviously, something's wrong with it...
    Dmitry N. Medvedev@FaceBook

  6. #6
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Hi Dmitry,

    This shows a problem with your IceGrid registry database, stored in the "IceGrid.Registry.Data" directory.

    It could be that you're out of disk space, or more probably that this directory (or the files in this directory) are not writable by the IceGrid registry service. By default, the registry service runs as Local Service.

    Best regards,
    Bernard
    Bernard Normier
    ZeroC, Inc.

  7. #7
    dmitry.medvedev's Avatar
    dmitry.medvedev is offline Registered User
    Name: Dmitry N. Medvedev
    Organization: Personal
    Project: Casual Game Analytics Dashboard
    Join Date
    Sep 2005
    Location
    Moscow, Russia
    Posts
    47

    Unhappy

    Quote Originally Posted by bernard View Post
    Hi Dmitry,

    This shows a problem with your IceGrid registry database, stored in the "IceGrid.Registry.Data" directory.

    It could be that you're out of disk space, or more probably that this directory (or the files in this directory) are not writable by the IceGrid registry service. By default, the registry service runs as Local Service.

    Best regards,
    Bernard
    Bernard,
    I have changed permissions on IceGrid.Registry.Data directory and restarted both services. Now - no errors in configuration were reported. Those errors were obviously due to service permission issue.

    Still, when I try to deploy my application via an xml file I see in the IceGrid Admin GUI that the registry cannot reach this node - the icon of the node has red right side...

    By the way, how do I know whether the registry sees the node?
    Dmitry N. Medvedev@FaceBook

  8. #8
    dmitry.medvedev's Avatar
    dmitry.medvedev is offline Registered User
    Name: Dmitry N. Medvedev
    Organization: Personal
    Project: Casual Game Analytics Dashboard
    Join Date
    Sep 2005
    Location
    Moscow, Russia
    Posts
    47
    Well, it seems I have found the way out: I have specified client endpoints for the registry and node so that they are on different ports: 4061 and 5061.

    Now, all's running.

    Thanks Bernard for help!

    Dmitry.
    Dmitry N. Medvedev@FaceBook

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. IceGridAdmin exceptions
    By ctennis in forum Bug Reports
    Replies: 2
    Last Post: 04-09-2007, 11:37 AM
  2. icegridadmin interactive help
    By ctennis in forum Bug Reports
    Replies: 1
    Last Post: 03-21-2007, 09:34 AM
  3. node command in the icegridadmin command line utility
    By davidcr1983 in forum Bug Reports
    Replies: 1
    Last Post: 03-19-2007, 09:21 AM
  4. icegridadmin bugs
    By hellocyf in forum Bug Reports
    Replies: 4
    Last Post: 08-01-2006, 10:07 AM
  5. Replies: 1
    Last Post: 12-15-2005, 02:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •