Last active
February 24, 2017 20:25
-
-
Save zioproto/9cc76ceb0e0a25381dac5099ab961bbc to your computer and use it in GitHub Desktop.
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
| # Check docs at: https://jujucharms.com/docs/stable/howto-privatecloud | |
| # Check more docs for Openstack integration at: https://cloud.garr.it/support/kb/juju/juju/ | |
| # sudo add-apt-repository ppa:juju/devel && sudo apt-get update && sudo apt-get install juju | |
| # juju add-cloud SWITCHengines switchengines.yaml | |
| # juju add-credential SWITCHengines | |
| # juju metadata generate-image -d ~/engines -i `openstack image show "Ubuntu Xenial 16.04 (SWITCHengines)" -f value -c id` -s xenial -r ZH -u https://keystone.cloud.switch.ch:5000/v3 | |
| # juju metadata generate-image -d ~/engines -i `openstack image show "Ubuntu Trusty 14.04 (SWITCHengines)" -f value -c id` -s trusty -r ZH -u https://keystone.cloud.switch.ch:5000/v3 | |
| # Make sure you have high quotas for number of VMs, and for number of Security Groups | |
| # juju bootstrap --metadata-source /home/ubuntu/engines --config network=private --config use-floating-ip=true SWITCHengines saveriotest | |
| # juju deploy cs:bundle/apache-hadoop-spark-zeppelin-14 | |
| # juju expose zeppelin | |
| # To debug use commands as | |
| # juju status | |
| # juju status --format=yaml | |
| # To destroy all | |
| # juju destroy-controller --destroy-all-models saveriotest | |
| --- | |
| clouds: | |
| SWITCHengines: | |
| type: openstack | |
| auth-types: [userpass] | |
| regions: | |
| ZH: | |
| endpoint: https://keystone.cloud.switch.ch:5000/v3 | |
| LS: | |
| endpoint: https://keystone.cloud.switch.ch:5000/v3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment