Installation and Usage Manual
Total Page:16
File Type:pdf, Size:1020Kb
Grid enabled access to rich media content GREDIA Platform Installation and Usage Guide Created by: The GREDIA Consortium Last modified: 30/06/2009 GREDIA Platform: Installation and Usage Guide Table of Contents 1. Installation and Usage Guide .................................................................................................4 1.1. GREDIA Middleware.....................................................................................................4 1.1.1. RDLS ..................................................................................................................5 1.1.1.1 Server Setup ...................................................................................................5 1.1.1.2 Client Setup ....................................................................................................5 1.1.1.3 SFC Module and Kademlia Overlay ....................................................................6 1.1.2. GridTorrent .........................................................................................................6 1.1.2.1 GridTorrent Installation ....................................................................................6 1.1.3. FiVO ...................................................................................................................9 1.1.3.1 FiVO Authentication Service..............................................................................9 1.1.3.2 FiVO Authorization Service ............................................................................. 11 1.1.3.3 FiVO Management Service.............................................................................. 11 1.1.3.4 FiVO Contract Negotiation system ................................................................... 11 1.2. The APPEA Application Development Platform.............................................................. 12 1.2.1. GSEngine Installation ......................................................................................... 12 1.2.2. AEPT Installation ............................................................................................... 13 1.2.3. GRR Installation................................................................................................. 14 1.2.4. Scenario Repository Installation .......................................................................... 16 1.3. Grid Runtime Service Discovery Tool (GRSDT).............................................................. 16 1.3.1. GRSDT Installation............................................................................................. 16 1.3.2. GRSDT Usage.................................................................................................... 18 1.3.2.1 A Sample Query ............................................................................................ 18 1.3.2.2 A Sample Registry ......................................................................................... 18 1.3.2.3 Execution of Query in Pull Mode ..................................................................... 18 1.3.2.4 Execution of Query in Push Mode.................................................................... 21 1.4. Gredia Proxy and Mobile Client ................................................................................... 27 1.4.1. Hardware and Software Requirements................................................................. 27 1.4.1.1 Proxy Host Software and Hardware Requirements ............................................ 28 1.4.1.2 Ruby Version................................................................................................. 28 1.4.1.3 Mobile Phone Software and Hardware Requirements ........................................ 28 1.4.2. Installation........................................................................................................ 28 1.4.2.1 Proxy Installation........................................................................................... 28 1.4.2.2 Editing the proxy file...................................................................................... 28 1.4.2.3 Editing the proxy configuration file.................................................................. 28 1.4.3. Mobile Client Installation .................................................................................... 28 1.4.3.1 Install Ruby VM............................................................................................. 28 1.4.3.2 Install mobile client........................................................................................ 28 1.4.3.3 Editing the configuration file........................................................................... 29 -2- GREDIA Platform: Installation and Usage Guide 1.4.4. Running Proxy................................................................................................... 30 1.4.5. Monitoring Proxy................................................................................................ 30 1.4.5.1 Monitoring using the Command Window.......................................................... 30 1.4.5.2 Monitoring using a Web interface.................................................................... 30 1.4.6. Exiting Proxy ..................................................................................................... 30 1.4.7. Restarting proxy ................................................................................................ 31 1.4.8. Running the Mobile Client................................................................................... 31 1.4.9. Monitoring mobile client ..................................................................................... 31 1.4.10. Exiting client ..................................................................................................... 31 1.4.11. Running mobile client on a computer................................................................... 31 1.4.12. Receiving notifications/messages for mobile client from the grid ............................ 31 1.4.13. Publishing files to the grid .................................................................................. 31 1.4.14. Logging of messages ......................................................................................... 32 1.4.15. Grid Clients Interface ......................................................................................... 32 1.4.15.1 Connecting to the Proxy................................................................................. 32 1.4.15.2 Getting the status of a mobile client ................................................................ 32 1.4.15.3 Sending notifications to a mobile client............................................................ 32 1.4.15.4 Getting information about resources provided by a mobile client........................ 32 1.4.15.5 Checking the status of the proxy..................................................................... 33 1.4.15.6 Reliable file transmission ................................................................................ 33 1.5. Authorization Module for GREDIA................................................................................ 33 1.5.1. Installation Process............................................................................................ 33 1.6. GREDIA Portal........................................................................................................... 36 1.6.1. Integration with FIVO......................................................................................... 37 1.6.2. Integration with APPEA ...................................................................................... 38 1.6.3. Integration with RDLS and GridTorrent ................................................................ 39 1.6.4. Pilots Implementation ........................................................................................ 40 1.6.5. Portal Installation............................................................................................... 43 1.6.5.1 Prerequisites ................................................................................................. 43 1.6.5.2 Deployment .................................................................................................. 43 1.6.5.3 Configuration ................................................................................................ 43 1.6.5.4 Application Properties .................................................................................... 43 1.6.5.5 APPEA Properties........................................................................................... 44 1.6.5.6 GridTorrent Properties ................................................................................... 44 1.6.5.7 RDLS Integration........................................................................................... 45 1.7. Mobile Client Application ............................................................................................ 45 -3- GREDIA Platform: Installation and Usage Guide 1. Installation and Usage Guide GREDIA platform comprises many diverse components. Each of these components has a different installation process, while many can be used in both integration and stand-alone mode, meaning that a user may choose to install a particular part of the architecture to suite her purposes or the complete system as a whole. Wherever this is possible, we describe how individual components can be used by themselves. As the central goal of GREDIA is to provide a platform