Hi, I have installed ganglia in a condor cluster with globus. 
I've edited the file
$GLOBUS_LOCATION/etc/globus_wsrf_mds_usefulrp/gluerp.xml so globus takes
information from ganglia but the information provided about the cluster
is not good.

When I run  

wsrf-query -s
https://161.67.133.22:8443/wsrf/services/DefaultIndexService

I got:

<ns0:IndexRP xmlns:glue="http://mds.globus.org/glue/ce/1.1";
xmlns:ns0="http://mds.globus.org/index";
xmlns:ns1="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2-draft-01.xsd";
 
xmlns:ns10="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd";
 xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/03/addressing"; 
xmlns:ns3="http://www.globus.org/namespaces/2004/10/gram/job"; 
xmlns:ns4="http://mds.globus.org/inmemoryservicegroup"; 
xmlns:ns5="http://mds.globus.org/aggregator/types"; 
xmlns:ns6="http://mds.globus.org/aggregator"; 
xmlns:ns7="http://mds.globus.org/metrics/2004/09"; 
xmlns:ns8="http://mds.globus.org/metadata/2005/02"; 
xmlns:ns9="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd";
 xmlns:rft="http://www.globus.org/namespaces/2004/10/rft"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:ns11="http://mds.globus.org/aggregator/types";>
 <ns1:Entry>
  <ns1:ServiceGroupEntryEPR>

<ns2:Address>https://161.67.133.22:8443/wsrf/services/DefaultIndexServiceEntry</ns2:Address>
   <ns3:ReferenceProperties
xmlns:ns3="http://schemas.xmlsoap.org/ws/2004/03/addressing";>
    <ns4:ServiceGroupEntryKey>
     <ns5:GroupKey
xmlns:ns5="http://mds.globus.org/aggregator/types";>22690450</ns5:GroupKey>
     <ns6:EntryKey
xmlns:ns6="http://mds.globus.org/aggregator/types";>25212153</ns6:EntryKey>
    </ns4:ServiceGroupEntryKey>
   </ns3:ReferenceProperties>
   <ns7:ReferenceParameters
xmlns:ns7="http://schemas.xmlsoap.org/ws/2004/03/addressing"/>
  </ns1:ServiceGroupEntryEPR>
  <ns1:MemberServiceEPR>
   <ns8:Address
xmlns:ns8="http://schemas.xmlsoap.org/ws/2004/03/addressing";>https://161.67.133.22:8443/wsrf/services/ManagedJobFactoryService</ns8:Address>
   <ns9:ReferenceProperties
xmlns:ns9="http://schemas.xmlsoap.org/ws/2004/03/addressing";>
    <ns1:ResourceID
xmlns:ns1="http://www.globus.org/namespaces/2004/10/gram/job";>Condor</ns1:ResourceID>
   </ns9:ReferenceProperties>
   <ns10:ReferenceParameters
xmlns:ns10="http://schemas.xmlsoap.org/ws/2004/03/addressing"/>
  </ns1:MemberServiceEPR>
  <ns1:Content xsi:type="ns11:AggregatorContent">
   <ns11:AggregatorConfig>
    <ns11:GetResourcePropertyPollType>
            <!-- Specifies that the index should refresh information
                 every 60000 milliseconds (once per minute) -->
                <ns11:PollIntervalMillis>60000</ns11:PollIntervalMillis>


            <!-- specifies the resource property that should be
                 aggregated, which in this case is the GLUE cluster
                 and scheduler information RP -->

<ns11:ResourcePropertyName>glue:GLUECE</ns11:ResourcePropertyName>


         </ns11:GetResourcePropertyPollType>
   </ns11:AggregatorConfig>
   <ns11:AggregatorData>
    <ns1:GLUECE xmlns:ns1="http://mds.globus.org/glue/ce/1.1";>
     <ns1:ComputingElement ns1:Name="default" ns1:UniqueID="default">
      <ns1:Info ns1:GRAMVersion="4.0.5" ns1:HostName="myr1.i3a.uclm.es"
ns1:LRMSType="Condor" ns1:LRMSVersion="" ns1:TotalCPUs=""/>
      <ns1:State ns1:EstimatedResponseTime="0" ns1:FreeCPUs="0"
ns1:RunningJobs="0" ns1:Status="enabled" ns1:TotalJobs="0"
ns1:WaitingJobs="0" ns1:WorstResponseTime="0"/>
      <ns1:Policy ns1:MaxCPUTime="-1" ns1:MaxRunningJobs="-1"
