-
-
Save timbot/6469222 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 <server> and <path> as appropriate for your environment | |
echo "<server>:<path> /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 yum 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 Compute package and dependencies | |
sudo yum install -y kernel-devel-`uname -r` vms-selinux cobalt-compute vms-libvirt vms-mcdist vmsfs |
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 yum install -y cobalt-horizon |
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 RHEL6 EPEL repo | |
sudo rpm -ivh http://fedora.mirror.nexicom.net/epel/6/`uname -m`/epel-release-6-8.noarch.rpm | |
sudo rpm --import https://fedoraproject.org/static/0608B895.txt |
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
# Install Gridcentric signing key | |
sudo rpm --import http://downloads.gridcentriclabs.com/packages/gridcentric.key | |
# Add Gridcentric repositories | |
echo "\ | |
[gridcentric-cobaltclient] | |
name=Cobalt Extension for novaclient | |
baseurl=http://downloads.gridcentriclabs.com/packages/cobaltclient/grizzly/centos/ | |
gpgcheck=1 | |
" | sudo tee /etc/yum.repos.d/gridcentric-client.repo | |
# Install the novaclient plugin for all users | |
sudo yum 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
# Put your download key here: | |
export GC_KEY=xxxxxxxxxxxxxxxxxxxxxx | |
# Install Gridcentric signing key | |
sudo rpm --import http://downloads.gridcentriclabs.com/packages/gridcentric.key | |
# Add Gridcentric repositories | |
echo "\ | |
[gridcentric-cobaltclient] | |
name=Cobalt Extension for novaclient | |
baseurl=http://downloads.gridcentriclabs.com/packages/cobaltclient/grizzly/centos/ | |
gpgcheck=1 | |
[gridcentric-cobalt] | |
name=Gridcentric Openstack Extensions | |
baseurl=http://downloads.gridcentriclabs.com/packages/cobalt/grizzly/centos/ | |
gpgcheck=1 | |
[gridcentric-vms] | |
name=Gridcentric Virtual Memory Streaming | |
baseurl=http://downloads.gridcentriclabs.com/packages/$GC_KEY/vms/centos/ | |
gpgcheck=1 | |
" | sudo tee /etc/yum.repos.d/gridcentric.repo |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment