<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>HPCC – Data Transfer</title><link>https://hpcc.ucr.edu/manuals/hpc_cluster/data/</link><description>Recent content in Data Transfer on HPCC</description><generator>Hugo -- gohugo.io</generator><atom:link href="https://hpcc.ucr.edu/manuals/hpc_cluster/data/index.xml" rel="self" type="application/rss+xml"/><item><title>Manuals: Globus Connect Personal</title><link>https://hpcc.ucr.edu/manuals/hpc_cluster/data/globus/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hpcc.ucr.edu/manuals/hpc_cluster/data/globus/</guid><description>
&lt;h2 id="overview">Overview&lt;/h2>
&lt;p>&lt;a href="https://www.globus.org/">Globus&lt;/a> is a file sharing and transfer service used by many research facilities worldwide. It aides collaboration by
simplifying the process of securely sharing research data.&lt;/p>
&lt;p>File transfers are accomplished by running the Globus client (Globus Connect Personal, GCP) on the HPCC cluster,
and using a web browser on another computer to initiate the transactions.&lt;/p>
&lt;p>&lt;strong>Note:&lt;/strong> Transfers between two sites (endpoints) require at least one endpoint to have a paid Globus subscripion. To inquire about subscriptions,
visit the &lt;a href="https://www.globus.org/subscriptions/non-profit-subscription-inquiry?subscription_type=starter">Globus Subscription Inquiry&lt;/a> page.&lt;/p>
&lt;h2 id="setup">Setup&lt;/h2>
&lt;p>This page explains how to setup the GCP client on the HPCC cluster. For setting up GCP on your personal computer,
please follow the official documentation:&lt;/p>
&lt;p>&lt;a href="https://docs.globus.org/globus-connect-personal/">https://docs.globus.org/globus-connect-personal/&lt;/a>&lt;/p>
&lt;h3 id="load-the-gcp-module">Load the GCP module&lt;/h3>
&lt;p>HPCC provides a module with the GCP software. Load it with the following command:&lt;/p>
&lt;pre>&lt;code class="language-bash">module load globusconnect
&lt;/code>&lt;/pre>
&lt;h3 id="create-a-new-personal-hpcc-endpoint">Create a new personal HPCC endpoint&lt;/h3>
&lt;p>In order to create an endpoint on the HPCC cluster, you&amp;rsquo;ll need to log into Globus. Because of UCR&amp;rsquo;s Duo two-factor
authentication system, the login process will need to be done in a web browser. You should use the web browser on
your local device rather than launching a browser on the cluster. (External users: depending on your home institution&amp;rsquo;s
login system, you may be able to log into Globus directly on the cluster. The following steps should still work with a
few modifications).&lt;/p>
&lt;p>Start the login process with the following command:&lt;/p>
&lt;pre>&lt;code class="language-bash">globusconnect -setup # add `--no-gui` to use command-line only
&lt;/code>&lt;/pre>
&lt;p>You will be given a long URL to open in your browser, followed by a prompt for an auth code:&lt;/p>
&lt;pre>&lt;code>Globus Connect Personal needs you to log in to continue the setup process.
We will display a login URL. Copy it into any browser and log in to get a
single-use code. Return to this command with the code to continue setup.
Login here:
-----
https://auth.globus.org/v2/oauth2/authorize?client_id=...
-----
Enter the auth code:
&lt;/code>&lt;/pre>
&lt;p>Copy-paste the URL into your browser. Select the appropriate organization name:&lt;/p>
&lt;p>&lt;img src="../../../img/globus_org.png" alt="globus_org">&lt;/p>
&lt;p>Complete the UCR login and Duo process:&lt;/p>
&lt;p>&lt;img src="../../../img/globus_ucr_login.png" alt="globus_ucr_login">&lt;/p>
&lt;p>&lt;img src="../../../img/globus_duo.png" alt="globus_duo">&lt;/p>
&lt;p>Review the requested permissions, and the Globus Terms of Service. You&amp;rsquo;ll need to accept them to use the service. Edit
the &amp;ldquo;label for future reference&amp;rdquo; if you&amp;rsquo;d like.&lt;/p>
&lt;p>&lt;img src="../../../img/globus_tos.png" alt="globus_tos">&lt;/p>
&lt;p>You&amp;rsquo;ll be given the auth code. Copy-paste the code back into the prompt on the cluster terminal:&lt;/p>
&lt;p>&lt;img src="../../../img/globus_code.png" alt="globus_code">&lt;/p>
&lt;pre>&lt;code>Enter the auth code: SFyA**************************
&lt;/code>&lt;/pre>
&lt;p>Finally, give the endpoint a name, such as &amp;ldquo;ucr-hpcc&amp;rdquo;:&lt;/p>
&lt;pre>&lt;code>== starting endpoint setup
Input a value for the Endpoint Name: ucr-hpcc
registered new endpoint, id: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
setup completed successfully
&lt;/code>&lt;/pre>
&lt;p>At this point, Globus will now recognize your HPCC cluster storage as an endpoint. You may now launch the GCP client
without having to tediously log in.&lt;/p>
&lt;h3 id="running-the-gcp-client">Running the GCP client&lt;/h3>
&lt;p>The GCP client must be running on the endpoint in order to send or receive files there. It is recommended to run the
client in the background (the ampersand at the end creates a background process):&lt;/p>
&lt;p>In order for bigdata folders to appear in the Globus interface, you must use the &amp;ldquo;-restrict-paths&amp;rdquo; argument when running Globus
to allow it access to other folders. If you omit this, then only your home directory will be available.&lt;/p>
&lt;pre>&lt;code class="language-bash">globusconnect -start -restrict-paths rw/rhome,rw/bigdata &amp;amp;
&lt;/code>&lt;/pre>
&lt;h3 id="locating-your-new-endpoint-in-the-globus-web-app">Locating your new endpoint in the Globus Web App&lt;/h3>
&lt;p>Login to Globus in your web browser. Open the &amp;ldquo;File Manager&amp;rdquo;.&lt;/p>
&lt;p>Click on &amp;ldquo;Search&amp;rdquo; in the &amp;ldquo;Collection&amp;rdquo; text box.&lt;/p>
&lt;p>&lt;img src="../../../img/globus_filemgr.png" alt="globus_filemgr">&lt;/p>
&lt;p>Click on &amp;ldquo;Your Collections&amp;rdquo;. Your personal endpoint should be listed here.&lt;/p>
&lt;p>&lt;img src="../../../img/globus_collections.png" alt="globus_collections">&lt;/p>
&lt;h3 id="stopping-the-gcp-client">Stopping the GCP client&lt;/h3>
&lt;p>When you are done with your Globus session, you should stop the client:&lt;/p>
&lt;pre>&lt;code class="language-bash">globusconnect -stop
&lt;/code>&lt;/pre></description></item></channel></rss>