ns1:MaxTotalJobs="-1" ns1:MaxWallClockTime="-1" ns1:Priority="0"/>
     </ns1:ComputingElement>
    </ns1:GLUECE>
   </ns11:AggregatorData>
  </ns1:Content>
 </ns1:Entry>

 <ns1:Entry>
  <ns1:ServiceGroupEntryEPR>

<ns2:Address>https://161.67.133.22:8443/wsrf/services/DefaultIndexServiceEntry</ns2:Address>
   <ns3:ReferenceProperties
xmlns:ns3="http://schemas.xmlsoap.org/ws/2004/03/addressing";>
    <ns4:ServiceGroupEntryKey>
     <ns5:GroupKey
xmlns:ns5="http://mds.globus.org/aggregator/types";>22690450</ns5:GroupKey>
     <ns6:EntryKey
xmlns:ns6="http://mds.globus.org/aggregator/types";>3166926</ns6:EntryKey>
    </ns4:ServiceGroupEntryKey>
   </ns3:ReferenceProperties>
   <ns7:ReferenceParameters
xmlns:ns7="http://schemas.xmlsoap.org/ws/2004/03/addressing"/>
  </ns1:ServiceGroupEntryEPR>
  <ns1:MemberServiceEPR>
   <ns8:Address
xmlns:ns8="http://schemas.xmlsoap.org/ws/2004/03/addressing";>https://161.67.133.22:8443/wsrf/services/ReliableFileTransferFactoryService</ns8:Address>
   <ns9:ReferenceProperties
xmlns:ns9="http://schemas.xmlsoap.org/ws/2004/03/addressing"/>
   <ns10:ReferenceParameters
xmlns:ns10="http://schemas.xmlsoap.org/ws/2004/03/addressing"/>
  </ns1:MemberServiceEPR>
  <ns1:Content xsi:type="ns11:AggregatorContent">
   <ns11:AggregatorConfig>
    <ns11:GetMultipleResourcePropertiesPollType>
            <!-- Specifies that the index should refresh information
                 every 60000 milliseconds (once per minute) -->
                <ns11:PollIntervalMillis>60000</ns11:PollIntervalMillis>


            <!-- specifies that all Resource Properties should be
                 collected from the RFT factory -->


<ns11:ResourcePropertyNames>rft:TotalNumberOfBytesTransferred</ns11:ResourcePropertyNames>


<ns11:ResourcePropertyNames>rft:TotalNumberOfActiveTransfers</ns11:ResourcePropertyNames>


<ns11:ResourcePropertyNames>rft:RFTFactoryStartTime</ns11:ResourcePropertyNames>


<ns11:ResourcePropertyNames>rft:ActiveResourceInstances</ns11:ResourcePropertyNames>



<ns11:ResourcePropertyNames>rft:TotalNumberOfTransfers</ns11:ResourcePropertyNames>


        </ns11:GetMultipleResourcePropertiesPollType>
   </ns11:AggregatorConfig>
   <ns11:AggregatorData>
    <ns1:TotalNumberOfBytesTransferred
xmlns:ns1="http://www.globus.org/namespaces/2004/10/rft";>944389642</ns1:TotalNumberOfBytesTransferred>
    <ns2:TotalNumberOfActiveTransfers
xmlns:ns2="http://www.globus.org/namespaces/2004/10/rft";>0</ns2:TotalNumberOfActiveTransfers>
    <ns3:RFTFactoryStartTime
xmlns:ns3="http://www.globus.org/namespaces/2004/10/rft";>2007-10-29T16:06:15.624Z</ns3:RFTFactoryStartTime>
    <ns4:ActiveResourceInstances
xmlns:ns4="http://www.globus.org/namespaces/2004/10/rft";>0</ns4:ActiveResourceInstances>
    <ns5:TotalNumberOfTransfers
xmlns:ns5="http://www.globus.org/namespaces/2004/10/rft";>51</ns5:TotalNumberOfTransfers>
   </ns11:AggregatorData>
  </ns1:Content>
 </ns1:Entry>

 <ns1:Entry>
  <ns1:ServiceGroupEntryEPR>

<ns2:Address>https://161.67.133.22:8443/wsrf/services/DefaultIndexServiceEntry</ns2:Address>
   <ns3:ReferenceProperties
xmlns:ns3="http://schemas.xmlsoap.org/ws/2004/03/addressing";>
    <ns4:ServiceGroupEntryKey>
     <ns5:GroupKey
xmlns:ns5="http://mds.globus.org/aggregator/types";>22690450</ns5:GroupKey>
     <ns6:EntryKey
