Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 12-15-2005
brian brian is offline
Registered User
 
Name: brian whitney
Organization: boulder research and development
Project: MarketBank
 
Join Date: Oct 2003
Posts: 119
IceGrid migration issue: icegridadmin can't reach registry

We have been using IcePack successfully for over 2 years now and are trying to migrate to IceGrid in 3.0. We have read the IceGrid chapter in the manual and the migration article in Ice Connections. We are now trying to apply the same sequence of commands we used with IcePack to IceGrid to start a registry, node, and app on a single machine. We run this same sequence using IcePack in 1.4 and it works fine as it has for a very long time. However, when we run icegridadmin in the 3rd step below it can't reach the registry.

1) Here is the first step (successful):

icegridregistry --Ice.Config=iceGridRegistry.cfg --IceGrid.Registry.Data=registry
icegridregistry: warning: administrative endpoints `IceGrid.Registry.Admin.Endpoints' enabled (IcePack outputs this warning too)

Here is iceGridRegistry.cfg:

Ice.Default.Locator=IceGrid/Locator:default -p 12000 -h proteus
IceGrid.Registry.DefaultTemplates=./Templates.xml
IceGrid.Registry.Client.Endpoints=default -p 12000 -h proteus
IceGrid.Registry.Server.Endpoints=default
IceGrid.Registry.Internal.Endpoints=default
IceGrid.Registry.Admin.Endpoints=default
Ice.Trace.Location=0
Ice.Trace.Retry=0
Ice.ThreadPool.Server.Size=10
Ice.Warn.Leaks=1

2) Now we run icegridnode (successful):

icegridnode --Ice.Config=iceGridNode.cfg --IceGrid.Node.Data=node --IceGrid.Node.Output=LOGS --IceGrid.Node.Name=proteus --Ice.Default.Locator="IceGrid/Locator:default -p 12000 -h proteus" --warn

Here is iceGridNode.cfg:

IceGrid.Node.Endpoints=default
IceGrid.Node.WaitTime=30
IceGrid.Node.CollocateRegistry=0
IceGrid.Node.RedirectErrToOut=1

Ice.Trace.Location=0
Ice.Trace.Retry=0
Ice.Trace.GC=0
IceGrid.Node.Trace.Activator=0
IceGrid.Node.Trace.Adapter=0
IceGrid.Node.Trace.Server=0

Ice.ThreadPool.Server.Size=10
Ice.Warn.Leaks=1

3) icegridadmin (fails):

icegridadmin --Ice.Config=iceGridNode.cfg --Ice.Default.Locator="IceGrid/Locator:default -p 12000 -h proteus" -e "application add Application.xml"

error: couldn't reach the IceGrid registry:Network.cpp:693:Ice::ConnectionRefusedExc eption:
connection refused: Connection refused

Here is Application.xml:

<icegrid>
<application name="MarketBank" import-default-templates="true"/>
</icegrid>


Since this works using IcePack, we are either doing something very dumb that we are just missing here or there is some requirement using IceGrid that did not exist with IcePack that we missed in the docs.

Any help would be greatly appreciated.

Thanks,
Brian
__________________
Brian Whitney
Boulder Research and Development
www.robotrade.com
Reply With Quote
  #2 (permalink)  
Old 12-15-2005
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
I'm afraid this goes beyond the free support we can give here on these forums (we have already answered many of your other questions). Please contact us at support@zeroc.com for a support contract.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
IceGrid node shutdown fails when registry is down jae Help Center 1 12-07-2006 11:23 PM
Is the IceGrid registry a single point of failure? timp Help Center 1 01-16-2006 07:05 AM
IceGrid 3.0 Admin migration brian Help Center 3 12-15-2005 04:51 AM
'Transparent' Object Migration Granularity seth.piezas Help Center 4 02-17-2005 03:47 PM
load balancing/fault tolerance/object migration rc_hz Help Center 0 11-22-2004 02:03 AM


All times are GMT -4. The time now is 10:06 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.