...
- If the is a new instance for gltg and you intend to use the current database VMs, you will need to build 3 new VMS
- Nginx proxy server
- Clowder Server
- Geodashboard Server
- VMs on Nebula are created with a script that uses python-openstackclient (tested on python-openstackclient==3.4.1) (probably some other pip libraries as well). It is recommended to create a virtual
- set up the environment. In a linux (mac) shell within the viritualenv
Code Block export OS_AUTH_URL=http://nebula.ncsa.illinois.edu:5000/v2.0 export OS_TENANT_ID=c4121a001a8240d4a8b701d664ef4bf0 export OS_TENANT_NAME="GLTG" # This is for GLTG project, change to your project name export OS_PROJECT_NAME="GLTG" # This is for GLTG project, change to your project name export OS_USERNAME="username" # Your Nebula username export OS_PASSWORD="password" # Your Nebula password export OS_REGION_NAME="RegionOne"
Run the script
Get the script https://opensource.ncsa.illinois.edu/bitbucket/snippets/6b41ea2cfea041cb822d66b909a7bf31
run script (make sure you have correct permissions if it fails to run (use chmod 755 makevm.sh)):
Code Block ./makevm.sh -n <name of new VM> -k <name of key>
for example, creating a new vm named "ilnlrs-dev" with nebula key pair "gltg"
Code Block ./makevm.sh -n ilnlrs-dev -k gltg
- set up the environment. In a linux (mac) shell within the viritualenv
Setup Nginx Server
Login to the Nginx server. If you are using the project key pair it will look like this (make sure you have the key in your .ssh folder, get it from Nebula interface https://nebula.ncsa.illinois.edu/dashboard/project/access_and_security/:
Code Block ssh -i ~/.ssh/<key> ubuntu@<vm floating ip address>