Using Rclone


/archive-2022-2023/Node%20anatomy

Rclone is a free utility for syncing directories between object storage systems (such as Amazon S3, Dropbox, Google Drive etc) and file based storage (e.g. home or scratch))

https://rclone.org


Rclone in MANA

Rclone is installed on the Mana Data Transfer Nodes and can be used in the command line via

Configuring Rclone

Before you can use Rclone, you must configure it This configuration step will set up access for the remote object storage system that you want to transfer data to and from In this tutorial we will configure Google Drive since UH has Google for Education and everyone at UH has it

Open a Shell Session on MANA

1.) Start a shell session on MANA through your own terminal or you can use Open OnDemand via https://mana.its.hawaii.edu

Clusters -> >_Mana_Shell_Access

From your terminal/shell ssh to one of the Mana DTNs

*You may be prompted for your password depending on where you are SSHing from and you WILL be prompted for DUO two-factor verification.

Two Factor Authentication

Example

/archive-2022-2023/Node%20anatomy

Two Factor Authentication for Duo Push

Two Factor Authentication for Phone Call

Two Factor Authentication for SMS

/archive-2022-2023/Node%20anatomy

Configuring Rclone

/archive-2022-2023/Node%20anatomy

No remotes found - make a new one

n) New remote

s) Set configuration password

q) Quit config


Choose a name for the remote object storage system

/archive-2022-2023/Node%20anatomy

You’ll be prompted for the name of the remote object storage system\, we use “rclone-gdrive” in this tutorial


Choosing a Storage Option

/archive-2022-2023/Node%20anatomy

Google Application Client Id

/archive-2022-2023/Node%20anatomy

*Setting your own is recommended, see https://rclone.org/drive/#making-your-own-client-id for how to create your own.

Client Secret

OAuth Client Secret

Scope

/archive-2022-2023/Node%20anatomy
/archive-2022-2023/Node%20anatomy

Leave ID of the root folder blank normally

/archive-2022-2023/Node%20anatomy

Auto Configuration

/archive-2022-2023/Node%20anatomy

You should receive a verifiable link after configuration is complete

/archive-2022-2023/Node%20anatomy

Google Validation

/archive-2022-2023/Node%20anatomy

Copy Validation Code and Enter in MANA

/archive-2022-2023/Node%20anatomy

Configuring of Google Drive

/archive-2022-2023/Node%20anatomy

-Do not configure as a team drive

/archive-2022-2023/Node%20anatomy