Towards an Agent enabled Gird environment Nguyen Thanh
Towards an Agent enabled Gird environment Nguyen Thanh Thuy, Le Dang Hung, Dao Tran Minh, Nguyen Xuan Vinh, Le Thi Phuong HPCC - HUT 1
Content n n n Globus Toolkit JADE Agent frameworks Integrating JADE Agents into Globus based Grid environment Applications in HPCC-HUT Grid Conclusion and Future work 2
Introduction about GC with Globus Toolkit n n GC: enables the sharing, selection, and aggregation of geographically distributed heterogeneous resources for solving large-scale problems in science, engineering, and commerce. Globus Toolkit (GT): n the leading open source toolkit used today to build Grid environments. 3
Introduction about GC with Globus Toolkit (cont) n GT: n n lets people share computing power, database, and other tools securely online across corporate, industrial, and geographic boundaries without sacrificing local autonomy. includes software services and libraries for resource monitoring, discovery, and management, plus security, file management, data management, communication, and portability. 4
JADE Agents framework n JADE (Java Agent DEvelopment frameworks): n n is a framework fully implemented in Java language simplifies the implementation of multi-agent systems through a middle-ware that complies with FIPA specifications and through a set of graphic tools that supports debugging and deployment phases. 5
Integrating JADE Agents into Globus based Grid environment n n The necessity The main difficulties Related work Our approach 6
The necessity n Resources in Grid environment: n n heterogeneous geographically distributed dynamically changed Agent technologies’ abilities: n n autonomy co-operate reaction migration 7
The main difficulties Globus Toolkit n To build a Grid Service: extends class Grid. Service. Base or use operation providers n A Grid Service lives in Globus Grid Service container JADE framework n To build an Agent: extends class Agent and setup some behaviors n An Agent lives in JADE platform 2 platforms use different standard formats of message 8
The main difficulties (cont) n What is the solution that can ease the communication and interaction between objects living within these two separate environments? 9
Related work n So. FAR project: n considers an Agent as a service by means of using Web service facilities to expose agent features 10
Our approach - HAGS n n n We consider a Grid Service as an Agent and add Agent’s behaviors into the service Hybrid Agent – Grid Service Core idea: writing a Grid Service that extends the Agent class!!! Simple!!! 11
HAGS – Design and Implementation n Preparation The HAGS The Auto Setup Agent Grid Service 12
HAGS - Preparation n Copy six main libraries of JADE (jade. jar, iiop. jar, crimson. jar, http. jar Base 64. jar, jade. Tools. jar) into Globus Toolkit library directory ($GLOBUS_LOCATION/lib) 13
HAGS n n n Extends Agent class Agent Uses operation providers Grid Service Some important methods: n n n initialize(): create a non-main container and connect it to the default main container of JADE platform setup() and takedown(): just setup code as for ordinary agents pre. Destroy(): order the agent to delete itself 14
HAGS - The Auto Setup Agent Grid Service n n n Automatically setup the whole JADE platform along with the grid service container Can recognize when the grid service container is going to be shut down and automatically shut down the agent platform as well is successfully implemented ready-to-use 15
16
17
Applications in HPCC-HUT Grid n n n HPCC-HUT Grid Application: Weka The multi agent system as a grid information service Agent as a resource manager Agent as a resource broker 18
19
Conclusion and Future work n Results: n n n Idea and technical details of completing an HAGS system Successful implementation in BKGrid 2005 Drawbacks: n n The agent communication hasn’t been really controlled yet security problems!!! The overhead caused by the whole agent system to the grid environment 20
Conclusion and Future work (cont) n Future work: n n Solve the drawbacks Experiment the HAGS system in larger Grid environments 21
Thank you very much! 22
public void initialize(Grid. Service. Base base) throws Grid. Service. Exception { this. base = base; Agent. Container ac = null; Runtime rt = Runtime. instance(); // Create a default profile Profile. Impl p = new Profile. Impl(false); try { // Create a new non-main container, connecting to the // default main container (i. e. on this host, port 1099) ac = rt. create. Agent. Container(p); // Create a new agent Agent. Controller t 2 = ac. accept. New. Agent("Broker "+System. current. Time. Millis(), this); // fire-up the agent t 2. start(); } catch (Exception e 2) { e 2. print. Stack. Trace(); } } Back 23
- Slides: 23