xmlns:ns6="http://mds.globus.org/aggregator/types";>290876</ns6:EntryKey>
    </ns4:ServiceGroupEntryKey>
   </ns3:ReferenceProperties>
   <ns7:ReferenceParameters
xmlns:ns7="http://schemas.xmlsoap.org/ws/2004/03/addressing"/>
  </ns1:ServiceGroupEntryEPR>
  <ns1:MemberServiceEPR>
   <ns8:Address
xmlns:ns8="http://schemas.xmlsoap.org/ws/2004/03/addressing";>https://161.67.133.22:8443/wsrf/services/ManagedJobFactoryService</ns8:Address>
   <ns9:ReferenceProperties
xmlns:ns9="http://schemas.xmlsoap.org/ws/2004/03/addressing";>
    <ns1:ResourceID
xmlns:ns1="http://www.globus.org/namespaces/2004/10/gram/job";>Fork</ns1:ResourceID>
   </ns9:ReferenceProperties>
   <ns10:ReferenceParameters
xmlns:ns10="http://schemas.xmlsoap.org/ws/2004/03/addressing"/>
  </ns1:MemberServiceEPR>
  <ns1:Content xsi:type="ns11:AggregatorContent">
   <ns11:AggregatorConfig>
    <ns11:GetResourcePropertyPollType>
            <!-- Specifies that the index should refresh information
                 every 60000 milliseconds (once per minute) -->
                <ns11:PollIntervalMillis>60000</ns11:PollIntervalMillis>


            <!-- specifies the resource property that should be
                 aggregated, which in this case is the GLUE cluster
                 and scheduler information RP -->

<ns11:ResourcePropertyName>glue:GLUECE</ns11:ResourcePropertyName>


         </ns11:GetResourcePropertyPollType>
   </ns11:AggregatorConfig>
   <ns11:AggregatorData>
    <ns1:GLUECE xmlns:ns1="http://mds.globus.org/glue/ce/1.1";>
     <ns1:ComputingElement ns1:Name="default" ns1:UniqueID="default">
      <ns1:Info ns1:GRAMVersion="4.0.5" ns1:HostName="lince_condor"
ns1:LRMSType="Fork" ns1:LRMSVersion="1.0" ns1:TotalCPUs="1"/>
      <ns1:State ns1:EstimatedResponseTime="0" ns1:FreeCPUs="1"
ns1:RunningJobs="0" ns1:Status="enabled" ns1:TotalJobs="0"
ns1:WaitingJobs="0" ns1:WorstResponseTime="0"/>
      <ns1:Policy ns1:MaxCPUTime="-1" ns1:MaxRunningJobs="-1"
ns1:MaxTotalJobs="-1" ns1:MaxWallClockTime="-1" ns1:Priority="0"/>
     </ns1:ComputingElement>
    </ns1:GLUECE>
   </ns11:AggregatorData>
  </ns1:Content>
 </ns1:Entry>

 <ns1:Entry>
  <ns1:ServiceGroupEntryEPR>

<ns2:Address>https://161.67.133.22:8443/wsrf/services/DefaultIndexServiceEntry</ns2:Address>
   <ns3:ReferenceProperties
xmlns:ns3="http://schemas.xmlsoap.org/ws/2004/03/addressing";>
    <ns4:ServiceGroupEntryKey>
     <ns5:GroupKey
xmlns:ns5="http://mds.globus.org/aggregator/types";>22690450</ns5:GroupKey>
     <ns6:EntryKey
xmlns:ns6="http://mds.globus.org/aggregator/types";>12661766</ns6:EntryKey>
    </ns4:ServiceGroupEntryKey>
   </ns3:ReferenceProperties>
   <ns7:ReferenceParameters
xmlns:ns7="http://schemas.xmlsoap.org/ws/2004/03/addressing"/>
  </ns1:ServiceGroupEntryEPR>
  <ns1:MemberServiceEPR>
   <ns8:Address
xmlns:ns8="http://schemas.xmlsoap.org/ws/2004/03/addressing";>https://161.67.133.22:8443/wsrf/services/ManagedJobFactoryService</ns8:Address>
   <ns9:ReferenceProperties
xmlns:ns9="http://schemas.xmlsoap.org/ws/2004/03/addressing";>
    <ns1:ResourceID
xmlns:ns1="http://www.globus.org/namespaces/2004/10/gram/job";>Multi</ns1:ResourceID>
   </ns9:ReferenceProperties>
   <ns10:ReferenceParameters
