Home Help Center

Is this wrong configuration for IceStorm replicas ?

fengxbfengxb Member feng xuebinOrganization: jiexin techProject: scientific calculation
Is this wrong configuration for IceStorm replicas ?
Recently I deploy IceStorm replicas in three node.
But after running a period of time there is something
wrong when i try to publish event,Seems it is blocked in
IceStorm::TopicManagerPrx::checkedCast method.

And in the following is the three IceStorm node configuration file

First node configuration
# This property configures the node id. It must be a positive integer.
IceStorm.NodeId=0

# This property configures the replicated node endpoints.
IceStorm.Node.Endpoints=default -p 13000 -h 129.55.19.15

# All nodes must be included in this list.
IceStorm.Nodes.0=XCIceStorm/node0:default -p 13000 -h 129.55.19.15
IceStorm.Nodes.1=XCIceStorm/node1:default -p 13010 -h 129.55.19.6
IceStorm.Nodes.2=XCIceStorm/node2:default -p 13020 -h 129.55.19.9

# Node tracing properties.
IceStorm.Trace.Election=1
IceStorm.Trace.Replication=1

# The interval in seconds at which a slave checks the status of the
# coordinator.
#IceStorm.Election.MasterTimeout=2

# The interval in seconds at which a coordinator attempts to form
# larger groups of replicas.
#IceStorm.Election.ElectionTimeout=2


#IceStorm.Election.ResponseTimeout=2


IceStorm.InstanceName=XCIceStorm

Ice.StdErr=IceStorm_node0.StdErr

Ice.StdOut=IceStorm_node0.StdOut

Freeze.DbEnv.IceStorm.DbHome=db0

IceStorm.TopicManager.Endpoints=default -p 10000 -h 129.55.19.15


# This property defines the endpoints contained in proxies to topics.
IceStorm.ReplicatedTopicManagerEndpoints=default -p 10000 -h 129.55.19.15:default -p 10010 -h 129.55.19.6:default -p 10020 -h 

129.55.19.9


#
# This property defines the endpoints on which the topic
# publisher objects listen.
#
IceStorm.Publish.Endpoints=default -p 10001 -h 129.55.19.15 

# This property defines the endpoints contained in publisher proxies.
IceStorm.ReplicatedPublishEndpoints=default -p 10001 -h 129.55.19.15:default -p 10011 -h 129.55.19.6:default -p 10021 -h 

129.55.19.9:udp -p 10001 -h 129.55.19.15:udp -p 10011 -h 129.55.19.6:udp -p 10021 -h 129.55.19.9

#
# TopicManager Tracing
#
# 0 = no tracing
# 1 = trace topic creation, subscription, unsubscription
# 2 = like 1, but with more detailed subscription information
#
IceStorm.Trace.TopicManager=2

#
# Topic Tracing
#
# 0 = no tracing
# 1 = trace unsubscription diagnostics
#
IceStorm.Trace.Topic=1

#
# Subscriber Tracing
#
# 0 = no tracing
# 1 = subscriber diagnostics (subscription, unsubscription, event
#     propagation failures)
#
IceStorm.Trace.Subscriber=1


#
# Amount of time in milliseconds between flushes for batch mode
# transfer. The minimum allowable value is 100ms.
IceStorm.Flush.Timeout = 100

Ice.Warn.Connections=1
Ice.Trace.Network=2
Ice.StdErr=IceStorm.StdErr

#Ice.Trace.Retry=1

IceStorm.TopicManager.ThreadPool.Size=1
IceStorm.TopicManager.ThreadPool.SizeMax=1

IceStorm.Publish.ThreadPool.Size=1
IceStorm.Publish.ThreadPool.SizeMax=1



IceStorm.Send.Timeout=10000
Ice.Override.ConnectTimeout=10000

Ice.ThreadPool.Server.Size=1
Ice.ThreadPool.Server.SizeMax=1

Ice.ThreadPool.Client.Size=1
Ice.ThreadPool.Client.SizeMax=1



Second node configuration
# This property configures the node id. It must be a positive integer.
IceStorm.NodeId=1

# This property configures the replicated node endpoints.
IceStorm.Node.Endpoints=default -p 13010 -h 129.55.19.6

# All nodes must be included in this list.
IceStorm.Nodes.0=XCIceStorm/node0:default -p 13000 -h 129.55.19.15
IceStorm.Nodes.1=XCIceStorm/node1:default -p 13010 -h 129.55.19.6
IceStorm.Nodes.2=XCIceStorm/node2:default -p 13020 -h 129.55.19.9

# Node tracing properties.
IceStorm.Trace.Election=1
IceStorm.Trace.Replication=1

# The interval in seconds at which a slave checks the status of the
# coordinator.
#IceStorm.Election.MasterTimeout=2

# The interval in seconds at which a coordinator attempts to form
# larger groups of replicas.
#IceStorm.Election.ElectionTimeout=2

# The interval in seconds that a replica waits for replies to an
# invitation to form a larger group. Lower priority wait for intervals
# inversely proporitional to the maximum priority.
#IceStorm.Election.ResponseTimeout=2


IceStorm.InstanceName=XCIceStorm

Ice.StdErr=IceStorm_node1.StdErr

