Brian Duggan > Yars > yars_generate_diskmap

Download:
Yars-0.77.tar.gz

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: Yars-1.00

NAME ^

yars_generate_diskmap -- generate a mapping from servers + hosts to buckets for yars.

SYNOPSIS ^

    yars_generate_diskmap <number of hex digits>
    host1 /disk1
    host1 /disk2
    host2 /disk1
    host2 /disk2

    echo "host1 /disk/1" | yars_generate_diskmap 1

DESCRIPTION ^

Given a list of hosts and disks, distribute 16^n buckets onto the disks.

EXAMPLES ^

clad -a testarch df -kh|grep archive | awk '{print $1 " " $7}' | ./yars_generate_diskmap 2

SEE ALSO ^

Clustericious::Admin

syntax highlighting: