MASIPE How does it work? Mobile Agent Systems Integration into Parallel Environments.

9
MASIPE MASIPE How does it work? How does it work? Mobile Agent Systems Integration into Parallel Environments

Transcript of MASIPE How does it work? Mobile Agent Systems Integration into Parallel Environments.

MASIPEMASIPE

How does it work?How does it work?

Mobile Agent Systems Integration into Parallel Environments

Running processesRunning processesParallel environment

CORBA naming service

Registry service

Agent system 0

Agent system 1

Agent system N-1

Control unit

Agent system N

StoppedRunning

user@c400:~/mpi-program$ ./execute

Running /home/user/mpi-program/execute on 7 LINUX ch_p4 processorsc400c401c402403c404c405c406…

user@c300:~/masipe/bin/register$ ./register.sh

[Thu Feb 22 09:23:33 CET 2007][Register][main][Running 'Register' service in 'Mobile agents systems integration into parallel environments' system ...][Thu Feb 22 09:23:34 CET 2007][Register][main][Initing ORB ...][Thu Feb 22 09:23:34 CET 2007][Register][main][Getting RootPOA reference ...][Thu Feb 22 09:23:34 CET 2007][Register][main][Creating a servant ...][Thu Feb 22 09:23:34 CET 2007][Register][main][Activating object ...][Thu Feb 22 09:23:34 CET 2007][Register][main][Getting servant object reference ...][Thu Feb 22 09:23:34 CET 2007][Register][main][Getting naming context reference ...][Thu Feb 22 09:23:34 CET 2007][Register][main][Binding remote object into naming context ...][Thu Feb 22 09:23:34 CET 2007][Register][main][Activating POA Manager ...][Thu Feb 22 09:23:34 CET 2007][Register][main][Waiting for request ...] [Thu Feb 22 09:23:34 CET 2007][Register][main][Running ORB ...]

user@c200:~/masipe/bin/naming-service$ ./naming-service.sh

[naming-service.sh][tnameserv][Running 'Corba naming' service in 'Mobile agent system integration into parallel environment' system ...]Initial Naming Context:IOR:000000000000002b49444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578744578743a312e300000000000010000000000000096000102000000000a3132372e302e302e3100232800000045afabcb00000000202cd8bcef00000001000000000000000200000008526f6f74504f41000000000d544e616d65536572766963650000000000000008000000010000000114000000000000020000000100000020000000000001000100000002050100010001002000010109000000010001010000000026000000020002TransientNameServer: setting port for initial object references to: 9000Ready.

user@c500:~/masipe/bin/control-unit$ ./control-unit.sh

[Thu Feb 22 09:23:36 CET 2007][ControlUnit][ControlUnit][Running 'Control Unit' service in 'Mobile agents systems integration into parallel environments' system ...][Thu Feb 22 09:23:36 CET 2007][MafFinderClient][MafFinderClient][Initing ORB ...][Thu Feb 22 09:23:36 CET 2007][MafFinderClient][MafFinderClient][Getting Root POA reference ...][Thu Feb 22 09:23:37 CET 2007][MafFinderClient][MafFinderClient][Getting MAFFinder reference ...][Thu Feb 22 09:23:37 CET 2007][ControlUnit][ControlUnit][Creating MAFFinder client ...][Thu Feb 22 09:23:37 CET 2007][ControlUnitServer][init][Initing ORB ...][Thu Feb 22 09:23:37 CET 2007][ControlUnitServer][init][Getting RootPOA reference ...][Thu Feb 22 09:23:37 CET 2007][ControlUnitServer][init][Creating a servant ...][Thu Feb 22 09:23:37 CET 2007][ControlUnitServer][init][Activating object ...][Thu Feb 22 09:23:37 CET 2007][ControlUnitServer][init][Getting servant object reference ...][Thu Feb 22 09:23:37 CET 2007][ControlUnitServer][init][Getting naming context reference ...][Thu Feb 22 09:23:37 CET 2007][ControlUnitServer][init][Binding remote object into naming context ...][Thu Feb 22 09:23:37 CET 2007][ControlUnitServer][init][Activating POA Manager ...][Thu Feb 22 09:23:37 CET 2007][ControlUnitServer][init][Waiting for request ...][Thu Feb 22 09:23:37 CET 2007][ControlUnit][ControlUnit][Creating MAFAgentSystem server ...][Thu Feb 22 09:23:37 CET 2007][ControlUnitServer][run][Running ORB ...][Thu Feb 22 09:23:37 CET 2007][ControlUnit][ControlUnit][Registering MAFAgentSystem server into Register service ...][Thu Feb 22 09:23:40 CET 2007][FrameFactory][createFrames][Creating frames ...]

Running agent systemsRunning agent systemsParallel environment

CORBA naming service

Registry service

Agent system 0

Agent system 1

Agent system N-1

Control unit

Agent system N

Running

Agent systems request the location of the

registry service to the CORBA naming service

Agent systems register in the registry service

Running a mobile agentRunning a mobile agentParallel environment

CORBA naming service

Registry service

Agent system 0

Agent system 1

Agent system N-1

Control unit

Agent system N

Running

The control unit requests the location of the first agent system in

the path

The control unit sends the mobile agent to the

first node in the path

Agent system 0 registers the mobile agent in the registry

service

The mobile agent executes a set of

operations in the node

Agent system 0 unregisters the mobile agent in the registry

service

Visiting nodesVisiting nodesParallel environment

CORBA naming service

Registry service

Agent system 0

Agent system 1

Agent system N-1

Control unit

Agent system N

Running

Agent system 0 requests the location of the agent system 1 in

the path

Agent system 0 sends the mobile agent to

agent system 1 in the path

Agent system 1 registers the mobile agent in the registry

service

The mobile agent executes a set of

operations in the node

Agent system 1 unregisters the mobile agent in the registry

service

Visiting nodes IIVisiting nodes IIParallel environment

CORBA naming service

Registry service

Agent system 0

Agent system 1

Agent system N-1

Control unit

Agent system N

Running

Agent system 1 requests the location of agent system N-1 in the

path

Agent system 1 sends the mobile agent to

agent system N-1 in the path

Agent system N-1 registers the mobile agent in the registry

service

The mobile agent executes a set of

operations in the node

Agent system N-1 unregisters the mobile agent in the registry

service

Returning homeReturning homeParallel environment

CORBA naming service

Registry service

Agent system 0

Agent system 1

Agent system N-1

Control unit

Agent system N

Running

Agent system N-1 requests the location of the agent system N in

the path

Agent system N-1 sends the mobile agent to

agent system N in the path

Getting resultsGetting resultsParallel environment

CORBA naming service

Registry service

Agent system 0

Agent system 1

Agent system N-1

Control unit

Agent system N

Running

MASIPE 2007