list archives . users mailing list

Subject: FW: (query194)OGSA-DAI query submission.

Date view Thread view Subject view Author view Attachment view

From: Arijit Mukherjee (Arijit.Mukherjee@newcastle.ac.uk)
Date: Aug 23, 2004 12:25

Hi Vishal

If you are using your own machines (which needs to be atleast accessible
by each other through LAN), then you must deploy your own services on
these machines. I presume you have a GDQS on a linux box (which is a
mandatory requirement) and GQES services deployed on your other
machines. These machines should also have properly configured data
sources and OGSA-DAI GDS.

Your GDQS should be configured with the other evaluator nodes. See the
GridCompResourceMetadata.xml file in DQP_Root/config directory. When you
deploy your GDQS, this file is copied under Tomcat, so make sure you
have the proper configuration before actually deploying the service.
This file contains the details of the machines you are using, and the
handle of the GQES Factory.

<?xml version="1.0" encoding="UTF-8"?>
<!--Sample XML file generated by XMLSPY v5 rel. 2 U
(http://www.xmlspy.com)--> <GridCompResourceMetadata
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../schema/dqp/xsd/GridCompResourceMeta
data.xsd">
    <GridNodeInfo hostsDataSource="1" hostsService="0"
hasEvaluatorFactory="1">
         <!-- phoebus.cs.man.ac.uk -->
        <nodeURI>130.88.192.230</nodeURI>
        <CPUSpeedMHz>2100</CPUSpeedMHz>
        <maxMemoryKB>562234</maxMemoryKB>
        <hostedDataSource
GDSFactoryHandle="http://phoebus.cs.man.ac.uk:9090/ogsa/services/ogsadai
/GridDataServiceFactory"/>
 
<evalutorFactory>http://phoebus.cs.man.ac.uk:9090/ogsa/services/ogsadai/
dqp/GridQueryEvaluationFactory</evalutorFactory>
    </GridNodeInfo>

    <GridNodeInfo hostsDataSource="1" hostsService="0"
hasEvaluatorFactory="1">
                <!-- mygrid.ncl.ac.uk -->
        <nodeURI>128.240.150.47</nodeURI>
        <CPUSpeedMHz>1400</CPUSpeedMHz>
        <maxMemoryKB>762234</maxMemoryKB>
        <hostedDataSource
GDSFactoryHandle="http://mygrid.ncl.ac.uk:8090/ogsa/services/ogsadai/Gri
dDataServiceFactory"/>
 
<evalutorFactory>http://mygrid.ncl.ac.uk:8090/ogsa/services/ogsadai/dqp/
GridQueryEvaluationFactory</evalutorFactory>
    </GridNodeInfo>

    <GridNodeInfo hostsDataSource="1" hostsService="0"
hasEvaluatorFactory="1">
        <!-- rpc84.cs.man.ac.uk -->
        <nodeURI>130.88.198.246</nodeURI>
        <CPUSpeedMHz>1400</CPUSpeedMHz>
        <maxMemoryKB>762234</maxMemoryKB>
        <hostedDataSource
GDSFactoryHandle="http://rpc84.cs.man.ac.uk:8081/ogsa/services/ogsadai/G
ridDataServiceFactory"/>
 
<evalutorFactory>http://rpc84.cs.man.ac.uk:8081/ogsa/services/ogsadai/dq
p/GridQueryEvaluationFactory</evalutorFactory>
    </GridNodeInfo>

</GridCompResourceMetadata>

Once that is done, you can use the GUI client in two modes.

1. User Mode: You can use the examples.xml file as your single
configuration document.

<DQPRequestDocument
xmlns="http://mygrid.org.uk/namespaces/2003/10/dqp/types">
        <GDQSFHandle> handle of your GDQS Factory </GDQSFHandle>
        <GDQDataSourceList>
                <importedDataSource name="Data Source 1">
                        <GDSFactoryHandle> Handle of the GDS Factory for
Data Source 1 on this node </GDSFactoryHandle>
                </importedDataSource>
                <importedDataSource name="Data Source 2">
                        <GDSFactoryHandle> Handle of the GDS Factory for
Data Source 2 on this node</GDSFactoryHandle>
                </importedDataSource>
                <importedDataSource name="Data Source 3">
                        <GDSFactoryHandle> Handle of the GDS Factory for
Data Source 3 on this node</GDSFactoryHandle>
                </importedDataSource>
                <importedService name="Your Analysis Service Name"
wsdlURL="URL of the WSDL of the service"/>
        </GDQDataSourceList>
...
</DQPRequestDocument>

This file also contains a list of sample queries which would work with
the data sources we have provided in the samples folder. If you use
other data sources, make sure the queries are compliant with those.

In USER MODE, open this file from the File Menu of the client, and click
the "Create Instance and Import Schema" button - this will automatically
do the initial setup. Then you can click any query, and execute that.

2. Admin Mode: Here you need to do your own setup. Check the
RegistryList.xml file and the ServiceList.xml file provided with the
client. The first one contains the handle of the DAIServiceGroupRegistry
of the node where you have your GDQS. The second one contains the
details of the analysis services you want to use. Now, in the client,
click the "Switch Mode" button and then you will get the configuration
window. Create a new configuration there - click the "New configuration"
button - and the window will show the registries you can access. Select
the correct one and click "next". In the next window, services
registered with this registry will be shown, and the default GDQS is
highlighted. Select "next" - and then you can add your nodes (stated in
the GridCompResourceMetadata.xml file) and services...and then create
the instance and import schemas. Once this is done, switch mode again,
and submit your queries.

Hope this helps. If I have said anything wrong, my colleagues (copied in
this mail) would be able to correct me. If you still have problems, feel
free to email us.

Regards
Arijit

>-----Original Message-----
>From: OGSA-DAI Support [mailto:support@ogsadai.org.uk]
>Sent: 23 August 2004 11:56
>To: Arijit.Mukherjee@newcastle.ac.uk
>Cc: support@ogsadai.org.uk
>Subject: (query194)OGSA-DAI query submission.
>
>
>Hi Arijit,
>
>Could you (or one of your colleagues) please investigate this query.
>Please copy all replies to support@ogsadai.org.uk
>
>Thanks,
>Charaka
>--
>OGSA-DAI Support provided by the UK Grid Support Centre
>email: support@ogsadai.org.uk
>www: http://www.ogsadai.org.uk/support/
>UK GSC: http://www.grid-support.ac.uk/
>
>---------- Forwarded message ----------
>Date: Sat, 21 Aug 2004 20:12:58 +0100 (BST)
>From: kedia_vishal@yahoo.com
>To: support@ogsadai.org.uk
>Subject: OGSA-DAI query submission
>
>question_text: when I try to 'Create DQP instance and Import Schemas'
>through the GUI client, there is this error message network connection
>failure. I looked into the gui-client-sample-dqp-request.xml and found
>IP addresses which require internet coonection. I have set-up a small
>grid of three computers and if I want to use DQP between them then what

>exactly should be in the xml file so that it works without requiring
>connections to your IP address, because there is no internet connection

>available to my grid. I have no idea what all the tags in the xml file
>are for and thus I am not able to make any changes into the file to
>make it work for my grid. Please suggest and explain what should I do
>for this thing to work.
>Your humble reply is appriciated. This is my MSc project and I guess it

>wont finish in time.
>
>Many Thanks
>Vishal Kedia
>
>
>


Date view Thread view Subject view Author view Attachment view