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
| # $Header: /root/RCS/siriproxy-raspberrypi.txt,v 1.9 2013/11/09 08:11:00 root Exp $ | |
| # $Log: siriproxy-raspberrypi.txt,v $ | |
| # Revision 1.9 2013/11/09 08:11:00 root | |
| # updated for latest RVM which installs dependencies and Ruby by default | |
| # | |
| # Revision 1.8 2013/03/22 20:41:20 root | |
| # updated for Ruby 2.0.0 and SiriProxy 0.5.2 | |
| # | |
| # Revision 1.7 2012/12/31 04:42:57 root | |
| # shorter URL for newark and typos |
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
| #!/bin/bash | |
| set -x # verbosity | |
| # This script is meant to be run from inside alchemy linux, our PXE rescue system. | |
| # To boot into alchemy, connect to a serial console with ipmitool sol activate, and set the bootdev with 'chassis bootdev pxe' | |
| # The default user:pass is alchemy:transmute | |
| # This script covers swapping out the OS drive of a hadoop node, and is very coupled to this task. The individual sections however may be reused. | |
| # This script should never be run without being watched, and should never be run all at once. Run each section on its own. Ye be warned. | |
| # The first step is to pick a data drive to remove. We'll need to find out the serial for that drive. The only mapping between the physical and logical here is done through "megaraid target id's", which map to the scsi sub slot. Sound confusing? Don't worry, that's because it is, so we'll confuse it more by using the folliwng magical regex: |