[root@octopus ~]# mv /var/stasher/newnodes/octopus /var/stasher/nodes/objrepo.example.com
[root@octopus ~]# ls -al /var/stasher/nodes
total 12
drwxr-xr-x 3 root root 4096 Mar 17 16:14 .
drwxr-xr-x 5 root root 4096 Mar 17 16:10 ..
drwxr-xr-x 4 daemon daemon 4096 Mar 17 16:13 objrepo.example.com
The default location for new node directories created by
stashermg in the default stasher package for Fedora is
/var/stasher/newnodes
.
The startup script in the stock stasher package, though, starts nodes from
/var/stasher/nodes
.
This allows a single machine to server as both in the cluster management
function, creating new node directories, and running one of the nodes
too. The machine's node directory lives in
/var/stasher/nodes
, which remains unaffected by
stashermg's activities.
The startup script in the stock stasher package
for Fedora starts a server in each
subdirectory in /var/stasher/nodes
. The same
machine can run nodes belonging to different object repository clusters.
The names of subdirectories in /var/stasher/nodes
do not need to match the node's or the cluster's name
(the --name
parameter to stashermg).
Setting up a new node on another machine consists of copying the entire new directory to another machine, taking care to preserve its ownership and the correct permissions of its contents. “scp -p -r” will work.