Server Map Configuration : cluster-map XML File

cluster-map XML File
The server-map format-type cluster-map calls for specific definition of a consistent hashing scheme used to bind objects to nodes. For background information on consistent hashing, see the following: http://www8.org/w8-papers/2a-webserver/caching/paper2.html
Sample cluster-map XML file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE ClusterMap SYSTEM "ClusterMap.dtd">
<ClusterMap>
<Header>
<Version>1.0</Version>
<Application>MapXML</Application>
</Header>
<ClusterMapEntry>
<Node>NodeName1</Node>
<IP>172.19.172.52</IP>
<Port>80</Port>
<Options>heartbeatpath=/root/heartbeat.html</Options>
</ClusterMapEntry>
<ClusterMapEntry>
<Node>NodeName2</Node>
<IP>172.19.172.53</IP>
<Port>81</Port>
<Options>heartbeatpath=/root/heartbeat.html</Options>
</ClusterMapEntry>
</ClusterMap>
Tags:
ClusterMap—Parent tag for Header and ClusterMapEntry tags.
Header—Parent tag for Version and Application tags.
Version—MapXML utility version:1.0.
Application—Type of Media Flow Controller application: MapXML.
ClusterMapEntry—Parent tag for Node, IP, Port, and Options tags.
Node—Name to uniquely identify cluster nodes within the XML file. Use and scope is only within the XML file.
IP—IP address of the node.
Port—TCP port of the node.
Optionsheartbeatpath = Relative URI to use to heart beat node.
Important! Do not change the Version from 1.0 or the Application from MapXML without explicit, new instructions. These values must be present or the XML file will be rejected.

Report an Error
Media Flow Controller Administrator's Guide and CLI Command Reference
Copyright © 2010 Juniper Networks, Inc.