-
-
Save gcgists/6466705 to your computer and use it in GitHub Desktop.
This file contains 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
# Setup for multi-node system with glance as storage backend | |
echo "gridcentric_use_image_service=true" | sudo tee -a /etc/nova/nova.conf |
This file contains 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
# Setup for multi-node systems using NFS as storage backend | |
# Note: set NFSSERVER and NFSPATH appropriate for your environment | |
apt-get install -y nfs-common | |
echo "$NFSSERVER:$NFSPATH /var/gridcentric nfs auto,defaults,rw,async,vers=3,sec=sys 0 0" | sudo tee -a /etc/fstab | |
sudo mount /var/gridcentric |
This file contains 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
$ nova help|grep live-image | |
live-image-create Creates a new live-image from a running instance. | |
live-image-delete Delete a live image. | |
live-image-export Export a live-image | |
live-image-import Import a live-image | |
live-image-list List the live images of this instance. | |
live-image-servers List instances started from this live-image. | |
live-image-start Start a new instance from a live-image. |
This file contains 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
# Install the API extension | |
sudo apt-get install -y cobalt-api |
This file contains 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
# Install the API extension (Folsom/Essex) | |
sudo apt-get install -y nova-api-gridcentric |
This file contains 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
# Install the Compute package and dependencies | |
sudo apt-get install -y linux-headers-`uname -r` vms-apparmor | |
sudo apt-get install -y cobalt-compute vms-libvirt vms-mcdist |
This file contains 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
# Install the Compute package and dependencies (Folsom/Essex) | |
sudo apt-get install -y linux-headers-`uname -r` vms-apparmor | |
sudo apt-get install -y nova-compute-gridcentric vms-libvirt vms-mcdist |
This file contains 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
# Install the Horizon dashboard plugin | |
sudo apt-get install -y cobalt-horizon cobalt-novaclient |
This file contains 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
# Install the Horizon dashboard plugin (Folsom/Essex) | |
sudo apt-get install -y horizon-gridcentric cobalt-novaclient |
This file contains 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
# Install Gridcentric signing key | |
wget -O - http://downloads.gridcentric.com/packages/gridcentric.key | sudo apt-key add - | |
# Add Gridcentric repositories | |
echo deb http://downloads.gridcentric.com/packages/cobaltclient/havana/ubuntu/ gridcentric multiverse | sudo tee -a /etc/apt/sources.list.d/cobaltclient.list | |
# Update apt | |
sudo apt-get update | |
# Install the novaclient plugin for all users | |
sudo apt-get install -y cobalt-novaclient |
This file contains 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
# Install the novaclient plugin for the current user | |
pip install --user cobalt_python_novaclient_ext |
This file contains 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
# Put your download key here: | |
export GC_KEY=xxxxxxxxxxxxxxxxxxxxxx | |
# Install Gridcentric signing key | |
wget -O - http://downloads.gridcentric.com/packages/gridcentric.key | sudo apt-key add - | |
# Add Gridcentric repositories | |
echo deb http://downloads.gridcentric.com/packages/cobaltclient/havana/ubuntu/ gridcentric multiverse | sudo tee -a /etc/apt/sources.list.d/cobaltclient.list | |
echo deb http://downloads.gridcentric.com/packages/cobalt/havana/ubuntu/ gridcentric multiverse | sudo tee -a /etc/apt/sources.list.d/gridcentric.list | |
echo deb http://downloads.gridcentric.com/packages/$GC_KEY/vms/uca/havana/ gridcentric multiverse | sudo tee -a /etc/apt/sources.list.d/gridcentric.list | |
# Update apt | |
sudo apt-get update |
This file contains 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
# Restart the nova gridcentric service | |
sudo restart cobalt-compute |
This file contains 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
# Restart the nova gridcentric service (Folsom/Essex) | |
sudo restart nova-compute-gridcentric |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment