|
|
|
|||||||||||
P2PKit/P2PS: Memoires 2005/2006 |
|||||||||||||
| Name: | login | topic |
|---|---|---|
| Julien Lociuro | julien.lociuro | Service Management for P2PKit |
| Thibaut Lenfant | t.lenfant | Transactions for P2PKit |
| Benoit De Remont | benoit.deremont | Transactions for P2PKit |
| Anh Tuan Tang Mac | anh.tangmac | Reliable broadcast/key-based routing |
| Guy Henrard | guy.henrard | Reliable broadcast/key-based routing |
| Alain Damiral | alain.damiral | Secure Communications in P2PKit |
| Damien Leroy (Intro to Research) | damien.leroy | Groups and Replicated Data Storage |
Here are some quick instructions for installing the required software and getting a network of P2PKit peers up and running.
On all machines which will run either a P2PKit peer or a P2PKit client you must install my utility package of goodies from here.
On the machines where you will run peers you must install the P2PS library and the P2PKit Peer library. There are two versions of the P2PS library, one without debugging and one with lots of debugging. The P2PKit Peer library is here.
On the machines where you will run P2PKit clients you must install the P2PKitClient library.
ozengine OzStore.ozf -t <path to OzStore ticket file>Peers and clients will need to be able to load the OzStore ticket file in order to exchange information with the OzStore server, therefore it is useful to put the ticket file in a directory where it can be accessed via an url. For example, I usually run
ozengine OzStore.ozf -t ~/public_html/OzStoreTicketNow peers and clients can talk to OzStore via url
http://www.info.ucl.ac.be/~glynn/OzStoreTicket.
There are other options to ozmake, see the help information:
@s-ensor:memoire 4Q> ozengine OzStore.ozf --help
Usage: OzStore.ozf [option]
Options:
-v <level>, --verbose <level> Verbosity level
-i, --init Create Empty Database
-t <ticketfile>, --ticket <ticketfile> Ticket File (default: /usr/staff/glynn/public_html/OzStoreTicket)
-n <dbname>, --dbname <dbname> Database Name (default: /usr/staff/glynn/.ozstore.db)
-a <ip address>, --ipaddr <ip address> Force this address in tickets (default: ask system)
-p <port nr>, --port <port nr> Force listen on this port (default: system picks)
-h, --help This help
@s-ensor:memoire 4Q>
ozengine Node.ozf -m --network blabla --ozstoreticket=http://www.info.ucl.ac.be/~glynn/OzStoreTicketwhere
blabla is a unique name for your network. Then you can
start as many other nodes as (and whenever) you like by
ozengine Node.ozf --network blabla --ozstoreticket=http://www.info.ucl.ac.be/~glynn/OzStoreTicket(i.e., without the
-m
argument). All the nodes started with the same network name will find
each other via OzStore. You can also start with tracing by adding the -v
<tracelevel> argument to your calls. Currently
-v10 will get all possible tracing. Nodes can be started
on different machines.
There is help for Node.ozf too:
@s-ensor:memoire 4Q> ozengine Node.ozf --help
Usage: Node.ozf [option]
Options:
-m, --master Create New Network (default: false)
-p <n>, --peers <n> Start <n> virtual peers (default: 1)
--ozstoreticket <ticketfile> ozstore ticket file (default: http://www.info.ucl.ac.be/~glynn/OzStoreTicket)
-n <network>, --network <network> Create/join <network>
-v <level>, --verbose <level> Verbosity level
-h, --help This help
@s-ensor:memoire 4Q>
The Control GUI is a useful and fun application that visualises your network, showing the network's topology and various statiustics about the peers.
To run the ControlGUI call
ozengine ControlGUI.ozf --network=blabla --ozstoreticket=http://www.info.ucl.ac.be/~glynn/OzStoreTicket
For more help:
@s-ensor:memoire 4Q> ozengine ControlGUI.ozf --help
Usage: ControlGUI.ozf [option]
Options:
-n <network>, --network <network> Connect to <network>
-w <earth img>, --world <earth img> World view (PlanetLab only)
-t <ticket>, --ticket <ticket> Force Connection to this client ticket
--ozstoreticket <ticketfile> ozstore ticket file (default: http://www.info.ucl.ac.be/~glynn/OzStoreTicket)
-v <level>, --verbose <level> Verbosity level
-h, --help This help
@s-ensor:memoire 4Q>
Finally, PActive.oz is a little application that prints all the peers that have registered with the OzStore:
ozengine PActive.ozf --network=blabla --ozstoreticket=http://www.info.ucl.ac.be/~glynn/OzStoreTicket
For P2PS:
cvs -d<username>@ssh2.info.ucl.ac.be:/ingi/tools/cvs co s_chordFor P2PKit packages (P2PKitPeer, and P2PKitClient, and Util):
cvs -d<username>@ssh2.info.ucl.ac.be:/ingi/tools/cvs co mogulFor P2PKit Software and Documentation (web page, P2PKit applications, sample services):
cvs -d<username>@ssh2.info.ucl.ac.be:/ingi/tools/cvs co p2pkit
Kevin Glynn (kevin.glynn@gmail.com)
[1] PEPITO is a project funded by the EU IST FET proactive initiative on Global Computing