Into the world of Virtual Hosting
I’m entering into Virtual Hosting. Many of the pages and services I’ve run out of spare gear at FSG are now moved or moving to a virtual host. I chose VPSLink for their \$7/mo tiny server, then while moving my domain name pointers discovered that Gandi.net is starting a virtual hosting business with more RAM and disk for about the same price.
Living in a tiny slice of a virtual host is certainly different from living in a leftover 2GHz/1GB/500GB PC, fortunately I remember when 64M of RAM was huge so I think I’ll get by just fine.
- postfix/dovecot in TLS, lighttpd+fastcgi+php5 all fits nicely.
- TLS incurs a fair bit of RAM use.
- CPU use is odd. I don’t have visibility to know if I am CPU bound. I don’t think I am, but I can’t see from inside my Xen box.
- The machine is noticeably sluggish at things like an initial rsync backup offsite. Slow disk? Slow network? I’m not sure.
- The total annual bill will cost less than the electricity to keep a PC powered up. Happy Earth Day!
I guess if you find the site gone and just this at archive.org you’ll know I’ve had a virtual hosting disaster. I don’t foresee a problem. I don’t know what the hosting company does if a machine fails, but I keep a full backup every night in my closet so I’ll be ok.
This looks like just what the doctor ordered but it failed to compile for me:
Did I do something wrong or do you have any suggestions to help fix it?
Thanks much,
Patrick -> patrickkirchner AT yahoo . com
Current Directory = /tmp/vhd2img
-->make
cc -g -MMD -Wstrict-prototypes -Wall -Werror vhd2img.c -o vhd2img
vhd2img.c:38:38: error: missing terminating ' character
vhd2img.c:59:37: error: missing terminating ' character
vhd2img.c:67:67: error: missing terminating ' character
make: *** [vhd2img] Error 1
Well, err, uh, duh! I poked around in the .c file and removed the whole license preamble then it compiled just fine. Sorry about that. It worked great but the resulting .raw and converted .qcow2 file give me a BSOD when run with kvm.
Thanks,
Patrick.
http://oss.netfarm.it/download/vhd2img-64bit-aware.tar.bz2
(use wget or direct link, a link from a page will cause 503)
contact me if interested (sherpya@netfarm.it)
from sourceforge (disktype.sourceforge.net). That program is also included in your favorite package manager. It'll make it a bit easier to figure out where your
partitions are located. This is a sample output, using my newly converted image file. "disktype myimage.img"
Regular file, size 31.00 GiB (33286000640 bytes)
DOS/MBR partition map
Partition 1: 29.31 GiB (31473008640 bytes, 61470720 sectors from 2048, bootable)
Type 0x83 (Linux)
Ext3 file system
UUID 09DE2E1E-2C2F-4378-A8E6-59C8723865C7 (DCE, v4)
Volume size 29.31 GiB (31473008640 bytes, 7683840 blocks of 4 KiB)
Partition 2: 2.687 GiB (2884632576 bytes, 5634048 sectors from 61472768)
Type 0x82 (Linux swap / Solaris)
Linux swap, version 2, subversion 1, 4 KiB pages, little-endian
Swap size 2.687 GiB (2884624384 bytes, 704254 pages of 4 KiB)