Here is a general overview how Bittorrent works in SI:

On your server, there is a Bittorrent Tracker (e.g. bttrack) running which
is started by the systemimager-server-bittorrent init script.

The only function of a Bittorrent tracker is to keep track of all clients
that are downloading a file (in this case an image) or have finished a file
that they can serve. This is how your SI clients know where they can
download their image.

To bootstrap the system, systemimager-server-bittorrent also starts a
bittorrent client (seeder) for every image that needs to be served. This
client reports at startup to the tracker that is has a complete copy of the
image, so that the tracker can forward this information to the clients that
need the images.

The SI clients have a builtin bittorrent client that is run during startup.
This client asks the tracker for sources that have the image needed for this
client. For the first client the server will be the only source. The client
will then start to download the image from the sources it got via the
bittorrent protocol. During download the client regularly reports its own
download status to the tracker and requests information about new sources
that it could download from. The tracker can use the reported download
status from all clients to answer these queries.

It is important to note that every bittorrent client also acts as a server
where others can download files from, this is often referred to as a
peer-to-peer system.

The protocol used by bittorrent is based on HTTP, but still can only be used
with programs that support bittorrent explicitly.

The specific binaries used are bttrack (tracker) and btlaunchmany (seeder)
on the server side. On the client side I'm not sure.

I hope I could help.

Thomas Krause

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
Rigoberto Corujo
Gesendet: Dienstag, 6. Mai 2008 16:01
An: [email protected]
Betreff: [sisuite-users] Help with BitTorrent and SystemImager

Hello everyone,

I am new to this product and was hoping that someone
may be able to assist me with some questions.  My
apologies in advance if this is documented but thus
far I have not been able to find what I'm looking for.

I have a Linux OS image that I've captured from
another machine in the form of a gzipped tar file
which I would like to use to image several other Linux
clients.  I would like to use BitTorrent to do this.  

As I understand it, when the clients PXE boots it
loads a RAMDISK which runs some shell scripts.  In
those shell scripts, how does the client tell the
SystemImager server to bring over the gzipped tar
file?  In other words, what command does the client
run?

Also, once the first client starts receiving the
gzipped tar file, how do the other clients manage to
get their image from the first client?  Does the first
client have to have some bittorrent server running on
it and how do the other clients know to get the image
from the first client?  And, again, what command do
the other clients use to get the image from the first
client who already has partial image?

Thank you.

Rigoberto


 
____________________________________________________________________________
________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao
ne
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to