User Tools

Site Tools


cloud

Cloud Notes:

Supernova:

Xen:

To use local ISO storage from the control domain

Log onto the host console.

Create a directory to copy the local ISOs into: mkdir -p /var/opt/xen/iso

xe sr-create name-label=ISOS type=iso device-config:legacy_mode=true device-config:location=/var/opt/xen/iso content-type=iso

xe sr-scan uuid=“uuid provided from the above create”

API

List images:

curl -s https://servers.api.rackspacecloud.com/v1.0/acct#/images -X GET -H "Content-Type: application/json" -H "X-Auth-Token: authtoken" | python -m json.tool

Build server from image:

curl -s https://servers.api.rackspacecloud.com/v1.0/"acct#"/servers -H Content-Type: application/json" -H "X-Auth-Token: authtoken" -d '{"server":{"name" : "newservername","imageId" : existingsnapshotimageID,"flavorId":4}}'
cloud.txt · Last modified: 2013/11/13 16:47 by vinny