Using Globus Command Line Interface
Instructions
Load the Globus CLI tool
module load ccs/conda/globus-cliLog into Globius
globus loginCopy the URL provided. Insert into your web browser and go to the site. Authenticate and copy the authorization code back to the terminal.
3. Run the following command:
globus endpoint search ukyThis will return a list of all endpoints associated with UKY. Find the ID for 'MCC-DTN' (ID: cbd47499-3054-4edf-bacf-5baea8e8be83) or 'LCC-DTN', (ID: c0846116-c521-4387-9d6b-6d22c11f4f66).
Run the following command:
globus login --gcs cbd47499-3054-4edf-bacf-5baea8e8be83 #for MCCAuthorize access to the Globus endpoint. As with step 2, a URL will be provided, and authentication will be performed through a browser.
Run the following command:
globus collection list cbd47499-3054-4edf-bacf-5baea8e8be83List the collections available on the endpoint. To access your files, use 'Morgan Compute Cluster (MCC)' (ID: 3a4f8299-fda4-468c-b827-ab63fb5d98c0) or "Lipscomb Compute Cluster (LCC)" (ID: 0297de3c-363c-467a-9e34-a511daeec6f1).
Run the following command:
globus session consent 'urn:globus:auth:scope:transfer.api.globus.org:all[*https://auth.globus.org/scopes/3a4f8299-fda4-468c-b827-ab63fb5d98c0/data_access]'Authorize access to the collection. (You must change the ID in the URL to reflect the collection you wish to authorize!) As with step 2, a URL will be provided, and authentication will be performed through a browser.
Run the following command:
globus ls 3a4f8299-fda4-468c-b827-ab63fb5d98c0:/home/linkblue_idThis will list all the files available under the directory /home/linkblue_id
Repeat the above steps beginning from Step 3 for Gemini, Seagate, or LCC as needed.
To initiate a transfer from MCC to LCC, run the
globus transfercommand like the example below:
globus transfer 3a4f8299-fda4-468c-b827-ab63fb5d98c0:/home/linkblue_id/test.file 0297de3c-363c-467a-9e34-a511daeec6f1:/home/linkblue_id/test.fileThis will schedule the transfer from /home/linkblue_id/test.file on MCC to /home/linkblue_id/test.file on LCC.