Article ID: 307962 - Last Review: April 2, 2007 - Revision: 8.2 Multicast support enabled for the cluster heartbeatThis article was previously published under Q307962 On This PageSUMMARY Windows Server 2003 cluster nodes exchange multicast
heartbeats rather than unicast heartbeats. In Microsoft Windows NT 4.0 and
Microsoft Windows 2000, all heartbeat messages were unicast. Multicast networking refers to transmitting network data to a group of interfaces instead of a single destination interface. Only the other interfaces in the same multicast group can use the transmitted data. Using multicast technology permits several unicast messages to be replaced with a single multicast message. Unlike broadcast, multicast traffic does not have to be flooded throughout the network, reducing the chance that unnecessary CPU cycles are expended filtering traffic on nodes outside the cluster. As the number of nodes increases, the ability to replace several unicast messages with a single multicast message improves node performance and decreases network bandwidth consumption. Clusters that are comprised of fewer than three nodes will not send multicast heartbeats. The Cluster service also does not send multicast heartbeats in mixed version clusters. For instance, a four-node Windows Datacenter Server cluster that has three nodes running Windows Server 2003 Datacenter Server and the remaining node running Windows 2000 Datacenter Server reverts to unicast heartbeats. Otherwise, the Cluster service automatically configures and uses multicast for the cluster heartbeats by default. The cluster Network Driver (Clusnet.sys) is the core cluster driver that has been rewritten to support multicast. Multicast is not used for all intracluster communications. Multicast messages replace unicast messages in two components of Windows Clustering:
ConfigurationMulticast configuration primarily involves selecting and agreeing upon a multicast group address for each cluster network. A multicast group address can be any IPv4 class D address (224.0.0.0 to 239.255.255.255). The multicast group address can be configured in one of three ways:
From a MADCAP ServerIf a cluster administrator did not manually configure a multicast address, the cluster tries to obtain a multicast address from a MADCAP server. MADCAP servers lease multicast addresses much like DHCP servers lease unicast addresses.The following is the procedure that the Cluster service uses to obtain a multicast address when there is a MADCAP server on the network:
Automatically by Self-Selecting a Multicast AddressIf an administrator did not specify an address and if MADCAP requests fail, the Cluster service automatically selects an address. The Cluster service randomly selects an address from a subset of all IPv4 class D addresses. The range of multicast addresses to use for self-selection is determined as follows:
Manual Configuration by the AdministratorAn administrator can manually configure a multicast address for a cluster network. If a class D IPv4 address is manually configured, that address is used without question. A manually configured address persists, even if the cluster service is stopped and restarted, until the administrator manually configures a different address. If an administrator specifies an invalid multicast address (for example, not an IPv4 class D address), the cluster service tries to automatically configure a valid multicast address.An administrator can also disable multicast either on the whole cluster or for individual networks so that heartbeat traffic reverts to unicast. If multicast is disabled for a network, there will be no attempt to obtain a multicast address and the Cluster service uses unicast until the network is reconfigured. An administrator configures multicast by modifying the private properties of individual networks and the cluster. To view the private properties for a network with regard to the multicast configuration; use the /privproperties parameter without any options. For example, to see the heartbeat multicasting properties for the cluster network PrivNet, type the following at the command prompt: cluster network PrivNet /priv The following table lists all of the configuration parameters for
a particular cluster network with regard to multicasting. The writable column
indicates whether or not the parameter can be set with Cluster.exe.Collapse this table
The MulticastClusterDisabled parameter is writable and indicates whether multicast should be used for all cluster networks. Each cluster network MulticastDisabled setting overrides the global cluster MulticastClusterDisabled setting. The Cluster Service on all nodes must be stopped completely before the cluster service is started on each node for the global disable to take effect. The following table describes whether heartbeat multicasting is disabled for a specific network as determined by the MulticastDisabled value for that network and the MulticastClusterDisabled value for the whole cluster: Collapse this table
* - "Not Set" implies that the parameter is absent ExamplesThe following examples are sample uses of Cluster.exe to handle multicast settings:To turn off heartbeat multicasting for the cluster network named PrivNet, type the following at the command prompt: cluster CLUSTERNAME network PrivNet /priv MulticastDisabled=1:DWORD To set the multicast address for network PrivNet to 224.1.2.3,
type the following at the command prompt: cluster CLUSTERNAME network PrivNet /priv MulticastAddress=224.1.2.3 To set the range of multicast addresses for network PrivNet from
which an address should be automatically chosen when no MADCAP server is
detected to 239.255.0.0-239.255.0.255, type the following at the command
prompt: cluster CLUSTERNAME network PrivNet /priv MulticastAddressRangeLower=239.255.0.0 MulticastAddressRangeUpper=239.255.0.255 To disable multicast for the whole cluster, type the following at
the command prompt: cluster CLUSTERNAME /priv MulticastClusterDisabled=1:DWORD Key for Signing and Verifying MessagesThe final step for the multicast configuration is agreeing on a key for signing and verifying messages. The key must be secret, but it must be agreed upon by all cluster nodes. Periodically, for each cluster network where multicast is not disabled, one cluster node generates a large random number to serve as the new multicast key. That key is encrypted and distributed to all the other cluster nodes. When each node receives the new key, each node stops signing messages with the old key. Multicast keys are never recorded in the cluster database and are always encrypted before distribution across a network.MORE INFORMATION
[RFC 2365] Administratively Scoped IP Multicast
(http://www.ietf.org/rfc/rfc2365.txt?number=2365)
IANA multicast address assignments (http://www.iana.org/assignments/multicast-addresses) | Article Translations
|
Back to the top
