Skip to content

Commit a7a28b5

Browse files
authored
Merge pull request #141 from dsajdak/master
coldfront tutorial order change
2 parents 7c7343a + f5b2995 commit a7a28b5

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

coldfront/README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,11 @@ Resource type: select `cluster`
3636
Name: type `hpc`
3737
Description: enter anything you want
3838
Ensure that the following are checked: `Is available`, `Is public`, `Is allocatable`
39-
Under the resource attributes section, click `Add another Resource attribute` and select `slurm_cluster` from the drop down menu. In the `value` field, enter `hpc` - then click SAVE
39+
Under the resource attributes section, click `Add another Resource attribute` and select `slurm_cluster` from the drop down menu. In the `value` field, enter `hpc`
40+
Click `Add another Resource attribute` and select `OnDemand` from the drop down menu. In the `value` field, enter `Yes`
41+
- Then click SAVE
4042
- Logout
43+
**See below for more info on the OnDemand plugin at the end**
4144

4245
Request an allocation for the new resource as the PI user:
4346
- Login as the PI using local account username: `cgray` password: `test123`
@@ -155,16 +158,12 @@ Click the `Email` button to see this functionality. Go back to the `Project Rev
155158
For more options on allowing permissions for various types of staff access, see the ColdFront manual: https://coldfront.readthedocs.io/en/latest/manual/users/
156159

157160

158-
## Integrating OnDemand with ColdFront (Time Permitting)
161+
## Integrating OnDemand with ColdFront
159162
This is a very simple example of modifying the ColdFront configuration to use a plugin. This plugin allows us to provide a link to our OnDemand instance for any allocations for resources that have "OnDemand enabled"
160163

161-
We have already added the OnDemand instance info to the ColdFront config. You can see this outside the containers in your git directory: See `hpc-toolset-tutorial/coldfront/coldfront.env`
164+
We have already added the OnDemand instance URL to the ColdFront config. You can see this outside the containers in your git directory: See `hpc-toolset-tutorial/coldfront/coldfront.env`
162165

163-
Now let's enable OnDemand for our cluster resource:
164-
- Log back in to the ColdFront Administration site https://localhost:2443/admin/ as the `hpcadmin` acccount - password `ilovelinux`:
165-
- Navigate to the Resources section and click on the 'HPC' cluster resource. Add a new resource attribute: `OnDemand = "Yes"`
166-
- Log out and log in as the PI user `cgray` password `test123`
167-
- Notice on the ColdFront home page next to the allocation for the HPC cluster resource you see the OnDemand logo. Click on the Project name and see this logo also shows up next to the allocation. When we click on that logo, it directs us to the OnDemand instance.
166+
When creating the resource at the start of the tutorial, we added the `OnDemand` attribute to the `hpc` resource which tells it to display the OnDemand logo and link to the OnDemand URL for any allocations for this resource. Notice on the ColdFront home page next to the allocation for the HPC cluster resource you see the OnDemand logo. Click on the Project name and see this logo also shows up next to the allocation. When we click on that logo, it directs us to the OnDemand instance.
168167

169168

170169
## Tutorial Navigation

0 commit comments

Comments
 (0)