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
#!/usr/bin/env bash | |
readonly SCRIPT=$(basename "$0") | |
readonly VERSION='1.0.0' | |
readonly AUTHOR='[email protected]' | |
readonly SOURCE='https://gist.github.com/xykong/6efdb1ed57535d18cb63aa8e20da3f4b' | |
# For script running robust | |
set -o nounset # to exit when your script tries to use undeclared variables | |
set -o errexit # to make your script exit when a command fails |
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
### PLEASE TAKE IN ACCOUNT THIS FILE IS CONFIGURED FOR BECHNMARK TESTING OF CEPH NOT PRODUCTION USE | |
[client] | |
rbd cache = False | |
[client.openstack] | |
admin socket = /var/run/openstack/$cluster-$type.$id.$pid.$cctid.asok | |
log file = /var/log/ceph/qemu-guest-$pid.log |
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
# Use this in a situation where you want a headless Linux box with multiple GPU boards but no desktop environment | |
# Fake EDID convinces drivers that a monitor is connected | |
# Use any EDID binary file | |
# To start a fake X server make a systemd file with something like: | |
# ExecStart=/usr/bin/tcsh -c 'xinit /opt/set-gpu-fans/setfanspeed.sh -- :0 -once -config /opt/set-gpu-fans/xorg.rob' | |
# See other gist for fan setting script : https://gist.github.com/RobDeBagel/a960c2b157256c162220e60300529cf0 | |
Section "ServerLayout" | |
Identifier "Layout0" |