Logging cluster plugin parameters
By default, PolicyCenter logs cluster-related information at
the INFO level in the server log. The cluster information that PolicyCenter provides includes information on where the bind
parameter values come, for example, from the bind property default or from a parameter
definition in the plugin editor.
| Plugin | Logging header |
|---|---|
| ClusterFastBroadcastFactory | Server.Cluster.FastUdpMulticast |
| ClusterUnicastTransportFactory | Server.Cluster.PointToPoint |
Ephemeral port values
Unless you provide a value for the bindPort value on the
ClusterUnicastTransportFactory plugin, PolicyCenter randomly selects a free port above 1024 that is within a
range supplied by the host operating system. You can view information on an ephemeral port
in the server log. Look for information that looks similar to the following:
Server.Cluster.PointToPoint Listener(host, port=#####): Listening
Cluster logging examples
In the first logging example, the cluster installation enables both the
ClusterFastBroadcastFactory and
ClusterUnicastTransportFactory plugins. The installation does not,
however, provide separate values for the bind parameters for these plugins. Notice,
therefore, that the following logging example provides information for both plugins and
indicates that bind values are the default values (first address of the first
network interface).
19:50:30,131 INFO Server.Cluster Starting cluster channel...
19:51:45,885 INFO Server.Cluster.FastUdpMulticast Bind address is /nn.nn.n.nnn
(first address of the first network interface)
19:51:45,915 INFO Server.Cluster.PointToPoint com.guidewire.pl.cluster.internal.ptp
.PointToPointUnicastTransport@xxxxxxxx: Starting...
19:51:48,047 INFO Server.Cluster.PointToPoint Bind address is /nn.nn.n.nnn
(first address of the first network interface)
19:51:48,887 INFO Server.Cluster.PointToPoint Listener(serverid=prod1,port=53872): Listening...
19:51:48,954 INFO Server.Cluster.FastUdpMulticast Started on /nn.nn.n.nnn
19:51:48,959 INFO Server.Cluster Members joined the cluster: prod1 (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
19:51:49,290 INFO Server.Cluster Inserted new record for prod1 node into cluster table
19:51:49,303 INFO Server.Cluster Cluster channel started.
In the second logging example, the cluster installation again enables both the ClusterFastBroadcastFactory and ClusterUnicastTransportFactory plugins. In this case, however, the installation provide a value for the ClusterUnicastTransportFactory.bindPort parameter, which is 53870, defined in the plugin editor for this plugin.
11:51:23,059 INFO Starting cluster channel...
11:51:23,250 INFO Bind address is /nn.n.n.n (first address of the first network interface)
11:51:23,273 INFO com.guidewire.pl.cluster.internal.ptp.PointToPointUnicastTransport@xxxxx: Starting...
11:51:23,375 INFO Bind address is /nn.n.n.n (first address of the first network interface)
11:51:23,375 INFO Bind address is 53870 (specified via plugin configuration)
11:51:23,377 INFO Listener(serverid=prod1,port=53870): Listening...
11:51:23,465 INFO Started on /nn.n.n.n
11:51:23,470 INFO Members joined the cluster: prod1 (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
11:51:23,869 INFO Inserted new record for prod1 node into cluster table
11:51:23,877 INFO Cluster channel started.
