From fe27cc931b49ae86ea8ee5cbe78fc2ab9f457043 Mon Sep 17 00:00:00 2001 From: "ndomassi.tando_ird.fr" <ndomassi.tando@ird.fr> Date: Tue, 26 Nov 2024 10:00:30 +0000 Subject: [PATCH] modification bioinfo-master1 par bioinfo-san --- docs/pages/bash/bash-connecting_remote.md | 25 ++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/docs/pages/bash/bash-connecting_remote.md b/docs/pages/bash/bash-connecting_remote.md index f07e9c3..37e3e03 100644 --- a/docs/pages/bash/bash-connecting_remote.md +++ b/docs/pages/bash/bash-connecting_remote.md @@ -4,16 +4,27 @@ For the following exercises, we will use the IRD HPC infrastructure. -The IRD HPC allows the connection to the master node. -`bioinfo-master1.ird.fr` +The IRD HPC allows the connection to the storage node. +`bioinfo-san.ird.fr` We will need to connect first to this server, and then work remotely from it. -!!! question "Connect to the IRD cluster using `ssh` and your `formationX` account" +!!! question "Connect to `bioinfo-san.ird.fr` node using `ssh` and your `formationX` account" + +??? example "Click to show the solution" + `ssh formationX@bioinfo-san.ird.fr` + +Open another terminal session to connect to the master node : `bioinfo-master1.ird.fr` + +!!! question "Connect to `bioinfo-master1.ird.fr` node using `ssh` and your `formationX` account" ??? example "Click to show the solution" `ssh formationX@bioinfo-master1.ird.fr` +!!! question "What are the main differences between the 2 sessions?" + +??? example "Click to show the solution" + `Prompt is different, bioinfo-master1.ird.fr as a welcome message` ## Transfering files using Filezilla @@ -40,22 +51,22 @@ In the FileZilla menu, go to File > Site Manager. Then go through these 5 steps: ## Transfering files (scp) -!!! question "Using `scp`, transfer a file from your computer to the cluster into the home directory of the `formationX` account" +!!! question "Using `scp`, transfer a file from your computer to the cluster into the `/users/formationX` directory of the `formationX` account" ??? example "Click to show the solution" - `scp /home/<userName>/filename formationX@bioinfo-master1.ird.fr:/home/formationX` + `scp -r /users/<userName>/filename formationX@bioinfo-san.ird.fr:/home/formationX` !!! question "Using `scp`, transfer the file `/share/formation/HPC_french.pdf` from the cluster to your computer in your home directory" ??? example "Click to show the solution" - `scp formationX@bioinfo-master1.ird.fr:/share/formation/HPC_french.pdf /home/<userName>` + `scp -r formationX@bioinfo-san.ird.fr:/share/formation/HPC_french.pdf /users/<userName>` ## Retrieving data from a remote server (wget) From the IRD HPC cluster, we will get new datasets for the following exercises. For doing that, we can use the `wget` command to automatically download a zipped file (containing these new datasets) available from a URL. -!!! question "Using `wget` command, download the new datasets available at this address: `http://itrop.ird.fr/LINUX-TP/LINUX-TP.tar.gz`" +!!! question "Using `wget` command, download the new datasets available at this address: `http://itrop.ird.fr/LINUX-TP/LINUX-TP.tar.gz` in your `/users/formationX/folder`" ??? example "Click to show the solution" `wget http://itrop.ird.fr/LINUX-TP/LINUX-TP.tar.gz` -- GitLab