bbcp
March 2, 2018 | Network Linux SecurityIn this post, we document how we installed and configured BBCP on pulpo-dtn.
Installation
For simplicity, We simply downloaded a precompiled bbcp binary executable and placed it in /usr/local/bin
:
We note in passing that although the binary executable was built for 64-bit RHEL 6, it works without issue on RHEL/CentOS 7.
Create account for Jeffrey LeFevre on pulpo-dtn:
Firewall
Append the following 2 lines to /etc/services
:
Open inbound TCP ports 60000 - 60015 from any using FirewallD:
Testing
Similarly install BBCP on on the 4-GPU workstation Hydra.
Transfer a 4GB file from hydra to pulpo-dtn:
NOTE:
1). We must use -F
option, which forces the copy by not checking if there is enough free space on the target host, in order work around a bug in Ceph Luminous; otherwise we’ll get the following error:
2). BBCP doesn’t honor ssh_config. If I place the following stanza in ~/.ssh/config
on hydra:
and attempt a transfer using the following command (pd
instead of jlefevre@pulpo-dtn.ucsc.edu
):
the command will fail:
3). If we use a private SSH key that is not the default ~/.ssh/identity, ~/.ssh/id_dsa, ~/.ssh/id_ecdsa, ~/.ssh/id_ed25519 or ~/.ssh/id_rsaid_rsa, we can use the -i
option to specify the key. For example: