Skip to content

Commit

Permalink
Trying to spin up src workspace with samba as data source
Browse files Browse the repository at this point in the history
  • Loading branch information
sverhoeven committed Oct 7, 2024
1 parent 481b25d commit 0700062
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ Each collaborative organization should run a single file server. This file serve
5. Select private network
6. Wait for machine to be running
7. Login to machine with ssh
1. Become root With sudo
2. Edit /etc/samba/smb.conf and replace `read only = no` with `read only = yes`
1. Become root with `sudo -i`
2. Edit /etc/samba/smb.conf and in `[samba-share]` section replace `read only = no` with `read only = yes`
3. Restart samba server with `systemctl restart smbd`
8. Populate `/data/volume_2/samba-share/` directory with training material. This directory will be shared with other machines.

Expand All @@ -132,7 +132,7 @@ Steps to create a eWaterCycle workspace:
6. Select storage item for dcache cache. Remember item you picked as you will need it in the workspace parameters.
7. Fill **all** the workspace parameters. They should look something like
![workspace-parameters](workspace-parameters.png)
The following parameters can be left unchanged: 'Course repository', 'Course version', 'Grader user' and 'Students'.
If you are not interested in grading then the following parameters can be left unchanged: 'Course repository', 'Course version', 'Grader user' and 'Students'.
8. Wait for machine to be running
9. Visit URL/IP
10. When done delete machine
Expand All @@ -147,13 +147,13 @@ Steps to create a eWaterCycle workspace:

1. Create a new workspace
2. Select collaborative organisation (CO) for example `ewatercycle-nlesc`
3. Select `eWaterCycle dcache` catalog item
3. Select `eWaterCycle samba` catalog item
4. Select size of VM (cpus/memory) based on use case
5. Select home storage item. Remember items you picked as you will need them in the workspace parameters.
6. Select the private network
7. Fill **all** the workspace parameters. They should look something like
![workspace-parameters](workspace-parameters.png)
The following parameters can be left unchanged: 'Course repository', 'Course version', 'Grader user' and 'Students'.
If you are not interested in grading then the following parameters can be left unchanged: 'Course repository', 'Course version', 'Grader user' and 'Students'.
8. Wait for machine to be running
9. Visit URL/IP
10. When done delete machine
Expand Down
1 change: 1 addition & 0 deletions SRC-DEVEL.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,5 @@ create an eWatercycle catalog item with following specialization:
- rclone_cache_dir:
- action: keep value
- shared_data_source:
- action: overwrite
- initial value: samba

0 comments on commit 0700062

Please sign in to comment.