Instructor Resources

GENERAL RESOURCES

Lab Access for Instructors

Google Doc >>here<<

Instructions to Reset entire Pod or a single User’s Lab Environment (28Aug2015)
1) ssh to lab.onecloudinc.com gateway
user: onecloud
pass: xxxxx

2) ENSURE YOU ARE LOOKING AT THE RIGHT POD! 😀

pod3 AIO15X and COMPUTE16X machines
pod4 AIO17X and COMPUTE18X machines
pod5 AIO23X and COMPUTE24X machines

3) Reset the entire pod ( all 8 aio and 8 compute machines)

./podXrebuild.sh

If you need to reset an individual user’s system:

./podXtenant.sh {AIO#} {COMPUTE#}

If you log in as root, these scripts will work, but the older tenant-rebuild.sh (below) will still work for pod5.

“Old” Instructions to Reset a User’s Lab Environment on Pod 5 (only)
The following script will enable you to reset a single, specific user’s lab environment.

password: xxxxxx
./rebuild-tenant.sh 234 244 1 2
where 234 is the AIO # (last octet of the IP), and 244 is the Compute # (last octet of the IP).  the 1 and 2 are the numbers of the underlying OpenStack compute nodes that are hosting these VMs.
So if you wanted to rebuild aio238 and compute248 (you have to do both with this script):
./rebuild-tenant.sh 238 248 1 2
CLASS SPECIFIC RESOURCES