Archives for: July 2009

Jul/29
2009

Some little informations about debian keyrings, just for archive propose...

If you get something like that:

W: GPG error: http://security.debian.org etch/updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302B
W: GPG error: http://ftp.debian.org etch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302B
W: GPG error: http://updates.xensource.com etch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 841D6D8DFE3F8BB2
W: You may want to run apt-get update to correct these problems

you have to update your keyrings.

For the debian mirrors:
apt-get install debian-archive-keyring

And for the xen mirrors (current v 5.5):
wget -q http://updates.vmd.citrix.com/XenServer/5.5.0/GPG-KEY -O- | apt-key add -

Jul/23
2009

Recently i got an incident of a customer that he wants to trigger a shutdown on UPS fault e.g. battery discharged.
If you want to let your normal physical windows machine be managed by those triggers form the ups you have to install the powerchute software and connect it to the ups. But if you want to do this with your Xen-Server you propably won't polute it with snmp or other libraries you have to care about every update.

The small elegant path consists of following steps:
- create a Windows VM
- install Powerchute UPS Management Suite on it and connect it to your UPS
- install the Xencenter
- create a bat that conatains:

c:\xe\xe -s masterserver -u root -pw rootpw vm-shutdown vm=vm
c:\xe\xe -s masterserver -u root -pw rootpw host-disable host=masterserver
c:\xe\xe -s masterserver -u root -pw rootpw host-shutdown host=masterserver
(remember not to shutdown the "management"-vm that runs the script, just the otherswich my contain e.g. sql server)

- go to the management interface
- create a event on battery discharge e.g. and add the bat file there
- be happy

Jul/07
2009

I've tested and installed the new version on most of my environments. The upgrade works like a charm. There is a "new" storage repository version but don't worry the upgrade works. The only thing that you have to keep in mind is that if you upgraded a repository it won't work with older versions of xen server anymore. I really apreciate the "new" storage respositories with the snapshot feature (wich we waited for about over 2 years now). In summery there a some little new features but it's mostly the same only better.
One bad thing of the upgrade process is that in some circumstances your iso libraries won't work anymore (only local isos). I've previosly posted about this issue with a upgrade of the 4.x versions and still got only a workaround but no fix.