| SystemImager® v4.3.0 Manual | ||
|---|---|---|
| <<< Previous | HOWTO Use BitTorrent for peer-to-peer Installs | Next >>> |
Open the file /etc/systemimager/bittorrent.conf to validate the configuration; in particular check the following parameters:
BT_INTERFACE=ethi must be the correct interface to reach the client nodes,
BT_IMAGES=image1,image2,...,imageN must contain a comma separated list of the images to be distributed via BitTorrent,
BT_OVERRIDES=override1,override2,...,overrideM must contain a comma separated list of the overrides to be distributed via BitTorrent (you can always decide to distribute an image by BitTorrent and an override by rsync or vice-versa),
BT_UPDATE=y|n set to y to force the synchronization of the BitTorrent data with the images and overrides content every time the daemon on the image server is restart,
BT_COMPRESS=y|n set to y to compress the images and overrides (with gzip) before the deployment (use this option only if your image server is a powerful machine, in particular with a quite recent CPU).
Following there is a typical configuration to deploy 2 images (suse10 and suse10_frontend) with their overrides:
#
# "SystemImager"
#
# Copyright (C) 2006 Andrea Righi <a.righi@cineca.it>
#
# $Id: bittorrent.conf 3533 2006-04-24 20:25:59Z bli $
#
# The bittorrent tracker port.
BT_TRACKER_PORT=6969
# Tracker state file.
BT_TRACKER_STATE=/tmp/dstate
# Tracker log file.
BT_TRACKER_LOG=/var/log/systemimager/bittorrent-tracker.log
# Interface used to seed files with bittorrent.
BT_INTERFACE=eth0
# Set to yes if you want to compress the images before distributing
# them via BitTorrent. Set to 'n' if the image server has an old CPU or
# is not powerful in computations.
#
# Allowed values: y|n
BT_COMPRESS=y
# Set to yes if you want to always synchronize the BitTorrent images
# with the chrootable images on /var/lib/systemimager/images when the
# SystemImager BitTorrent daemon starts.
#
# Allowed values: y|n
BT_UPDATE=n
# Comma separated list of images to distribute with BitTorrent
# (ex. BT_IMAGES=RHEL4_base,suse10,frontend,backend...)
# IMPORTANT: no spaces between images!!!
BT_IMAGES=suse10,suse10_frontend
# Comma separated list of overrides to distribute with BitTorrent
# (ex. BT_OVERRIDES=RHEL4_base,suse10,frontend,backend...)
# IMPORTANT: no spaces between overrides!!!
BT_OVERRIDES=suse10,suse10_frontend
|
| <<< Previous | Home | Next >>> |
| HOWTO Use BitTorrent for peer-to-peer Installs | Up | Configure the clients to use the BitTorrent transport. |