So you got a whole bunch of data that's sitting on your hard drive or somewhere else, and you need it on hoffman2. How do you get that gigs and gigs of data onto the cluster? Sorry there's no magical genie that instantly does it for you. You're going to have to slowly transfer it through your network on to Hoffman2. PLEASE NOTE: TRANSFER IS ONLY AS FAST AS YOUR INTERNET CONNECTION!
Here's several ways of pushing that cow up the hill.
Globus Online is a tool that abstracts a lot of complexity from the data transfer process. It is a GUI system that is capable of starting a transfer, having the internet connection broken and re-established, and then continuing and finishing the transfer automatically.
It is the fastest way to transfer data to Hoffman2 because it has a faster connection than other Hoffman2 nodes.
Create a Globus Account
First you need to create a free, Globus account (one-time):
- Point your browser at http://www.globus.org and click Sign Up.
- On the Create an Account page, fill in the information (your name, email address, username, password, etc.) and read the terms, then click Register.
You will receive an email with a link which you need to follow to confirm your new Globus account.
After creating an account, you need to set up endpoints to transfer from/to.
- Hoffman2 Endpoint
Hoffman2 Endpoints are already set up on Globus. Search for and select either Official UCLA Hoffman2 Data Transfer Node 1 or Official UCLA Hoffman2 Data Transfer Node 2 in the endpoint field.
- CASS Endpoint
- Local Desktop Endpoint
If you want to transfer files between your local desktop, you need to download the Globus Desktop Client and set it up on Globus before you can transfer any files. Directions Here.
For more information, see the IDRE instructions here Globus Online
A command line tool for copying files using secure encrypted channels.
scp username@FROM:location username@TO:location
Copy a file from local computer to Hoffman2
scp /path/to/local/file firstname.lastname@example.org:/path/to/destination/for/copy
Copy a file from Hoffman2 to local computer
scp email@example.com:/path/to/file /path/to/destination/for/copy
Copy a directory from local computer to Hoffman2
scp -r /path/to/local/directory firstname.lastname@example.org:/path/to/destination/for/copy
Copy a directory from Hoffman2 to local computer
scp -r email@example.com:/path/to/directory /path/to/destination/for/copy
Log in to the server, then punch in your password when prompted and you'll be logged in.
Pull down a file from the server
get /path/to/server/file /path/to/destination/for/copy
Push a file to the server
put /path/to/local/file /path/to/destination/for/copy/on/server
sftp USERNAME@dtn2.hoffman2.idre.ucla.edu get /server/file /local/file put /local/file /server/file bye
Implied in the name, syncs folder/files between filesystems. It also makes use of secure encrypted channels.
rsync [OPTION] … SRC [SRC] … [USER@]HOST:DEST
We recommend using something like
rsync -av /PATH/TO/SRC/FILES/HERE USERNAME@hoffman2.idre.ucla.edu:~
to upload /PATH/TO/SRC/FILES/HERE from your local machine to your home directory on Hoffman2