Evaluating GRIA Using the IT Innovation Demonstration Servers
Note: Return to tutorial view.
In order that you can evaluate GRIA and the ideas behind it quickly, IT Innovation has set up demonstration systems with the basic application services and service provider management packages installed. In this tutorial we will use the GRIA client software to access these services.
Introduction
Description of the demonstration services available and an overview of this tutorial.
In order that you can evaluate GRIA and the ideas behind it
quickly, IT Innovation has set up demonstration systems with
the basic
application services and service
provider management packages installed. In this tutorial you will
- install and configure the GRIA client software;
- use the client to run an image processing job on the "free" demonstration service;
- use the client to obtain a Service Level Agreement, and use this to access the "managed" demonstration services; and
- install the client management services to manage your remote resources centrally.
Installing the GRIA client software
Installing the client software and generating your keystore.
To access a GRIA service you need some client software. The GRIA client libraries can be used to create a variety of client applications, but for this
tutorial we will use the standard GRIA client package. To install it:
- Download the GRIA Client package from the downloads page.
- Unpack the archive somewhere.
When the client is first run, it will ask you for a keystore. Your keystore contains your certificate and
private key
. Having this private key allows you to prove who you are when you access a service, so keep your keystore safe! The keystore also contains certificates for authorities that you trust to identify other people and services. If you already have a keystore then you can use that, but if not you can get one easily using this web-site:
- Register with this web-site, if you haven't already done so.
- Read the GRIA Demo CA Certificate Policy, and check you agree with the terms.
- Download your keystore from the downloads page (it's in the Keystore Management section).
- Unpack the downloaded gria-keystore.zip file in the conf directory of the client (so that, for example, you end up with a file called gria-client-cli-5.1-bin/conf/crypto.properties).
Your personal GRIA keystore is generated using the information
contained in your profile. Keep it secure as it contains personal
information. Its sole purpose is for your evaluation of the GRIA
systems at IT Innovation and any other use is prohibited. The keystore
is generated when you request it, and is deleted from our server once you have
downloaded it. See the GRIA
Demo CA Certificate Policy for more details.
You are now ready to run the client:
- Run the gridcli launcher script inside the client directory. Consult the GRIA Client User Guide for more detailed instructions if you have difficulty with this step.
The GRIA client's main window should now appear:
Note: The GRIA client shown above is intended mainly as a demonstration of GRIA, allowing you to test the various features of GRIA easily.
For real use, you may want to write your own specialised client or make GRIA calls directly from your existing application software.
Single Trusted Domain Deployment
Using the "free" services to process an image.
In order to demonstrate the
Single
Trusted Domain Deployment scenario
, the
basic application services package have been deployed and configured to
run on the griademo1 system as 'free'. This means that GRIA's management
infrastructure is not used because there is no
requirement for users to pay for services, and so no need for usage
monitoring, management and billing.
To use these services follow these steps:
- Start the client, if it isn't already running.
- Add the 'free' basic application services to the client by dragging both of the following URLs from your browser into the top-left are in the client's window (the "Service View" area):
- You can now use the client to store data and run jobs. For example:
- Right-click on the JobService to open the menu and choose New Job.
- The client gets a list of available applications from the service. Choose swirl from the menu.
- You will be shown information about the job's inputs. Click OK to accept.
- A new swirl job appears under the job service, with one input and one output.
- Right-click on source-image and choose Upload data from the Data Functions sub-menu.
- Select an image on your computer to upload.
- After uploading the file, the input will still say "(empty)"; you need to choose Update EPR from the menu to get the new status "(full)" (an "EPR" is an "EndPoint Reference"; every remote resource is represented by an EPR).
- Right-click on the swirl job and choose Start Job and Monitor to start the job running. You don't need to enter any arguments; just click OK.
- You can watch the progress of the job using the Job Log tab.
- When the job finishes, you can select the swirled-image output and view the processed image in the Preview tab. Click on Load Data to see it,
You can do much more than this with the client. Consult the Client User Guide for full details.
Using managed services
You need to obtain a Service Level Agreement before you can use "managed" services.
In order to demonstrate the Inter-Domain
Deployment scenario the basic applications services have been
installed and
configured on the griademo2 system as 'managed'. This means
access to application services is managed by an SLA service and usage
is billed to a Trade Account service. For convenience,
the service provider management package (containing the SLA
and Acccount services) has also been installed on the griademo2 system, although GRIA does not require them to be located on the same machine.
To use all these services follow these steps:
- Ensure the Client package is installed and configured as
above.
- Add the 'managed' basic application services to the client by specifying the following URLs (drag the links from your browser into the GRIA client):
- If you try to create a job at this new service as you did for the one at griademo1 you will be refused and told that you need an SLA.
- Add the Trade Account and SLA services to the client by specifying the following URLs:
- Open
a
Trade Account by selecting the trade account service and clicking on Open Account in the Details tab.
- In a real deployment scenario the next stage would be for the
service provider to perform some credit checks before approving or
denying the account. However, since this is a demo system we will open
the account if you send us an account approval request. Use Update EPR to check the status of your account approval (it will change from
pending-credit-checks to open):
- Once you have received notification of the account approval, select the Sample Job and Data Package 1
SLA template and click on Load Details and then on Propose SLA:
- You can now use the client to store data
and run jobs, much as you did before,
but managed by the SLA that you proposed and billing to the trade account that
you have just opened.
Consult the
Client User Guide
for information about monitoring your usage.
Federated Domain Deployment
Deploying the client management package locally allows you to manage your remote resources centrally.
Federated Domain Deployment
In order to demonstrate the Federated-Domain
Deployment scenario, where client organisations want to
control access for large numbers of users and SLAs, you should install the client management package locally. To do this follow these steps:
- Download the GRIA Client Management package.
- Follow the client management installation
instructions.
- Ensure the client package is installed and configured as
above.
- Using Keytool GUI import the GRIA Demo CA certificate (available in gria-keystore.zip)
into the server keystore that you created for the client management service.
- Add the Membership Service either by dragging its WSDL link or by specifying the URL directly, e.g.
https://mymachine/gria-client-mgt/services/MembershipService?wsdl
- Add yourself as a manager
to the service by selecting your generated demo
certificate and the certificate of the demo CA , which are both available
in gria-keystore.zip.
- Create new membership groups using the GRIA client, by right-clicking on the MembershipService and choosing Create group from the menu.
- Drag the SLA you created on the griademo2 service to a group to give all members of the group access to the resource. You will be prompted to select the role they should be given (e.g. "user"). When you do this, the access policy on the SLA is updated so that anyone with a token from the membership group has the specified role.
- Add another user in your organisation to the membership group, using the Access Control tab.
- The other user can now add the membership service to their client and discover the group. Then should choose Set as default group from the menu. Every message they send will now include a SAML token
asserting their membership of this group.
- This user should then be able to discover and use the SLA, and use it to store data and run jobs according to the SLA, as before.
You can also use the
registry service
to keep track of remote resources, so that users don't have to add each service to their client manually.
See the
client management package's documentation
for more information about using these services.
Next steps
Decide which of the scenarios is most suitable for you and install the service packages.
The next step depends on which deployment scenario meets
your needs:
If it is the Single
Trusted Domain Deployment scenario then install and configure the basic application services ensuring that you configure the Data and Job Service as free.
If it is the Inter-Domain Deployment
scenario then follow the basic application services guide and
service provider management guide ensuring that the Data and Job Service are
managed by the SLA service, and the SLA service itself is managed by
the Trade Account Service.