Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update user guide #2130

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
2f53652
:memo: Simplify shortcut name
jemrobinson Aug 9, 2024
f375ca2
:wrench: Change backticks to colons
jemrobinson Aug 9, 2024
3cc66ce
:memo: Simplify introduction
jemrobinson Aug 9, 2024
62605cc
:memo: Simplify definitions
jemrobinson Aug 9, 2024
2a7b592
:memo: Simplify prerequisites
jemrobinson Aug 9, 2024
2f665de
:truck: Use example.org domain throughout
jemrobinson Aug 9, 2024
7f757ce
:memo: Simplify username/password section
jemrobinson Aug 9, 2024
21d2385
:coffin: Drop references to DSGs
jemrobinson Aug 9, 2024
a932fd0
:memo: Fix indentation
jemrobinson Aug 9, 2024
95d2c14
:memo: Update MFA setup section
jemrobinson Aug 9, 2024
5bb58fb
:memo: Update log in section
jemrobinson Aug 9, 2024
1ec1b01
:memo: Update workspaces section
jemrobinson Aug 9, 2024
437288f
:memo: Update workspace login section
jemrobinson Aug 9, 2024
4fd15af
:memo: Updated pre-installed applications section
jemrobinson Aug 9, 2024
a500cb6
:memo: Update keyboard and applications section
jemrobinson Aug 9, 2024
e4f8c9b
:memo: Update Python/R section
jemrobinson Aug 12, 2024
dffac23
:memo: Update the ingress/egress section
jemrobinson Aug 12, 2024
097e5c4
:memo: Update Gitea section
jemrobinson Aug 12, 2024
f233abb
:memo: Update HedgeDoc section
jemrobinson Aug 12, 2024
3994466
:memo: Update access workspaces
jemrobinson Aug 12, 2024
0351084
:memo: Update DBeaver databases section
jemrobinson Aug 13, 2024
c349aaf
:memo: Update connecting to databases with Python/R
jemrobinson Aug 13, 2024
b66e3db
:bug: Fix bash codeblocks
jemrobinson Aug 13, 2024
2d547f3
:coffin: Remove unused images
jemrobinson Aug 13, 2024
c5acb1d
:truck: Separate out new_user_setup into a dedicated guide
jemrobinson Aug 13, 2024
d3b19ea
:memo: Separate out accessing and using sections
jemrobinson Aug 13, 2024
6694a6c
:sparkles: Add new troubleshooting section
jemrobinson Aug 13, 2024
8841473
:memo: Update the troubleshooting page
jemrobinson Aug 14, 2024
57622f3
:truck: Rename images folder
jemrobinson Aug 14, 2024
2664321
:recycle: Refactor Gitea and Git sections. Fix some broken dropdowns
jemrobinson Aug 14, 2024
d5ff32b
:truck: Convert dropdowns to footnotes
jemrobinson Aug 14, 2024
948687d
:rotating_light: Fix linting
jemrobinson Aug 14, 2024
5bad3bd
:memo: Replace Sherlock Holmes examples
jemrobinson Aug 14, 2024
dd2c23b
:wrench: Ignore example.org links
jemrobinson Aug 14, 2024
5b9a216
:rotating_light: Fix CI errors
jemrobinson Aug 14, 2024
425a94f
:memo: Add tip about workspace switching
jemrobinson Aug 14, 2024
16ac589
:coffin: Remove commented-out references to /backup and /scratch
jemrobinson Aug 14, 2024
5ddb378
:memo: Rephrase statements about project end
jemrobinson Aug 14, 2024
b772c7a
:truck: Drop command line and git details in favour of links. Move bo…
jemrobinson Aug 14, 2024
657140e
:memo: Add link to Gitea project boards
jemrobinson Aug 14, 2024
18727f7
Fix Guacamole menu command
JimMadge Aug 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .lychee.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ glob_ignore_case = false
exclude = [
'doi\.org', # 403
'entra.microsoft\.com', # Requires authentication (403)
'example\.org', # domain used for examples only
'github\.com', # Requires authentication (403)
'hedgedoc\.org', # 403
'ipaddressguide\.com', # 403
'opensource\.org', # 403
'portal\.azure\.com', # 403
Expand Down
2 changes: 1 addition & 1 deletion docs/source/deployment/deploy_shm.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Before deploying the Safe Haven Management (SHM) infrastructure you need to deci
: Domain name that your TRE users will belong to.

:::{hint}
Use a domain that you own! If you use _e.g._ `bakerst.london` here your users will be given usernames like `sherlock.holmes@bakerst.london`
Use a domain that you own! If you use _e.g._ `example.org` here your users will be given usernames like `ada.lovelace@example.org`
:::

**location**
Expand Down
12 changes: 6 additions & 6 deletions docs/source/management/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ You will need a full name, phone number, email address and country for each user

:::{code} text
GivenName;Surname;Phone;Email;CountryCode
Sherlock;Holmes;+44800456456;sherlock@holmes.me;GB
John;Watson;+18005550100;john.watson@nhs.uk;GB
Ada;Lovelace;+44800456456;ada@lovelace.me;GB
Grace;Hopper;+18005550100;grace@nasa.gov;US
:::
::::

Expand Down Expand Up @@ -47,10 +47,10 @@ $ dsh users add PATH_TO_MY_CSV_FILE
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━┓
┃ username ┃ Entra ID ┃ SRE YOUR_SRE_NAME ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━┩
│ ada.lovelace │ x │
│ grace.hopper │ x │
sherlock.holmes │ x │ x
john.watson │ x │ x
│ ada.lovelace │ x │ x
│ grace.hopper │ x │ x
ursula.franklin │ x │
joan.clarke │ x │
└──────────────────────────────┴──────────┴───────────────────┘
```

Expand Down
2 changes: 1 addition & 1 deletion docs/source/roles/investigator/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ The **Investigator** must be able and willing to accept responsibility for the c
[Data egress](data_egress.md)
: What an **Investigator** needs to know about bringing data or software out of the environment.

{ref}`User guide <role_researcher_user_guide_guacamole>`
{ref}`Researcher guide <role_researcher>`
: Step-by-step instructions for using an existing Safe Haven.
179 changes: 179 additions & 0 deletions docs/source/roles/researcher/accessing_the_sre.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,179 @@
(roles_researcher_access_sre)=

# Accessing the Secure Research Environment

## {{seedling}} Prerequisites

After going through the account setup procedure, you should have access to:

- Your **username**
- Your **password**
- The {ref}`SRE URL <roles_researcher_sre_url>`
- {ref}`Multifactor authentication <roles_researcher_password_and_mfa>`

:::{tip}
If you aren't sure about any of these then please return to the **{ref}`Set up your account <roles_researcher_setup_your_account>`** section.
:::

## {{unlock}} Log into the research environment

::::{admonition} 1. Browse to the SRE URL
:class: dropdown note

- Open a **private/incognito** browser session, so that you don't pick up any existing Microsoft logins

- Go to the {ref}`SRE URL <roles_researcher_sre_url>` given by your {ref}`System Manager <role_system_manager>`.

:::{note}
Our example user, Ada Lovelace, participating in the **sandbox** project, would navigate to **https://sandbox.projects.example.org**.
:::

::::

::::{admonition} 2. Enter your username and password at the prompt
:class: dropdown note

- At the login prompt enter your **{ref}`long-form username <roles_researcher_username>`** and click on the **{guilabel}`Next`** button

:::{image} images/guacamole_oauth_login.png
:alt: Research environment log in
:align: center
:width: 90%
::::

::::{tip}
Our example user, Ada Lovelace, would use **ada.lovelace@projects.example.org** here.
:::

- Enter your password at the prompt and click on the **{guilabel}`Next`** button

::::

::::{admonition} 3. Login with MFA
:class: dropdown note

- You will now **receive a call or mobile app notification** to authenticate using multifactor authentication (MFA).

:::{image} images/guacamole_mfa.png
:alt: MFA trigger
:align: center
:width: 90%
:::

{{telephone_receiver}} For the call, you may have to move to an area with good reception and/or press the hash (**#**) key multiple times in-call.

{{iphone}} For the app you will see a notification saying **"You have received a sign in verification request"**. Go to the app to approve the request.

:::{caution}
If you don't respond to the MFA request quickly enough, or if it fails, you may get an error. If this happens, please retry
:::

::::

You should now be able to see the SRE dashboard screen which will look like the following

:::{image} images/guacamole_dashboard.png
:alt: Research environment dashboard
:align: center
:width: 90%
:::

## {{house}} Log into a workspace

On the SRE dashboard, you should see multiple different workspaces that you can access either via an interactive desktop environment (**Desktop**) or a terminal environment (**SSH**).

:::{important}
If you do not see any available workspaces please contact your {ref}`System Manager <role_system_manager>`.
:::

Each of these is a computer[^footnote-vm] with a wide variety of data analysis applications and programming languages pre-installed.
You can use them to analyse the sensitive data belonging to your project while remaining isolated from the wider internet.

[^footnote-vm]: Actually a virtual machine

::::{admonition} 1. Select a workspace
:class: dropdown note

- Click on one of the **Desktop** connections from the list in **All Connections**

:::{note}
Each workspace should have an annotation which indicates its available resources:
- CPUs
- GPUs
- RAM
:::

:::{caution}
These workspaces are shared between everyone on your project. Talk to your collaborators to ensure that you're not all using the same one.
:::

::::

:::::{admonition} 2. Login with your user credentials
:class: dropdown note

- Enter your **{ref}`short-form username <roles_researcher_username>`** and **password** at the prompt.

:::{image} images/workspace_login_screen.png
:alt: Workspace login screen
:align: center
:width: 90%
:::

:::{note}
Our example user, Ada Lovelace, would enter **ada.lovelace** and her password.
:::

::::{error}
If you enter your username and/or password incorrectly you will see a warning like the one below.
If this happens, please try again, entering your username and password carefully.

:::{image} images/workspace_login_failure.png
:alt: Workspace login failure
:align: center
:width: 90%
:::

If you want to reset your password, follow the steps defined in the {ref}`Password and MFA <roles_researcher_password_and_mfa>` section.
::::
:::::

You should now be able to see the SRE dashboard screen which will look like the following

:::{image} images/workspace_xfce_initial.png
:alt: Research environment dashboard
:align: center
:width: 90%
:::

Welcome to the Data Safe Haven SRE! {{wave}}

## {{unlock}} Access additional workspaces

Your project might make use of further workspaces in addition to the main shared desktop.
Usually this is because of a requirement for a different type of computing resource, such as access to one or more GPUs (graphics processing units).

You will access this machine in a similar way to the main shared desktop, by selecting a different **Desktop** connection.

::::{admonition} Selecting a different workspace
:class: dropdown note

- Our example user, Ada Lovelace, participating in the **sandbox** project, might select **Workspace 2** instead of **Workspace 1** since it has additional CPUs and RAM.

:::{image} images/guacamole_dashboard_multiple_workspaces.png
:alt: Research environment dashboard
:align: center
:width: 90%
:::

- This will bring her to the normal login screen, where she will use the short-form username **ada.lovelace** and her password as before.

::::

jemrobinson marked this conversation as resolved.
Show resolved Hide resolved
:::{tip}
When you are connected to a workspace, you may switch to another by bringing up the [Guacamole menu](https://guacamole.apache.org/doc/gug/using-guacamole.html#the-guacamole-menu) with **{kbd}`Ctrl+Alt+Shift`** and navigating to the [home screen](https://guacamole.apache.org/doc/gug/using-guacamole.html#client-user-menu).
:::

:::{tip}
Any files in the **/output/**, **/home/** or **/shared** folders on other workspaces will be available in this workspace too.
:::
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 16 additions & 4 deletions docs/source/roles/researcher/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,28 @@
:::{toctree}
:hidden:

user_guide.md
new_user_setup.md
accessing_the_sre.md
using_the_sre.md
troubleshooting.md
available_software.md
:::

A project member, who analyses data to produce results.
We reserve the capitalised term **Researcher** for this role in our user model.
We use the lower case term when considering the population of researchers more widely.

[User guide](user_guide.md)
: Step-by-step instructions for **Researchers** who want to start using an existing Data Safe Haven.
[New user setup](new_user_setup.md)
: Step-by-step instructions for new **Researchers** who want to setup their Data Safe Haven account.

[Accessing the SRE](accessing_the_sre.md)
: Instructions for **Researchers** on how to connect to their Secure Research Environment.

[Using the SRE](using_the_sre.md)
: Instructions on how to use the tools available in a Secure Research Environment.

[Troubleshooting](troubleshooting.md)
: Instructions on how to fix some common problems encountered in a Secure Research Environment.

[Available software](available_software.md)
: List of the software available in the secure research environment.
: Overview of the software available in a Secure Research Environment.
Loading
Loading