$action.getText("cluster.configuration")

#parse ( "/template/includes/actionerrors.vm" )

$action.getText("cluster.status") | $action.clusterStatus
#if ($action.isClusterRunning())
$action.getText("cluster.name.label") | $action.clusterName
#if ($action.isClusterAddressCorrect()) $action.getText("cluster.multicast.listen.label") | $action.clusterAddress #else | $action.getText("cluster.multicast.listen.label") | $action.clusterAddress $action.getText('cluster.address.mismatch') #end
$action.getText("cluster.members.label") | $action.clusterMembers.size()
#end
$action.getText("cluster.permitted.member.count") | $action.permittedMemberCount #if ($action.clusterLicenseInNonClusteredConfluence) $action.getText("license.cluster.not.supported") #end

#set ($clusterableInterfaces = $action.clusterableInterfaces) #if (!$action.isClusterRunning() && $action.permittedMemberCount > 0 && !$action.clusterLicenseInNonClusteredConfluence)

#if ($clusterableInterfaces.size() > 1) $action.getText("cluster.not.started.can.start.multiple.interfaces") #else $action.getText("cluster.not.started.can.start") #end

#if ($clusterableInterfaces.size() == 1) #applyDecorator("warning") $action.getText("cluster.only.one.network.interface.warning") #end #end

#if ($clusterableInterfaces.size() > 1)
$action.getText("interface.name") |
#end
$action.getText("cluster.name.label") |
#tag( "Submit" "id=start" "name='start'" "value='cluster.start.label'" "theme='notable'" )

#end #set ($thisNodeId = $action.getThisNodeId()) #if ($action.isClusterRunning())

#### $action.getText("cluster.active.nodes")

#set ($nodeInfo = $action.detailedNodeInfo) #foreach ($node in $nodeInfo.keySet())

$action.getText('cluster.node.id.label') | $node.id #if ($thisNodeId == $node.id) $action.getText('cluster.current.node.label') #end
$action.getText('cluster.coherence.listen.label') | $node.address.hostAddress:$node.port
$action.getText('system.uptime') | $nodeInfo.get($node).getBuildStats().get('upTime')
$action.getText('jvm.version') | $nodeInfo.get($node).getProps().get('javaVersion')
$action.getText('operating.system') | $nodeInfo.get($node).getProps().get('operatingSystem')
$action.getText('memory.graph') | #bodytag( "Component" "theme='custom'" "template='memoryusagebar.vm'") #param ("used" $nodeInfo.get($node).getJVMstats().get('usedMemoryInMegabytes')) #param ("total" $nodeInfo.get($node).getJVMstats().get('totalMemoryInMegabytes')) #end

#end #end #parse("/breadcrumbs.vm")