Blog Archives

CloudStack: volume files on primary storage

Rock over to the GUI, click on the instance your interested in. Get the ID of the volume from the Volumes tab. For example 4bedcf64-5526-4777-bac1-98c638c32116 Jump into MySQL client and run this query:

So the path to your volume’s

Posted in CloudStack

CloudStack only binds to IPv6

Problem Sometimes CloudStack decides that IPv6 is the right thing to bind to and doesn’t bother with IPv4. Which in the fullness of time will probably be the norm but it’s not where we are today so most of us

Posted in CloudStack

High-res Bitcoin wallpaper my friend made

If you have a desktop and you like Bitcoin then say no more. Pop over to the Bitcoin subreddit and upvote this lad http://www.reddit.com/r/Bitcoin/comments/1faono/a_high_resolution_bitcoin_desktop_wallpaper_i/

Posted in Odd Bits

XenServer: boot guest into single user mode

Don’t you just love when your *nix VM decides not to boot, or the bloody intern lost the root password. Fear not. Boot into single user mode! 1. Open up XenCenter 2. Right click on VM, click Properties 3. Click

Posted in CloudStack, Linux bits

CloudStack: Graph number of VMs in Cacti

I love graphing stuff. So here’s how to graph the number of different types of VMs running on CloudStack. By the end you should have something pretty like this on your Cacti. I’m assuming you already have Cacti installed and

Posted in CloudStack

CloudStack: remote access VPN in Ubuntu 12.10

Goal: Install L2TP VPN client on Ubuntu 12.10 and connect to remote access VPN pre-configured in CloudStack Install the required packages (as root user or sudo)

Launch “L2TP Ipsec VPN Applet” from your Application/Internet menu. A new applet should

Posted in CloudStack

Expand LVM on VMware by growing vdisk size

Sure VMware can increase disk sizes quickly and easily but thats not much use unless you can expand the paritions on that disk. In this example I have a Linux install built on LVM. I want to increase the size

Posted in Linux bits

Clone disk over SSH

This is pretty handy. It will make an exact copy of a disk on your local machine to a disk on a machine anywhere running Linux with an SSH server running. Because we’re playing with filesystems I strongly recommend you

Posted in Linux bits, Uncategorized

CloudStack: get number of instances script

Heres a handy piece of Python that will output a few totals of instances running in CloudStack. It’s handy for Nagios monitoring or some Cacti graphing. Figures include: VMware instances XenServer instances Virtual routers System VMs I don’t have any

Posted in CloudStack

CloudStack: change vCenter username and password

OK, lets run through the database tables and steps involved and changing your CloudStack vCenter username and/or password. I generally like to stop cloud-management service before changing like this. Tables involved cloud.host cloud.host_details cloud.cluster_details Log into your CloudStack management node

Posted in CloudStack