Showing entries 21 to 23
« 10 Newer Entries
Displaying posts with tag: xen (reset)
Small Tip: How to set up two interface Xen machine

This will be one of those posts I’d like to publish primarily to be able to coma back later and check it out instead of reading docs again

So, we have a server with two (or more) network interfaces are we need to be able to use more than one interface in our VDS machines. How do we set it up?

(more…)

?Gatekeepers of the Datacenter? vs. Freedom of choice in IT

I’ve written in the past about how enterprise management vendors can act as “Gatekeepers of the Datacenter” by virtue of what technologies they do or don’t support as part of their management solutions. This rather lame dynamic is a big part of the reason why a lot of otherwise great technologies dont make it all the way into the traditional enterprise.

The problem gets further compounded when one of these “Gatekeepers” is also a platform or stack vendor. See, it’s hard to resist the temptation of delivering the absolute best management for IBM products from a Tivoli solution while shortchanging non-IBM ones. Or, to lay this on one of the aspiring members of the big 4… how about getting support for SQL Server on Oracle’s Enterprise Manager. Hmmm… I’m gonna guess it sucks because Oracle wants you using their database. Besides, who uses OEM that isnt already an Oracle db customer?

Lucky for us, Hyperic has always …

[Read more]
Xen, fdisk, resize, why oh why...

So last night I had to resized one of my Xen partitions. So what was the magic to make this happen?


dd if=/dev/zero count= >> /var/lib/xen/images/shiitake.dsk


Then? I need to increase the partition map for my disk:


fdisk /dev/xvda


What did I do in fdisk? I deleted the partition, and then recreated it with the new available blocks. Of course the machine was running at the time. What is life without a few risks? But I have to ask myself, why doesn't fdisk have a resize command? I swear that tool hasn't changed in well over a decade.

I am running LVM so then I had to:


pvresize /dev/xvda2
lvresize -L +5G /dev/VolGroup00/LogVol00


And finally since the filesystem is ext3:

e2fsck -f /dev/mapper/VolGroup00-LogVol00
resize2fs /dev/mapper/VolGroup00-LogVol00

[Read more]
Showing entries 21 to 23
« 10 Newer Entries