xmlns:ns10="http://schemas.xmlsoap.org/ws/2004/03/addressing"/>
  </ns1:MemberServiceEPR>
  <ns1:Content xsi:type="ns11:AggregatorContent">
   <ns11:AggregatorConfig>
    <ns11:GetResourcePropertyPollType>
            <!-- Specifies that the index should refresh information
                 every 60000 milliseconds (once per minute) -->
                <ns11:PollIntervalMillis>60000</ns11:PollIntervalMillis>


            <!-- specifies the resource property that should be
                 aggregated, which in this case is the GLUE cluster
                 and scheduler information RP -->

<ns11:ResourcePropertyName>glue:GLUECE</ns11:ResourcePropertyName>


         </ns11:GetResourcePropertyPollType>
   </ns11:AggregatorConfig>
   <ns11:AggregatorData/>
  </ns1:Content>
 </ns1:Entry>

 <ns1:RegistrationCount xmlns:ns1="http://mds.globus.org/aggregator";>
  <ns2:startTime
xmlns:ns2="http://mds.globus.org/metrics/2004/09";>2007-10-29T16:06:37.939Z</ns2:startTime>
  <ns3:lastChange
xmlns:ns3="http://mds.globus.org/metrics/2004/09";>2007-10-29T16:06:46.412Z</ns3:lastChange>
  <ns4:total
xmlns:ns4="http://mds.globus.org/metrics/2004/09";>4</ns4:total>
  <ns5:expRate xmlns:ns5="http://mds.globus.org/metrics/2004/09";>
   <ns5:rate>0.005905045940331284</ns5:rate>
   <ns5:decay>60</ns5:decay>
  </ns5:expRate>
  <ns6:expRate xmlns:ns6="http://mds.globus.org/metrics/2004/09";>
   <ns6:rate>0.001067118376830368</ns6:rate>
   <ns6:decay>3600</ns6:decay>
  </ns6:expRate>
  <ns7:expRate>
   <ns7:rate>4.621843242865156E-5</ns7:rate>
   <ns7:decay>86400</ns7:decay>
  </ns7:expRate>
 </ns1:RegistrationCount>

 <ns1:ServiceMetaDataInfo
xmlns:ns1="http://mds.globus.org/metadata/2005/02";>
  <ns1:startTime>2007-10-29T16:06:37.946Z</ns1:startTime>
  <ns1:version>4.0.5</ns1:version>
  <ns1:serviceTypeName>DefaultIndexService</ns1:serviceTypeName>
 </ns1:ServiceMetaDataInfo>

 <ns1:FixedTopicSet
xmlns:ns1="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd";>false</ns1:FixedTopicSet>

 <ns2:Topic
ns2:Dialect="http://docs.oasis-open.org/wsn/2004/06/TopicExpression/Simple"; 
xmlns:ns2="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd";>ns1:Entry</ns2:Topic>

 <ns1:TopicExpressionDialects
xmlns:ns1="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd";>http://docs.oasis-open.org/wsn/2004/06/TopicExpression/Simple</ns1:TopicExpressionDialects>

 <ns1:TerminationTime xsi:nil="true"
xmlns:ns1="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"/>

 <ns1:CurrentTime
xmlns:ns1="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd";>2007-10-29T16:09:11.055Z</ns1:CurrentTime>

</ns0:IndexRP>


##################################################################################################################################################


You can realize reading these lines:

 <ns1:GLUECE xmlns:ns1="http://mds.globus.org/glue/ce/1.1";>
     <ns1:ComputingElement ns1:Name="default" ns1:UniqueID="default">
      <ns1:Info ns1:GRAMVersion="4.0.5" ns1:HostName="myr1.i3a.uclm.es"
ns1:LRMSType="Condor" ns1:LRMSVersion="" ns1:TotalCPUs=""/>
      <ns1:State ns1:EstimatedResponseTime="0" ns1:FreeCPUs="0"
ns1:RunningJobs="0" ns1:Status="enabled" ns1:TotalJobs="0"
ns1:WaitingJobs="0" ns1:WorstResponseTime="0"/>
      <ns1:Policy ns1:MaxCPUTime="-1" ns1:MaxRunningJobs="-1"
ns1:MaxTotalJobs="-1" ns1:MaxWallClockTime="-1" ns1:Priority="0"/>
     </ns1:ComputingElement>
    </ns1:GLUECE>
   </ns11:AggregatorData>
  </ns1:Content>
 </ns1:Entry>


that the number of cpu="" and other staff the same.

I don't know why. I'm running a cluster with 7 nodes that are up.

You can see http://161.67.133.22/ganglia what I mean.

I don't know why globus doesn´t show the information about the cluster
correctly.

Someone told me about a script that get information from condor and
takes it to globus but I don't know where that script is.

Thanks.



Reply via email to