next up previous contents
Next: Default update rules Up: Replicator 2.0.1 for Debian/GNU Previous: Using Replicator   Contents

Subsections


Doing more with Replicator

Modifying the behavior of replicator with the command line

You can also give the arguments on the command line of the different scripts repli-command:

instead of "$var = val" in replicator.conf you can use the option -var val. Example:

repli-bootdisk -bootkernel /path/to/the/boot/kernel

Command-line arguments take precedence over the configuration file replicator.conf.

Keeping 2 computers synchronized

Suppose you change something (e.g. you add a package) onto the computer model. To keep target a real copy of model you can either make the same operation by hand onto the computer target or use the script repli-sync.

Before using repli-sync, you have to check that the file /etc/replicator/reply-sync.conf exists on the target.

It should contains something similar to:

$model="mymodel";
@usr_exclude=qw(/var /local /src);
$noboot=1; #option : do not update /boot
$norcd=1;  #option : do not update /etc/rc?.d
$nousr=0;  #option : do not update /usr

#do not remove the following line..
$the_end=1;


Installing a diskless client

If you want to easily install a diskless client, target, with its filesystem on the computer miniroot-server, follow these instruction:

Boot target with this floppy. That's all!

Installing a client with /usr mounted by NFS

Add the option $usr_is_nfs=1 into replicator.conf and export the directory /usr of model for target.

model being different of miniroot-server

You may want to have a dedicated miniroot-server, for security reason or because you just don't want to install replicator onto your model.

To do so, first install replicator on miniroot-server. Then in /etc/replicator/replicator.conf customize the variable $model.

Then read again this documentation without considering miniroot-server=model.


next up previous contents
Next: Default update rules Up: Replicator 2.0.1 for Debian/GNU Previous: Using Replicator   Contents
root 2001-06-04