Dear All

I am setting up the MDS for LSF. I use mds-gluerp-configure lsf ganglia to generate a gluerp-config.xml and use this as the configuration file in
globus_wsrf_mds_index/server-config.wsdd

   <parameter name="rpProviderConfigFile"
                   value="/etc/globus_wsrf_gram_Fork/gluerp-config.xml"/>

when I use the Fork one, it works and I can see the scheduler and cluster information in WebMDS.

However,   if I use the one generated for LSF

<parameter name="rpProviderConfigFile"
                   value="/etc/globus_wsrf_gram_LSF/gluerp-config.xml"/>

I got the following error in $GL/var/container.log

2008-09-24T12:27:03.988+01:00 INFO impl.DefaultIndexService [ServiceThread-61,performDefaultRegistrations:261] guid=b668ef20-8a2b-11dd-bdad-d27c304fe0d0 event=org.globus.mds.index.performDefaultRegistrations.end status=0 2008-09-24T12:27:04.070+01:00 ERROR rpprovider.ResourcePropertyProviderTask [org.globus.mds.usefulrp.rpprovider.ResourcePropertyProviderTask,timerExpired:197] Unhandled exception during execution of org.globus.mds.usefulrp.rpprovider.producers.SchedulerInfoElementProducer : java.lang.Exception: Exception while parsing child process stdout into valid XML document: org.xml.sax.SAXException: Fatal Error: URI=null Line=-1: Premature end of file. 2008-09-24T12:27:04.071+01:00 WARN rpprovider.ResourcePropertyProviderTask [org.globus.mds.usefulrp.rpprovider.ResourcePropertyProviderTask,timerExpired:202] Timer event canceled due to unhandled exception during execution of
org.globus.mds.usefulrp.rpprovider.producers.SchedulerInfoElementProducer


the following is the gluerp-config.xml
<?xml version="1.0" encoding="UTF-8"?>

<!-- Configuration file for the MDS GLUECE resource property provider -->

<ns1:ResourcePropertyProviderConfigArray xmlns:ns1="http://mds.globus.org/rpprovider/2005/08"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:type="ns1:ResourcePropertyProviderConfigArray"> <ns1:resourcePropertyProviderConfiguration xsi:type="ns1:resourcePropertyProviderConfig"> <ns1:resourcePropertyName xmlns:mds="http://mds.globus.org/glue/ce/1.1"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xsi:type="xsd:QName">
mds:GLUECE  </ns1:resourcePropertyName>
<ns1:resourcePropertyImpl xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xsi:type="xsd:string"> org.globus.mds.usefulrp.rpprovider.GLUEResourceProperty </ns1:resourcePropertyImpl> <ns1:resourcePropertyElementProducers xsi:type="ns1:resourcePropertyElementProducerConfig"> <ns1:className xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xsi:type="xsd:string"> org.globus.mds.usefulrp.rpprovider.producers.SchedulerInfoElementProducer </ns1:className> <ns1:arguments xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xsi:type="xsd:string">
libexec/globus-scheduler-provider-lsf   </ns1:arguments>
<ns1:transformClass xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xsi:type="xsd:string"> org.globus.mds.usefulrp.rpprovider.transforms.GLUESchedulerElementTransform </ns1:transformClass> <ns1:period xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xsi:type="xsd:int">
300   </ns1:period>
 </ns1:resourcePropertyElementProducers>
<ns1:resourcePropertyElementProducers xsi:type="ns1:resourcePropertyElementProducerConfig"> <ns1:className xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xsi:type="xsd:string">
org.globus.mds.usefulrp.glue.GangliaElementProducer   </ns1:className>
<ns1:arguments xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xsi:type="xsd:string">
localhost   </ns1:arguments>
<ns1:arguments xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xsi:type="xsd:string">
8649   </ns1:arguments>
<ns1:transformClass xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xsi:type="xsd:string"> org.globus.mds.usefulrp.rpprovider.transforms.GLUEComputeElementTransform </ns1:transformClass> <ns1:period xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xsi:type="xsd:int">
300   </ns1:period>
 </ns1:resourcePropertyElementProducers>
</ns1:resourcePropertyProviderConfiguration>
</ns1:ResourcePropertyProviderConfigArray>

Thank you for any suggestion!!

Best Regard!
 Gen-Tao





--
The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.

Reply via email to