yars_generate_diskmap -- generate a mapping from servers + hosts to buckets for yars.
yars_generate_diskmap <number of hex digits> host1 /disk1 host1 /disk2 host2 /disk1 host2 /disk2 echo "host1 /disk/1" | yars_generate_diskmap 1
Given a list of hosts and disks, distribute 16^n buckets onto the disks.
clad -a testarch df -kh|grep archive | awk '{print $1 " " $7}' | ./yars_generate_diskmap 2
Clustericious::Admin
To install Yars, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Yars
CPAN shell
perl -MCPAN -e shell install Yars
For more information on module installation, please visit the detailed CPAN module installation guide.