This example will apply a patch for LU-4558 to Lustre v2_4_3 and rebuild the client RPM's.
The Gerrit site for Lustre is at...
http://review.whamcloud.com/
#!/bin/bash | |
# | |
# Gets a GNU software package from GNU and verifies signature with GPG | |
# | |
# Author: Trevor Cooper <[email protected]> | |
# Twitter: @HPCDevOps | |
# GitHub: https://github.com/tcooper | |
# |
#!/bin/bash | |
# | |
# Fixes the /export -> /state/partition1 symlink on a Rocks devel appliance in Rocks 6.1 | |
# | |
# Author: Trevor Cooper <[email protected]> | |
# Twitter: @HPCDevOps | |
# GitHub: https://github.com/tcooper | |
# |
#!/bin/bash | |
# Generates a 'binary_hashes' entry for supplied object(s) | |
for OBJ in "$@" | |
do | |
OBJ_BASENAME=`basename ${OBJ}` | |
OBJ_DIRNAME=`dirname ${OBJ}` | |
if [ -f ${OBJ} ]; then |
#!/bin/bash | |
# Script for testing block device(s) using dd | |
# | |
# Actual files sizes written may be slightly smaller than the target due to bc's | |
# default truncation of floating point results. | |
# | |
# Read tests use /dev/null as the output device. | |
# |
[global] | |
ioengine=libaio | |
invalidate=1 | |
ramp_time=30 | |
iodepth=1 | |
runtime=180 | |
time_based | |
direct=1 | |
[write-sdc-4k-seq] |
--- /etc/init.d/mysqld.orig 2014-02-12 11:42:13.000000000 -0800 | |
+++ /etc/init.d/mysqld 2014-05-07 16:48:24.426343648 -0700 | |
@@ -50,6 +50,8 @@ | |
get_mysql_option mysqld datadir "/var/lib/mysql" | |
datadir="$result" | |
+get_mysql_option mysqld user "mysql" | |
+user="$result" | |
get_mysql_option mysqld socket "$datadir/mysql.sock" | |
socketfile="$result" |
#!/bin/bash | |
# Create the zfs pool as 4 RAID-Z2 vdev's... | |
zpool create pool raidz2 \ | |
wwn-0x5000cca00d6f3910 \ | |
wwn-0x5000cca00d72a644 \ | |
wwn-0x5000cca00d7b8158 \ | |
wwn-0x5000cca00d7d376c \ | |
wwn-0x5000cca00d7f49c4 \ | |
wwn-0x5000cca00d7ff4e8 |
#!/bin/sh | |
/usr/bin/getent passwd $1 2>&1 > /dev/null | |
if [ $? -ne 0 ]; | |
then | |
echo "Invalid user" | |
exit 1 | |
fi |