Skip to content

Instantly share code, notes, and snippets.

@mjbommar
Last active December 26, 2015 19:39
Show Gist options
  • Save mjbommar/7202823 to your computer and use it in GitHub Desktop.
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.
# 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