 |
返回文章
清单 7. GRAM 和 RFT 服务注册例子
<ServiceGroupRegistrationParameters
xmlns="http://mds.globus.org/servicegroup/client" >
<RegistrantEPR
xmlns:agg="http://mds.globus.org/aggregator/types"
xmlns:gram="http://www.globus.org/namespaces/2004/10/gram/job"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
<wsa:Address>
https://129.114.50.64:8443/wsrf/services/mds/test/execsource/IndexServiceEntry
</wsa:Address>
<wsa:ReferenceProperties>
<gram:ResourceID>GRAM</gram:ResourceID>
</wsa:ReferenceProperties>
</RegistrantEPR>
<RefreshIntervalSecs>600</RefreshIntervalSecs>
<Content xsi:type="agg:AggregatorContent"
xmlns:agg="http://mds.globus.org/aggregator/types">
<agg:AggregatorConfig xsi:type="agg:AggregatorConfig">
<agg:ExecutionPollType>
<agg:PollIntervalMillis>60000</agg:PollIntervalMillis>
<agg:ProbeName>globus-scheduler-provider-condor</agg:ProbeName>
</agg:ExecutionPollType>
</agg:AggregatorConfig>
<agg:AggregatorData/>
</Content>
</ServiceGroupRegistrationParameters>
...
<ServiceGroupRegistrationParameters
xmlns="http://mds.globus.org/servicegroup/client" >
<RegistrantEPR
xmlns:agg="http://mds.globus.org/aggregator/types"
xmlns:glue="http://mds.globus.org/glue/ce/1.1"
xmlns:gram="http://www.globus.org/namespaces/2004/10/gram/job"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
<wsa:Address>
https://gt4-test.tacc.utexas.edu:8443/wsrf/services/ReliableFileTransferFactoryService
</wsa:Address>
</RegistrantEPR>
<RefreshIntervalSecs>600</RefreshIntervalSecs>
<Content
xmlns:agg="http://mds.globus.org/aggregator/types"
xmlns:rft="http://www.globus.org/namespaces/2004/10/rft"
xsi:type="agg:AggregatorContent">
<agg:AggregatorConfig xsi:type="agg:AggregatorConfig">
<agg:GetMultipleResourcePropertiesPollType
xmlns:rft="http://www.globus.org/namespaces/2004/10/rft">
<agg:PollIntervalMillis>60000</agg:PollIntervalMillis>
<agg:ResourcePropertyNames>rft:TotalNumberOfBytesTransferred</agg:ResourcePropertyNames>
<agg:ResourcePropertyNames>rft:TotalNumberOfActiveTransfers</agg:ResourcePropertyNames>
<agg:ResourcePropertyNames>rft:RFTFactoryStartTime</agg:ResourcePropertyNames>
<agg:ResourcePropertyNames>rft:ActiveResourceInstances</agg:ResourcePropertyNames>
<agg:ResourcePropertyNames>rft:TotalNumberOfTransfers</agg:ResourcePropertyNames>
</agg:GetMultipleResourcePropertiesPollType>
</agg:AggregatorConfig>
<agg:AggregatorData/>
</Content>
</ServiceGroupRegistrationParameters>
|
返回文章
|  |
|