You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: coldfront/README.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,21 +36,23 @@ For more options on allowing permissions for various types of staff access, see
36
36
37
37
38
38
### Activate the allocation request
39
-
At part of the database seeding we did at the start of the tutorial, we activated and set attributes on the allocations requested on the `cgray` project. Let's look at that allocation and how it was setup.
40
-
- Login using local account username: `hpcadmin` password: `ilovelinux`
41
-
- Navigate to the `Admin` menu and click on the `All Allocations` option
42
-
- Click on the allocation number next to the allocation for the `HPC cluster` resource.
43
-
- Scroll down to look at the allocation attributes set. Notice that allocation status is `Renewal Requested` and there is a start and end date associated with it.
39
+
40
+
- Navigate to the `Admin` menu and click on `Allocation Requests`
41
+
Note: the project review status is a green check mark, indicating our Center Director has already approved the submitted project review.
42
+
43
+
At part of the database seeding we did at the start of the tutorial, we activated and set attributes on the allocations requested on the `cgray` project. Let's look at that allocation and how it was setup.
44
+
45
+
- Click the `Details` button to review the Allocation Detail page.
46
+
- Notice that allocation status is `Renewal Requested` and there is a start and end date associated with it.
47
+
- Scroll down to look at the allocation attributes set. There is a slurm_account attribute as well as slurm_specs and slurm_user_specs attributes. This is what is used by the Slurm plugin to sync with the Slurm database.
48
+
- Click the `Approve` button to re-activate the allocation. This updates the status to `Active` and changes the expiration date to one year from today.
44
49
45
50
Now let's go look at and activate the allocation change request submitted by `cgray` for the storage resource. As the HPC admin user, activate and setup the new allocation:
46
51
- Navigate to the `Admin` menu and click on `Allocation Change Requests`
47
52
- Click on the `Details` button to review and approve the allocation changes requested. As the admin you have the ability to approve the date extension, change it to another setting or select `no extension` You can remove the `storage_quota` request or change it. You can add notes for the PI and users on the allocation to see. Then you can take action such as `Approve` or `Deny` the request. For this demo, let's click the `Approve` button.
48
53
49
54
For more information about configuring Allocation Change Requests [see here](#more-info-on-allocation-change-requests)
50
55
51
-
Next review the pending allocation requests:
52
-
- Navigate to the `Admin` menu and click on `Allocation Requests` Note that the project review status is green check mark, indicating our Center Director has already approved the submitted project review.
53
-
- Click the `Details` button if you'd like to review the Allocation Detail page. Otherwise, click the `Approve` button to renew the allocation for another year.
54
56
- Logout as the `hpcadmin` user
55
57
56
58
@@ -72,7 +74,7 @@ _**This is because we have not synced the allocation information in ColdFront wi
72
74
### Run Slurm plugin to sync active allocations from ColdFront to Slurm
73
75
- Login to the coldfront container & setup ColdFront environment
74
76
`ssh coldfront`
75
-
`cd /srv/www`
77
+
`cd /srv/www`
76
78
`source venv/bin/activate`
77
79
- Let's see what slurm access cgray currently has:
@@ -113,28 +111,6 @@ NOTE: this is only necessary on some systems so don't use it if the previous com
113
111
114
112
**Sometimes restarting your operating system is the only solution.**
115
113
116
-
#### Windows Errors
117
-
118
-
NOTE: Windows users should get several pop-up messages from Docker Desktop during this process asking to allow local system access to the Docker containers. Please click the "Share it" button:
119
-

120
-
121
-
If you have notifications blocked, you may not see these pop-ups and the authorization will eventually time out. If this happens, you will get this type of error message:
122
-
123
-
```
124
-
Error response from daemon: user declined directory sharing C:\Users\path_to_my_folder
125
-
```
126
-
Open Docker Desktop, navigate to Settings - Resources, and click on File Sharing. Then add the directory where you've cloned the HPC Toolset Tutorial and click "Apply & Restart"
Copy file name to clipboardExpand all lines: docs/getting_started.md
+1-27Lines changed: 1 addition & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,13 +12,8 @@ If you haven't already installed and tested the required packages, please refer
12
12
13
13
## Getting started
14
14
15
-
You will need to clone the tutorial repo and then run the helper script. The initial clone of the repo may take 5-10 minutes. The first time running the helper script, you'll be downloading all the containers from Docker Hub. This can take quite a long time depending on your network speed. The images total approximately 13GB in size. Once the containers are downloaded, they are started and the services launched. For point of reference: on a recent test from a home fiber optic network with client connected over wifi this download and container startup process took 12 minutes.
15
+
You will need to clone the tutorial repo and then run the helper script. The initial clone of the repo may take 5-10 minutes. The first time running the helper script, you'll be downloading all the containers from Docker Hub. This can take quite a long time depending on your network speed. The images total approximately 20GB in size. Once the containers are downloaded, they are started and the services launched. For point of reference: on a recent test from a home fiber optic network with client connected over wifi this download and container startup process took 12 minutes.
16
16
17
-
NOTE: For Windows, if you haven't already done so, you will need to configure git not to convert line endings into Windows format. Run this command using the git-bash shell application before cloning the tutorial repo:
18
-
19
-
```
20
-
git config --global core.autocrlf input
21
-
```
22
17
23
18
### Clone Repo and Start Containers
24
19
@@ -84,28 +79,7 @@ Starting HPC Toolset Cluster..
84
79
85
80
**NOTE: Despite seeing this output with URLs, the processes on these containers may not be fully running yet. Depending on the speed of your computer, starting up the processes may take a few minutes (or even up to 10 minutes). Use the command below to check the docker logs if the websites are not yet displaying.**
86
81
87
-
### Windows Errors
88
-
89
-
NOTE: Windows users should get several pop-up messages from Docker Desktop during this process asking to allow local system access to the Docker containers. Please click the "Share it" button:
90
-

91
82
92
-
If you have notifications blocked, you may not see these pop-ups and the authorization will eventually time out. If this happens, you will get this type of error message:
93
-
94
-
```
95
-
Error response from daemon: user declined directory sharing C:\Users\path_to_my_folder
96
-
```
97
-
Open Docker Desktop, navigate to Settings - Resources, and click on File Sharing. Then add the directory where you've cloned the HPC Toolset Tutorial and click "Apply & Restart"
Copy file name to clipboardExpand all lines: docs/requirements.md
+5-31Lines changed: 5 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,11 @@
1
1
## Requirements
2
2
3
-
For this tutorial you will need to have **20GB of free disk space** and git, docker, docker-compose and a web browser installed on your local machine. This tutorial has been tested on various versions of Linux, MacOS, and Windows 10/11 with the following package versions:
3
+
For this tutorial you will need to have **20GB of free disk space** and git, docker, docker-compose and a web browser installed on your local machine. This tutorial has been tested on various versions of Linux, MacOS, and Windows 10/11 (using Windows subsystem for Linux) with the following package versions:
4
4
5
-
- git 2.17+ (Windows users we recommend: https://gitforwindows.org/)
5
+
- git 2.17+
6
6
- docker engine version 20.10.12+
7
7
- docker compose 2.6.0+ (this is distributed with newer versions of docker and not necessary to install separately)
8
8
9
-
NOTE: For Windows, if you haven't already done so, you will need to configure git not to convert line endings into Windows format. Run this command using the git-bash shell application before cloning the tutorial repo:
10
-
11
-
```
12
-
git config --global core.autocrlf input
13
-
```
14
-
15
9
The following ports must be open and available:
16
10
17
11
- 2443
@@ -27,7 +21,9 @@ If they are not you might see an error like:
27
21
28
22
https://docs.docker.com/engine/install/
29
23
30
-
**NOTE: You'll need to make sure the account you're running docker with is in the 'docker' group**
24
+
**NOTE: Make sure the account you're running docker with is in the 'docker' group**
25
+
26
+
**Windows users:** We do NOT recommend using Docker Desktop with this container environment. Instead, use Windows subsystem for Linux (WSL) and install Docker within an Ubuntu virtual machine. [This site](https://nickjanetakis.com/blog/install-docker-in-wsl-2-without-docker-desktop) provides useful information on this method, except docker-compose no longer needs to be installed separately. Using WSL allows you to follow the docker installation instructions for Linux and this is what is tested by the HPC Toolset Tutorial team.
31
27
32
28
### Verify working Docker
33
29
@@ -38,28 +34,6 @@ docker info
38
34
**This should display your system info along with Docker-specific info. If there are any errors, stop/start Docker. Do NOT proceed with the tutorial until you are sure you have a working Docker setup**
39
35
40
36
41
-
### Error when running 'docker info' or when starting up tutorial containers
42
-
43
-
If you get this error when starting the tutorial
44
-
45
-
```
46
-
ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?
47
-
48
-
or
49
-
50
-
ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?
51
-
```
52
-
53
-
Try stopping and starting Docker (restart doesn't usually fix the problem). Commands for this differ depending on operating system.
54
-
55
-
If the error persists, try:
56
-
57
-
```
58
-
export DOCKER_HOST=127.0.0.1
59
-
```
60
-
61
-
NOTE: this is only necessary on some systems so don't use it if the previous command works
62
-
63
37
## Docker Tips
64
38
65
39
Some useful info on installing Docker, navigating this tutorial and learning a bit about docker-compose
0 commit comments