Line 1: |
Line 1: |
| Back to parent: [[GotCloud]] | | Back to parent: [[GotCloud]] |
| + | |
| + | '''We no longer provide a snapshot for GotCLoud'''. This is no longer used. |
| | | |
| The following are notes taken when creating a Snapshot of a volume where the GotCloud | | The following are notes taken when creating a Snapshot of a volume where the GotCloud |
| software and data are installed. | | software and data are installed. |
| | | |
− | '''Create an Instance and a Master GotCloud Volume''' | + | '''Create an Instance with a Master GotCloud Volume''' |
| | | |
| <code> | | <code> |
Line 20: |
Line 22: |
| Be sure the zone is the same as the one for the instance you just launched/created. | | Be sure the zone is the same as the one for the instance you just launched/created. |
| The volume should be based on 'No Snapshot'. | | The volume should be based on 'No Snapshot'. |
− | Once it is created, attach it to the instance you have launched and mount it it /gotcloud | + | Once it is created, attach it to the instance you have launched and '''mount it it /gotcloud'''. |
| | | |
| '''Install the Software''' | | '''Install the Software''' |
Line 26: |
Line 28: |
| Follow the instructions to install a Debian package [[Pipeline Debian Package|debian package]] | | Follow the instructions to install a Debian package [[Pipeline Debian Package|debian package]] |
| Run the tests to be sure everything is OK. | | Run the tests to be sure everything is OK. |
| + | This installs files in /usr/local/gotcloud and these need to be copied to the snapshot disk. |
| + | |
| + | <code> |
| + | cd /gotcloud |
| + | rm -rf bin scripts test # Remove old GotCloud |
| + | sudo rsync -av /usr/local/gotcloud/* /gotcloud |
| + | sudo chown -R ubuntu.ubuntu bin scripts test release_version.txt |
| + | </code> |
| + | |
| + | Even though the references are not part of the distribution, you cannot do anything useful |
| + | without references, so get them and make them available in /gotcloud |
| + | |
| + | <code> |
| + | cd /mnt # Because the *.tar.gz will be too big for /home |
| + | sudo wget share.sph.umich.edu:gotcloud/CHANGETHIS.tar.gz |
| + | cd /gotcloud |
| + | sudo tar xzf /mnt/CHANGETHIS.tar.gz |
| + | sudo chown -R ubuntu.ubuntu gotcloud.ref |
| + | sudo chmod 0755 gotcloud.ref |
| + | chmod 0644 gotcloud.ref/* |
| + | ls -la ref |
| + | sudo rm -f /mnt/CHANGETHIS.tar.gz # if no error |
| + | cd /gotcloud/examples/umakeRef ############# still true? |
| + | ln -s /gotcloud/ref/hs37d5.fa . ############# still true? |
| + | </code> |
| | | |
| '''Create the SnapShot''' | | '''Create the SnapShot''' |
Line 35: |
Line 62: |
| <code> | | <code> |
| Name: GotCloud Distribution | | Name: GotCloud Distribution |
− | Description: CSG GotCloud files from UMICH | + | Description: GotCloud from UMICH Version 1.03a6 |
| Note snapshot name e.g. snap-9e782bb8 | | Note snapshot name e.g. snap-9e782bb8 |
| </code> | | </code> |
| | | |
| Now make the name of this snapshot available to the user population. | | Now make the name of this snapshot available to the user population. |
− | In your Unix terminal, get the snapshots.txt file, update it and make it available: | + | '''In your Unix terminal''', get the snapshots.txt file, update it and make it available: |
| | | |
| <code> | | <code> |