Ice.StdOut=IceStorm_node1.StdOut

Freeze.DbEnv.IceStorm.DbHome=db1


#
# This property defines the endpoints on which the IceStorm
# TopicManager listens.
#
IceStorm.TopicManager.Endpoints=default -p 10010 -h 129.55.19.6


# This property defines the endpoints contained in proxies to topics.
IceStorm.ReplicatedTopicManagerEndpoints=default -p 10000 -h 129.55.19.15:default -p 10010 -h 129.55.19.6:default -p 10020 -h 

129.55.19.9


#
# This property defines the endpoints on which the topic
# publisher objects listen.
#
IceStorm.Publish.Endpoints=default -p 10011 -h 129.55.19.6 

# This property defines the endpoints contained in publisher proxies.
IceStorm.ReplicatedPublishEndpoints=default -p 10001 -h 129.55.19.15:default -p 10011 -h 129.55.19.6:default -p 10021 -h 

129.55.19.9:udp -p 10001 -h 129.55.19.15:udp -p 10011 -h 129.55.19.6:udp -p 10021 -h 129.55.19.9

IceStorm.Trace.TopicManager=2

IceStorm.Trace.Topic=1

IceStorm.Trace.Subscriber=1


IceStorm.Flush.Timeout = 100

Ice.Warn.Connections=1
Ice.Trace.Network=2
Ice.StdErr=IceStorm.StdErr

#Ice.Trace.Retry=1

IceStorm.TopicManager.ThreadPool.Size=1
IceStorm.TopicManager.ThreadPool.SizeMax=1

IceStorm.Publish.ThreadPool.Size=1
IceStorm.Publish.ThreadPool.SizeMax=1



IceStorm.Send.Timeout=10000
Ice.Override.ConnectTimeout=10000

Ice.ThreadPool.Server.Size=1
Ice.ThreadPool.Server.SizeMax=1

Ice.ThreadPool.Client.Size=1
Ice.ThreadPool.Client.SizeMax=1


Third node configuration
# This property configures the node id. It must be a positive integer.
IceStorm.NodeId=2

# This property configures the replicated node endpoints.
IceStorm.Node.Endpoints=default -p 13020 -h 129.55.19.9

# All nodes must be included in this list.
IceStorm.Nodes.0=XCIceStorm/node0:default -p 13000 -h 129.55.19.15
IceStorm.Nodes.1=XCIceStorm/node1:default -p 13010 -h 129.55.19.6
IceStorm.Nodes.2=XCIceStorm/node2:default -p 13020 -h 129.55.19.9

# Node tracing properties.
IceStorm.Trace.Election=1
IceStorm.Trace.Replication=1

# The interval in seconds at which a slave checks the status of the
# coordinator.
#IceStorm.Election.MasterTimeout=2

# The interval in seconds at which a coordinator attempts to form
# larger groups of replicas.
#IceStorm.Election.ElectionTimeout=2

# The interval in seconds that a replica waits for replies to an
# invitation to form a larger group. Lower priority wait for intervals
# inversely proporitional to the maximum priority.
#IceStorm.Election.ResponseTimeout=2


IceStorm.InstanceName=XCIceStorm

Ice.StdErr=IceStorm_node2.StdErr

Ice.StdOut=IceStorm_node2.StdOut

Freeze.DbEnv.IceStorm.DbHome=db2


#
# This property defines the endpoints on which the IceStorm
# TopicManager listens.
#
IceStorm.TopicManager.Endpoints=default -p 10020 -h 129.55.19.9
#

# This property defines the endpoints contained in proxies to topics.
IceStorm.ReplicatedTopicManagerEndpoints=default -p 10000 -h 129.55.19.15:default -p 10010 -h 129.55.19.6:default -p 10020 -h 

129.55.19.9


#
# This property defines the endpoints on which the topic
# publisher objects listen.
#
IceStorm.Publish.Endpoints=default -p 10021 -h 129.55.19.9 

# This property defines the endpoints contained in publisher proxies.
IceStorm.ReplicatedPublishEndpoints=default -p 10001 -h 129.55.19.15:default -p 10011 -h 129.55.19.6:default -p 10021 -h 

129.55.19.9:udp -p 10001 -h 129.55.19.15:udp -p 10011 -h 129.55.19.6:udp -p 10021 -h 129.55.19.9

IceStorm.Trace.TopicManager=2

IceStorm.Trace.Topic=1

IceStorm.Trace.Subscriber=1


IceStorm.Flush.Timeout = 100

Ice.Warn.Connections=1
Ice.Trace.Network=2
Ice.StdErr=IceStorm.StdErr

#Ice.Trace.Retry=1

IceStorm.TopicManager.ThreadPool.Size=1
IceStorm.TopicManager.ThreadPool.SizeMax=1

IceStorm.Publish.ThreadPool.Size=1
IceStorm.Publish.ThreadPool.SizeMax=1



IceStorm.Send.Timeout=10000
Ice.Override.ConnectTimeout=10000

Ice.ThreadPool.Server.Size=1
Ice.ThreadPool.Server.SizeMax=1

Ice.ThreadPool.Client.Size=1
Ice.ThreadPool.Client.SizeMax=1

Sign In or Register to comment.