User Instructions for the PMGF Data Import, Storage & Collaboration (DISC) Service

Method 1: FileZilla

1.Get the FileZilla client:

2. Setup the Connection:

  • Fill in the “Host” : gridftp01.osc.edu
  • Fill in the “Username” and “Password”: Your OSC account
  • Fill in the “Port” : 22
  • Then click “Quickconnect

Choosing your profile

3. Start the "file transfer":

  • Client screenshot:
    Choosing your profile
  • Left box is your terminal’s directory and right box is your OSC’s home directory
  • Drag files you want to transfer between these two boxes

 

Method 2: Globus Online

1.Create an endpoint for your terminal

  • Sign up at https://www.globusonline.org/
  • Sign in
  • Click “File Transfer
  • Click “Get Globus Connect” at right up corner, then choose your terminal type, follow the steps as following diagram:

Choosing your profile

  • Then the endpoint “Your_username#Endpoint_name” will be created.
  • Start up GO client you downloaded
  • Go to “File Transfer” page, then you will find the endpoint you created, double click your endpoint, then it will be activated.

 

2. Get your certificate from OSC

(This step only needs to do once when you initialize Globus Online service)

    Get certificate from OSC:

    • Log on the OSC HPC system with your OSC account (with ssh client, such as Putty)
    • Run “module load globus-4.0.8
    • Run “grid-cert-request
    • Input PEM pass phrase (new password for PEM, please keep in mind)

p.s. Next some more output is generated and the screen is cleared. Finally it will print a summary of the key it generated with instructions on how to get the key signed.

  • Run the command (the command is already in the output above)

cat /YOUR_HOME_DIRECTORY/.globus/usercert_request.pem | mail grid-cert-request@osc.edu

  • Wait for the mail response. You will receive a file named usercert.pem.

p.s. If the .forward file in your home directory is set up to forward email to your usual mailbox, you will receive the response from the grid certificate request there, otherwise you can use the mail command to check for mail there.

  • Copy usercert.pem you received to YOU_HOME_DIRECTORY/.globus/
  • Run “ln -s /etc/grid-security/certificates ~/.globus/
  • In ~/.globus folder should be similar to the following:

lrwxrwxrwx  1 dacai G-2959   31 Sep 16 10:59 certificates -> /etc/grid-security/certificates
-rw-r--r--  1 dacai G-2959 3378 Sep 16 14:29 usercert.pem
-rw-r--r--  1 dacai G-2959 1241 Sep 15 16:33 usercert_request.pem
-r--------  1 dacai G-2959  963 Sep 15 16:33 userkey.pem

Add an X.509 certificate (Optional):
(If you want to use gsissh to access Globus Online command line interface, please add an X.509 certificate)

  • Sign in at https://www.globusonline.org/
  • Click “My Profile” – “Manage Identities” – “Add X.509 Certificate
  • You will receive a file named “usercert.pem” from grid certificate authority (a human). Open this file with text editor, and then copy and paste the portion of the file between, and including, the lines: —–BEGIN CERTIFICATE—– and —–END CERTIFICATE—–.
  • Click “Add X509 Certificate” to save.

3. Initialize a Myproxy credential:

    • Run “module load globus-4.0.8
    • Run “myproxy-init -s gridftp01.osc.edu”
    • Input PEM pass phrase in Step 2.
    • Then input the Myproxy password you want to use at Globus Online.

p.s. This credential will be valid for 7 days. Within 7 days, you only need to do Step 4, without Step 2 and Step 3. If out of validate time, just do Step 3 then Step 4.

4. Activate OSC gridftp server:

    • Sign in at https://www.globusonline.org/
    • Click “File Transfer
    • You will find an endpoint named “osc#glenn”, double click it
    • Input your OSC account’s username and the Myproxy password in Step 3.
    • Your home directory at OSC will be displayed.

p.s. The MyProxy server issues a credential valid for only 12 hours (default), namely, you will not be requested MyProxy password within 12 hours.

5. Transfer file between two endpoints:

    • Select the file you want to move
    • Click arrow to start transfer

Choosing your profile