Category: kvm

  • MySQL Meet-up 20141208

    I had an enjoyable time last night at Twitter with local MySQL DBAs and developers. We had an attendee who has no experience with SQL or programming at all. She is interested in organizing her collection of recipes and had heard a rumor that MySQL was a good tool to use for this task. She…

  • Juniper Olive VM XML

    For use with http://web.dit.upm.es/vnxwiki/index.php/Vnx-rootfsolive and http://blog.gns3.net/2009/10/olive-juniper/2/ $ cd /var/lib/libvirt/images $ sudo qemu-img create -f qcow2 vnx_rootfs_olive.qcow2 7G $ sudo wget ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/ISO-IMAGES/4.11/4.11-RELEASE-i386-miniinst.iso $ sudo brctl addbr testnet $ sudo ip addr add 172.18.36.2/24 dev testnet $ sudo ip link set up dev testnet $ wget -O /tmp/olive.xml https://wp.colliertech.org/cj/wp-content/uploads/2014/05/olive.xml $ sudo virsh define /tmp/olive.xml $ sudo virsh…

  • I just realized how old these name servers are

    I guess I’ve had them around for a while… Maybe I should clean these up… cjac@ns1:~$ ls /lib/modules/ 2.6.18-4-xen-amd64colliertech.fw+0 2.6.32-5-amd64 2.6.24-19-xen 3.2.0-4-amd64 cjac@ns2:~$ ls /lib/modules/ 2.6.18-4-xen-amd64colliertech.fw+0 2.6.24-19-xen 2.6.32-5-amd64 cjac@ns2:~$ sudo rsync -aue ssh ns1:/lib/modules/`uname -r` /lib/modules I remember editing the .config file for that kernel and building it on my first ever 64-bit system back…

  • Bringing the VMs back online

    okay. New hypervisor hardware. Switching from xen to KVM. I took a snapshot of the xen partitions and moved them to a holding location during migration. I am now imaging these partitions to the LVM block devices: calcifer:/home/cjac# for guest in `ls /usr/src/moonunit-guests/ | grep -v -e etc | awk -F- ‘{print $1}’` ; do…

  • This is getting serious.

    I might have to visit the HP on which I recently upgraded the iLO firmware… Maybe it would be good if the family visited Seattle. cjac@foxtrot:~$ ps auwx | grep ‘ping ad0.colliertech.o’ cjac 8411 0.0 0.0 10692 920 pts/8 S+ Apr25 0:32 ping ad0.colliertech.org cjac@foxtrot:~$ ping ad0.colliertech.org PING ad0.colliertech.org (208.115.126.68) 56(84) bytes of data. 64…

  • Relatively high sustained rates detected along I-405

    $ scp moonunit.colliertech.org:/mnt/downloads/sh1-disk-20140420T070034.xz . cjac@moonunit.colliertech.org’s password: sh1-disk-20140420T070034.xz 76% 534MB 11.1MB/s 00:14 ETA Come on little internet! You can do it! You can push 100Mbit! I remember when this was the fastest I could send data across my LAN. Not bad for a 20 mile shot up I-405. Sorry if I caused any congestion there, folks.…

  • AD Physical to Virtual conversion… Continued!

    So I wasn’t able to complete the earlier attempt to boot the VM. Something to do with the SATA backplane not having enough juice to keep both my 6-disk array and the w2k8 disk online at the same time. I had to dd the contents off of the w2k8 disk and send it to the…

  • Windows is *still* loading files

    I’m moving the active directory server off of hardware on to the hypervisor. I think if I boot the drive as USB I can install the virtio disk drivers on the system. Fingers crossed! Only thing is that this first boot off of a USB device takes *sooooo* long!

  • Vacation Tasks

    So, I’m taking vacation this week and next. Here’s a (partial) list of tasks that are left to do: Visit BC for NANOG 55 Work with Threshold Communications to verify interop is working as well as it seems to be Make sure the UTC has acknowledged receipt of our 2012 filing Complete move of storage…

  • Migrating VMs from pure paravirt hypervisor to hvm-capable hypervisor

    I’m also changing all of my disk layouts from being block devices per each guest partition to one block device hypervisor side per each /dev/xvd* guest side. The block devices all live on a single storage server and are being served via iSCSI. One of the guests is making use of AoE, but I’m thinking…