User Tools

Site Tools


cloud:recipe:swift

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cloud:recipe:swift [2019/11/25 08:30] – [Obtain Application Credentials] chudlercloud:recipe:swift [2020/04/28 12:20] (current) – [Obtain Application Credentials] chudler
Line 1: Line 1:
 =====Swift Kickstart with Rclone (demo)===== =====Swift Kickstart with Rclone (demo)=====
  
-**Swift** is in preview mode and should not be used for anything important. The current cluster __will__ be destroyed and data may be removed without notice (([[cloud:status]])) . Additionally, you will need to have a conversation with Techstaff to setup a project scope before you can follow these instructions.+This document is a recipe showing how to use a swift client called [[ https://rclone.org | RClone ]] for a first-time user.\\ 
 + 
 +**Swift** is in preview mode and should not be used for anything important. The current cluster __will__ be destroyed and data may be removed without notice (([[cloud:status]])) . Additionally, you will need to have a conversation with Techstaff to setup a project scope before you can follow these instructions.\\ 
 +\\ 
 +All of the data fed to the cluster should be also saved elsewhere, and you are advised against relying solely on this service at this time.
 ====Obtain Application Credentials==== ====Obtain Application Credentials====
  
Line 7: Line 11:
  
 First, accept the certificate and login to [[https://overcloud.cs.uchicago.edu | The Dashboard]] with your CNetID and password. \\ First, accept the certificate and login to [[https://overcloud.cs.uchicago.edu | The Dashboard]] with your CNetID and password. \\
-**important:** Write ''csldap'' in the ''domain'' field of the login page.+**important:** Write ''CS Account'' in the ''domain'' field of the login page.
  
 == 2 Create Application Credentials == == 2 Create Application Credentials ==
Line 18: Line 22:
 **Credentials Advice:**  **Credentials Advice:** 
   * Make the expiration date memorable such as your birthdate.   * Make the expiration date memorable such as your birthdate.
-  * Leave secret blank and give your application admin privileges (*not* unrestricted).+  * Leave ''Secret'' blank 
 +  * Give your application ''admin'' Role (*not* unrestricted).
   * Read the guide text on the form page   * Read the guide text on the form page
 For example\\ For example\\
 {{cloud:recipe:cloud_creds.png?500}} {{cloud:recipe:cloud_creds.png?500}}
 == 3 Install and Configure rclone == == 3 Install and Configure rclone ==
-[[ https://rclone.org | RClone ]] is a swift client used as an example in this guide. Download and install rclone using the [[ https://rclone.org/install/ | Install Guide ]]. For this example, rclone binary was unpacked to a unprivileged user directory on the path.\\+[[ https://rclone.org | RClone ]] is a swift client used as an example in this guide. Download and install rclone using the [[ https://rclone.org/install/ | Install Guide ]]. For this example, rclone binary was simply untared.\\
  
 Configuration of rclone should be simplified as below Configuration of rclone should be simplified as below
Line 35: Line 40:
 </code> </code>
  
-Save your Application Credentials that you downloaded in the previous step, and include them in your shell's environment before running rclone:+Save your Application Credentials that you downloaded in the previous step, and include them in your shell's environment before running rclone. In the below example, everything that I would like to save is already in a local directory path ''/home/chudler/backup_data'' . The remote location was named ''techstaff'' in the above configuration file. 
 <code> <code>
-source ~/app-cred-swift-backup-test-openrc.sh +source ~/app-cred-swift-backup-openrc.sh 
-./rclone sync /home/chudler/backup_data techstaff:backup_current --backup-dir techstaff:backup_$(date -I)+./rclone --no-check-certificate sync /home/chudler/backup_data techstaff:backup_current --backup-dir techstaff:backup_$(date -I)
 </code> </code>
  
/var/lib/dokuwiki/data/attic/cloud/recipe/swift.1574692205.txt.gz · Last modified: 2019/11/25 08:30 by chudler

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki