The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

VERSION

version 0.83_07

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

AUTHOR

Graham Ollis <plicease@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by NASA GSFC.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.