-
Notifications
You must be signed in to change notification settings - Fork 355
DAOS-15603: Support of FIO with ansible ftest script #14138
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
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
22f74c8
DAOS-15603: Support of FIO with ansible ftest script
kanard38 ac5fe64
Merge remote-tracking branch 'origin/master' into ckochhof/dev/master…
kanard38 07b4777
DAOS-15603: Support of FIO with ansible ftest script
kanard38 fa2109a
DAOS-15603: Support of FIO with ansible ftest script
kanard38 d9fa641
DAOS-15603: Support of FIO with ansible ftest script
kanard38 712254e
DAOS-15603: Support of FIO with ansible ftest script
kanard38 ad2c133
DAOS-15603: Support of FIO with ansible ftest script
kanard38 05dded1
Merge remote-tracking branch 'origin/master' into ckochhof/dev/master…
kanard38 351fdb0
DAOS-15603: Support of FIO with ansible ftest script
kanard38 92541dd
DAOS-15603: Support of FIO with ansible ftest script
kanard38 79615a7
DAOS-15603: Support of FIO with ansible ftest script
kanard38 bce8c6c
DAOS-15603: Support of FIO with ansible ftest script
kanard38 f8c4996
DAOS-15603: Support of FIO with ansible ftest script
kanard38 8a62b1f
DAOS-15603: Support of FIO with ansible ftest script
kanard38 dc22229
Merge remote-tracking branch 'origin/master' into ckochhof/dev/master…
kanard38 97ec61d
DAOS-15603: Support of FIO with ansible ftest script
kanard38 d8c3357
Merge remote-tracking branch 'origin/master' into ckochhof/dev/master…
kanard38 560ff4c
DAOS-15603: Support of FIO with ansible ftest script
kanard38 03ae132
DAOS-15603: Support of FIO with ansible ftest script
kanard38 b1a0947
Merge remote-tracking branch 'origin/master' into ckochhof/dev/master…
kanard38 7d876bc
DAOS-15603: Support of FIO with ansible ftest script
kanard38 a91ce3d
DAOS-15603: Support of FIO with ansible ftest script
kanard38 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,21 @@ | ||
| #!/bin/bash | ||
|
|
||
| # set -x | ||
| set -u -e -o pipefail | ||
|
|
||
| if [[ $(id -u) -ne 0 ]] ; then | ||
| echo "[ERROR] Could only be used by root" | ||
| exit 1 | ||
| fi | ||
|
|
||
| sed -i -E -e "/DefaultLimitNOFILE/s/.*/DefaultLimitNOFILE=infinity:infinity/" /etc/systemd/system.conf | ||
|
|
||
| cat > /etc/security/limits.d/daos-nofile.conf << EOF | ||
| # /etc/security/limits.d/daos-nofile.conf | ||
|
|
||
| # <domain> <type> <item> <value> | ||
| * hard nofile unlimited | ||
| * soft nofile unlimited | ||
| EOF | ||
|
|
||
| systemctl daemon-reexec |
This file contains hidden or 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,45 @@ | ||
| #!/bin/bash | ||
|
|
||
| # set -x | ||
| set -u -e -o pipefail | ||
|
|
||
| if [[ $(id -u) -ne 0 ]] ; then | ||
| echo "[ERROR] Could only be used by root" | ||
| exit 1 | ||
| fi | ||
|
|
||
| sed -i -E -e "/DefaultLimitCORE/s/.*/DefaultLimitCORE=infinity:infinity/" /etc/systemd/system.conf | ||
|
|
||
| cat > /etc/security/limits.d/daos-coredumps.conf << EOF | ||
| # /etc/security/limits.d/daos-coredumps.conf | ||
|
knard38 marked this conversation as resolved.
|
||
|
|
||
| # <domain> <type> <item> <value> | ||
| * hard core unlimited | ||
| * soft core unlimited | ||
| EOF | ||
|
|
||
| cat > /etc/sysctl.d/daos-coredumps.conf << EOF | ||
| # /etc/sysctl.d/daos-coredumps.conf | ||
|
|
||
| fs.suid_dumpable=1 | ||
| EOF | ||
| sysctl -q -w "fs.suid_dumpable=1" | ||
| sysctl -p | ||
|
|
||
| cat > /etc/profile.d/daos-coredumps.sh << EOF | ||
| # Enable core dump | ||
| ulimit -c unlimited | ||
| EOF | ||
|
|
||
| mkdir -p /etc/systemd/coredump.conf.d/ | ||
| cat > /etc/systemd/coredump.conf.d/daos-coredumps.conf << EOF | ||
| # /etc/systemd/coredump.conf.d/daos-coredumps.conf | ||
|
|
||
| [Coredump] | ||
| Storage=external | ||
| Compress=yes | ||
| ProcessSizeMax=8G | ||
| ExternalSizeMax=8G | ||
| KeepFree=2G | ||
| EOF | ||
| systemctl daemon-reexec | ||
This file contains hidden or 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 |
|---|---|---|
| @@ -1,21 +1,40 @@ | ||
| # Sample inventory of a DAOS functional platform running on the wolf cluster | ||
| # | ||
| # Detailed information on the content of this ansible inventory file is available in the README.md | ||
| # file of the directory containing this first file. | ||
|
|
||
| all: | ||
| vars: | ||
| daos_runtime_dir: /home/foo/daos | ||
| children: | ||
| daos_dev: | ||
| vars: | ||
| daos_source_dir: /home/foo/work/daos | ||
| daos_ofi_interface: eth0 | ||
| hosts: | ||
| wolf-666: | ||
| daos_servers: | ||
| vars: | ||
| daos_hugepages_nb: 8182 | ||
| hosts: | ||
| wolf-666: | ||
| wolf-999: | ||
| daos_clients: | ||
| hosts: | ||
| wolf-999: | ||
| # all: | ||
| # vars: | ||
| # # | ||
| # # Mandatory variable defining the shared directory used to install DAOS. | ||
| # daos_runtime_dir: /home/foo/daos | ||
| # # | ||
| # # Optional variable defining the network provider to use by the DAOS engines. This variable | ||
| # # is also used to define which network driver rpms have to be install. | ||
| # # default: ofi+tcp;ofi_rxm | ||
| # daos_ofi_provider: ofi+tcp;ofi_rxm | ||
| # children: | ||
| # daos_dev: | ||
| # vars: | ||
| # # | ||
| # # Mandatory variable defining the path of the directory containing the DAOS source code. | ||
| # daos_source_dir: /home/foo/work/daos | ||
| # # | ||
| # # Optional variable defining the network interface to use with the launch.py python | ||
| # # script. | ||
| # # default: None | ||
| # daos_ofi_interface: eth0 | ||
| # hosts: | ||
| # wolf-666: | ||
| # daos_servers: | ||
| # vars: | ||
| # # | ||
| # # Optional variable defining the number of hugepages to be allocated by the linux kernel. | ||
| # # default: 4096 | ||
| # daos_hugepages_nb: 8182 | ||
| # hosts: | ||
| # wolf-666: | ||
| # wolf-999: | ||
| # daos_clients: | ||
| # hosts: | ||
| # wolf-999: |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.