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 backup-schedule-add test 1h 1d | |
+------------+------------------+-------------------+--------+ | |
| ID | Frequency | Retention | Active | | |
+------------+------------------+-------------------+--------+ | |
| b-s64bz49p | Every 10 minutes | For the last hour | True | | |
| b-0eseoaea | Every hour | For the last day | True | | |
+------------+------------------+-------------------+--------+ |
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
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 |
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 | |
wget -O setup.sh https://gist.github.com/gcgists/6693644/raw/setup.sh | |
chmod a+x setup.sh | |
sudo ./setup.sh $GC_KEY |
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
<# | |
.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. |
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
#cloud-config | |
runcmd: | |
- [ touch, /tmp/alive ] |
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 |