Last active
December 26, 2015 19:39
-
-
Save mjbommar/7202823 to your computer and use it in GitHub Desktop.
Run an Oracle ORION test in an automated fashion on a clean EC2 instance.
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
# Download and uncompress the ORION binary | |
wget http://bommarito-consulting.s3.amazonaws.com/app/oracle/orion_linux_x86-64.gz | |
gunzip orion_linux_x86-64.gz | |
# Output the attached storage device list, excluding the root volume | |
ROOT_DEVICE=`grep "/ ext4" /etc/mtab | awk '{print $1}'` | |
ls /dev/xv* | grep -v $ROOT_DEVICE > orion.lun | |
# Now run the actual test. | |
sudo ./orion_linux_x86-64 -run oltp -write 20 -verbose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment