-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* removed slurm errors * added bibilog to show output log of most recent worker start. Tried fixing the slurm23.11 bug. * fixed a few vpnwkr -> vpngtw remnants. Excluded vpngtw from slurm setup * improved comments regarding changes and versions * removed cgroupautomount as it is defunct * Moved explicit slurm start to avoid errors caused by resume and suspend programs not being copied to their final location yet * added word for clarification * Fixed non-fatal bug that lead to non 0 exits on runs without any error. * changed slurm apt package to slurm-bibigrid * set version to 23.11.* * added a few more checks to make sure everything is set up before installing packages * Added configuration pinning * changed ignore_error to failed_when false * fixed or ignored lint fatals
- Loading branch information
1 parent
7185ca1
commit ca6cab5
Showing
19 changed files
with
155 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# BiBiGrid Cluster Commands | ||
|
||
## [bibiinfo](../../../resources/bin/bibiinfo) | ||
Similar to `sinfo` but shows detailed information regarding node features. | ||
|
||
## [bibilog](../../../resources/bin/bibilog) | ||
`bibilog` executes `tail -f` on the most recent worker creation out log. | ||
Thereby, it helps you with understanding any worker startup issues. | ||
|
||
## [bibiplay](../../../resources/bin/bibiplay) | ||
`bibiplay` is mainly a shortcut for `ansible-playbook /opt/playbook/site.yml -i /opt/playbook/ansible_hosts` | ||
which allows you to execute the ansible playbook more easily. | ||
|
||
### Examples | ||
You have changed something in the common configuration and want to propagate this change to the master. | ||
```sh | ||
bibiplay -l master | ||
# executes the playbook only for the master | ||
``` | ||
|
||
You have changed something in the slurm configuration and want to propagate this change to the master. | ||
```sh | ||
bibiplay -l master -t slurm | ||
``` | ||
|
||
## [bibiname](../../../resources/playbook/roles/bibigrid/templates/bin/bibiname.j2)[m|v|default: w] [number] | ||
|
||
This command creates node names for the user without them needing to copy the cluster-id. | ||
Takes two arguments. The first defines whether a master, vpngtw or worker is meant. Worker is the default. | ||
The second parameter - if vpngtw or worker is selected - defines which vpngtw or worker is meant. | ||
|
||
### Examples | ||
Assume the cluster-id `20ozebsutekrjj4`. | ||
|
||
```sh | ||
bibiname m | ||
# bibigrid-master-20ozebsutekrjj4 | ||
``` | ||
|
||
```sh | ||
bibiname v 0 | ||
# bibigrid-vpngtw-20ozebsutekrjj4-0 | ||
``` | ||
|
||
```sh | ||
bibiname 0 # or bibiname w 0 | ||
# bibigrid-worker-20ozebsutekrjj4-0 | ||
``` | ||
|
||
A more advanced use would be to use the generated name to login into a worker: | ||
```sh | ||
ssh $(bibiname 0) # or bibiname w 0 | ||
# ssh bibigrid-worker-20ozebsutekrjj4-0 | ||
``` |
Binary file removed
BIN
-1.93 MB
documentation/pdfs/ELIXIR Compute 2023 -- Multi-Cloud - BiBiGrid.pdf
Binary file not shown.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
if [ "$1" == "err" ]; then | ||
err_out="err" | ||
else | ||
err_out="out" | ||
fi | ||
|
||
if [ "$2" == "fail" ]; then | ||
fail_create="fail" | ||
else | ||
fail_create="create" | ||
fi | ||
|
||
LOG="/var/log/slurm/worker_logs/$fail_create/$err_out" | ||
RECENT=$(ls -1rt $LOG | tail -n1) | ||
tail -f "$LOG/$RECENT" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ | |
systemd: | ||
name: slurmctld | ||
state: restarted | ||
when: "'master' in group_names" | ||
|
||
- name: slurmd | ||
systemd: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters