|
Hi, Keithh,
Below are the config files. Currently, we hadn't reproduced the issue, will post the connection information once it happened again. One things i forgot to mention, we always run three WSP routers on one dev machine, one for QA, one for UAT, one for
Production to receive different messages from differnt parent.
-----Client
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="eventRouterSettings" type="RouterSettings"/>
<section name="eventPersistSettings" type="PersistSettings"/>
</configSections>
<eventRouterSettings>
<!-- If you choose autoConfig to be true then you need to first install the origin router and have the DNS configured with -->
<!-- data center routers if your topology requires it. With autoConfig turned on, all config files will be kept identical -->
<!-- to the origin's config file. When it is changed, all others will automatically be changed. -->
<!-- The bootstrapUrl must resolve to the origin router. It will initially be called by a client to retrieve its config file. -->
<!-- The mgmtGroup is the eventId which will be used to communicate all config info while servers are running. -->
<!-- Role defines what role a given server takes when automatically establishing the topology. -->
<!-- The values for role are: -->
<!-- origin -->
<!-- primary -->
<!-- secondary -->
<!-- client -->
<!-- <configInfo role="origin" autoConfig="false" bootstrapUrl="http://WspOrigin/GetConfig" mgmtGroup="2B2B78DB-8AE7-4a16-AB6C-850F54A82D54"/> -->
<configInfo role="client" autoConfig="false" bootstrapUrl=""/>
<clientRoleInfo>
<subscriptionManagement refreshIncrement="3" expirationIncrement="10"/>
<localPublish eventQueueName="WspEventQueue" eventQueueSize="102400000" averageEventSize="10240"/>
<!-- These settings control what should happen to an output queue when communications is lost to a parent or child.-->
<!-- maxQueueSize is in bytes and maxTimeout is in seconds.-->
<!-- When the maxQueueSize is reached or the maxTimeout is reached for a communication that has been lost, the queue is deleted.-->
<outputCommunicationQueues maxQueueSize="200000000" maxTimeout="600"/>
<!-- nic can be an alias which specifies a specific IP address or an IP address. -->
<!-- port can be 0 if you don't want to have the router open a listening port to be a parent to other routers. -->
<thisRouter nic="" port="1300" bufferSize="1024000" timeout="30000" />
<parentRouter name="pcname.dns.net" numConnections="2" port="1300" bufferSize="1024000" timeout="30000" />
</clientRoleInfo>
</eventRouterSettings>
<eventPersistSettings>
<!-- type specifies the EventType to be persisted.-->
<!-- localOnly is a boolean which specifies whether only events published on this machine are persisted or if events from the entire network are persisted.-->
<!-- maxFileSize specifies the maximum size in bytes that the persisted file should be before it is copied.-->
<!-- maxCopyInterval specifies in seconds the longest time interval before the persisted file is copied.-->
<!-- fieldTerminator specifies the character used between fields.-->
<!-- rowTerminator specifies the character used at the end of each row written.-->
<!-- tempFileDirectory is the local directory used for writing out the persisted event serializedEvent.-->
<!-- copyToFileDirectory is the final destination of the persisted serializedEvent file. It can be local or remote using a UNC.-->
<!-- <event type="78422526-7B21-4559-8B9A-BC551B46AE34" localOnly="true" maxFileSize="2000000000" maxCopyInterval="60" fieldTerminator="," rowTerminator="\n" tempFileDirectory="c:\temp\WebEvents\"
copyToFileDirectory="c:\temp\WebEvents\log\" /> -->
</eventPersistSettings>
</configuration>
-- Server (Original)
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="eventRouterSettings" type="RouterSettings"/>
<section name="eventPersistSettings" type="PersistSettings"/>
</configSections>
<eventRouterSettings>
<!-- If you choose autoConfig to be true then you need to first install the origin router and have the DNS configured with -->
<!-- data center routers if your topology requires it. With autoConfig turned on, all config files will be kept identical -->
<!-- to the origin's config file. When it is changed, all others will automatically be changed. -->
<!-- The bootstrapUrl must resolve to the origin router. It will initially be called by a client to retrieve its config file. -->
<!-- The mgmtGroup is the eventId which will be used to communicate all config info while servers are running. -->
<!-- Role defines what role a given server takes when automatically establishing the topology. -->
<!-- The values for role are, though you can dynamically create your own names (i.e. fooRoleInfo): -->
<!-- origin -->
<!-- primary -->
<!-- secondary -->
<!-- client -->
<!-- <configInfo role="client" autoConfig="false" bootstrapUrl="http://WspEventRouterOrigin/GetConfig" mgmtGroup="2B2B78DB-8AE7-4a16-AB6C-850F54A82D54"/>
-->
<configInfo role="origin" autoConfig="true" bootstrapUrl="http://localhost:4092/GetConfig" mgmtGroup="D979AEB4-C501-4027-BBCA-C38F7B56FD00" cmdGroup="C8EDEB22-7E4A-4441-B7B4-419DDB856321"/>
<!-- refreshIncrement should be about 1/3 of what the expirationIncrement is. -->
<!-- This setting needs to be consistent across all the machines in the eventing network. -->
<!-- <subscriptionManagement refreshIncrement="3" expirationIncrement="10"/> -->
<!-- <localPublish eventQueueName="WspEventQueue" eventQueueSize="102400000" averageEventSize="10240"/> -->
<!-- These settings control what should happen to an output queue when communications is lost to a parent or child.-->
<!-- maxQueueSize is in bytes and maxTimeout is in seconds.-->
<!-- When the maxQueueSize is reached or the maxTimeout is reached for a communication that has been lost, the queue is deleted.-->
<!-- <outputCommunicationQueues maxQueueSize="200000000" maxTimeout="600"/> -->
<!-- nic can be an alias which specifies a specific IP address or an IP address. -->
<!-- port can be 0 if you don't want to have the router open a listening port to be a parent to other routers. -->
<!-- <thisRouter nic="" port="1300" bufferSize="1024000" timeout="30000" /> -->
<!-- <parentRouter name="ParentMachineName" port="1300" bufferSize="1024000" timeout="30000" /> -->
<originRoleInfo>
<subscriptionManagement refreshIncrement="3" expirationIncrement="10"/>
<localPublish eventQueueName="WspEventQueue" eventQueueSize="10240000" averageEventSize="10240"/>
<outputCommunicationQueues maxQueueSize="20000000" maxTimeout="600"/>
<thisRouter nic="" port="1300" bufferSize="1024000" timeout="30000" />
<!-- <parentRouter name="" numConnections="2" port="1300" bufferSize="1024000" timeout="30000" /> -->
</originRoleInfo>
<primaryRoleInfo>
<subscriptionManagement refreshIncrement="3" expirationIncrement="10"/>
<localPublish eventQueueName="WspEventQueue" eventQueueSize="10240000" averageEventSize="10240"/>
<outputCommunicationQueues maxQueueSize="20000000" maxTimeout="600"/>
<thisRouter nic="" port="1300" bufferSize="1024000" timeout="30000" />
<parentRouter name="WspDcOrigin" numConnections="10" port="1300" bufferSize="1024000" timeout="30000" />
</primaryRoleInfo>
<secondaryRoleInfo>
<subscriptionManagement refreshIncrement="3" expirationIncrement="10"/>
<localPublish eventQueueName="WspEventQueue" eventQueueSize="102400000" averageEventSize="10240"/>
<outputCommunicationQueues maxQueueSize="200000000" maxTimeout="600"/>
<thisRouter nic="" port="1300" bufferSize="1024000" timeout="30000" />
<parentRouter name="WspDcPrimary1" numConnections="10" port="1300" bufferSize="1024000" timeout="30000" />
</secondaryRoleInfo>
<!-- clientRoleInfo will be the default setting for when autoConfig is false. -->
<clientRoleInfo>
<subscriptionManagement refreshIncrement="3" expirationIncrement="10"/>
<localPublish eventQueueName="WspEventQueue" eventQueueSize="102400000" averageEventSize="10240"/>
<outputCommunicationQueues maxQueueSize="20000000" maxTimeout="600"/>
<thisRouter nic="" port="" bufferSize="1024000" timeout="30000" />
<parentRouter name="localhost" numConnections="2" port="1300" bufferSize="1024000" timeout="30000" />
</clientRoleInfo>
</eventRouterSettings>
<eventPersistSettings>
<!-- type specifies the EventType to be persisted.-->
<!-- localOnly is a boolean which specifies whether only events published on this machine are persisted or if events from the entire network are persisted.-->
<!-- maxFileSize specifies the maximum size in bytes that the persisted file should be before it is copied.-->
<!-- maxCopyInterval specifies in seconds the longest time interval before the persisted file is copied.-->
<!-- fieldTerminator specifies the character used between fields.-->
<!-- rowTerminator specifies the character used at the end of each row written.-->
<!-- tempFileDirectory is the local directory used for writing out the persisted event data.-->
<!-- copyToFileDirectory is the final destination of the persisted data file. It can be local or remote using a UNC.-->
<!-- <event type="78422526-7B21-4559-8B9A-BC551B46AE34" localOnly="true" maxFileSize="2000000000" maxCopyInterval="60" createEmptyFiles="false"
fieldTerminator="," rowTerminator="\n" tempFileDirectory="c:\temp\WebEvents\" copyToFileDirectory="c:\temp\WebEvents\log\" /> -->
</eventPersistSettings>
</configuration>
Thanks
|