Skip to content

Instantly share code, notes, and snippets.

# Setup for multi-node system with glance as storage backend
echo "gridcentric_use_image_service=true" | sudo tee -a /etc/nova/nova.conf
#cloud-config
runcmd:
- [ touch, /tmp/alive ]
# Setup for multi-node system with glance as storage backend
echo "gridcentric_use_image_service=true" | sudo tee -a /etc/nova/nova.conf
<#
.SYNOPSIS
Generates a new machine account with the given password.
.DESCRIPTION
Generates a new machine account in active directory with the given password.
This cmdlet is useful for creating machine accounts for Gridcentric Live Images.
.PARAMETER Name
Name for the machine account to create. Must be exactly 15 characters.
.PARAMETER Password
The plain-text password to set for the machine account.
@gcgists
gcgists / gc_example_migrate_during.sh
Last active December 22, 2015 18:39
OpenStack live migration with Cobalt and VMS
$ nova list
+--------------------------------------+---------------------+-----------+-----------------------+
| ID | Name | Status | Networks |
+--------------------------------------+---------------------+-----------+-----------------------+
| 76c9f4eb-0111-409a-8e88-e5eb2d5c850e | lm-test | MIGRATING | internal=X.X.X.X |
+--------------------------------------+---------------------+-----------+-----------------------+
@gcgists
gcgists / quickstart_single_step.sh
Last active December 23, 2015 20:59 — forked from andreslagarcavilla/setup.sh
wget setup to the right file
# Put your download key here:
export GC_KEY=xxxxxxxxxxxxxxxxxxxxxx
wget -O setup.sh https://gist.github.com/gcgists/6693644/raw/setup.sh
chmod a+x setup.sh
sudo ./setup.sh $GC_KEY
@gcgists
gcgists / download_vms_supplemental_pack_xs62.sh
Created October 2, 2013 14:20
Download and verify the VMS Supplemental Pack for XenServer 6.2
wget http://downloads.gridcentriclabs.com/packages/$GCKEY/dist/vms.iso
md5sum vms.iso
wget --quiet -O - http://downloads.gridcentriclabs.com/packages/$GCKEY/dist/vms.iso.md5
# Compare both md5 outputs
@gcgists
gcgists / install_vms_xs62_suppack.sh
Created October 2, 2013 14:26
Installing the VMS Supplemental Pack for XenServer 6.2 from a host root shell
xe-install-supplemental-pack /root/vms.iso
# Follow prompts. Reboot after a successfull install
[ $? ] && reboot
@gcgists
gcgists / vms_suppack_xs62.sh
Last active December 24, 2015 14:49
Download and install the Gridcentric VMS Supplemental Pack to a XenServer 6.2 host.
wget http://downloads.gridcentriclabs.com/packages/$GCKEY/vms.zip
unzip vms.zip
# Ensure checksums match
cat vms.iso.md5
md5sum vms.iso
xe-install-supplemental-pack $PWD/vms.iso
# Follow prompts. Reboot after a successfull install
[ $? ] && reboot
echo | sudo tee -a /etc/nova/nova.conf <<EOF
osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions
osapi_compute_extension=veta.extension.Veta_extension
EOF
sudo restart nova-api