martedì 27 luglio 2010

XenServer 5.6 Online HTML Guides from Citrix

Citrix XenServer ® 5.6 Virtual Machine Installation Guide
Release 5.6
http://docs.vmd.citrix.com/XenServer/5.6.0/1.0/en_gb/guest.html

Citrix XenServer ® 5.6 Administrator's Guide
Release 5.6
http://docs.vmd.citrix.com/XenServer/5.6.0/1.0/en_gb/reference.html

Citrix XenServer ® 5.6 Xe Command Line Interface CLI reference
Release 5.6
http://docs.vmd.citrix.com/XenServer/5.6.0/1.0/en_gb/reference.html#cli

For your convenience inside there is the entire administration summary

Windows VM guest How To Install XenServer Tools ( Citrix Tools for Virtual Machines )

When I was a poor newbie with XenServer (until yesterday :-) ), I had to search a lot to find the instructions on how to install xen-tools for xenserver ;-P

The main error was searching for xentools or xen-tools, that is not the correct name for Citrix XenServer.
The correct one is Citrix Tools for Virtual Machines, what they at Citrix call
The Citrix paravirtualized network and SCSI drivers (Citrix Tools for Virtual Machines)

If you experience XenServer poor performances in Windows VM guests disk write speed or network file transfer speed, you'd better read the full story about how to install and purposes of
Citrix Tools for Virtual Machines formerly PV (paravirtualized) device drivers
(click the link to read official documentation from Citrix)

Please note that official documentation says:
Running Windows VMs without these drivers is not supported.
Please also note that official documentation says:
Warning:
Before updating Windows operating systems you must uninstall the PV device drivers. If they are present during the attempt to update, the update will fail
.

Ciao
R.

giovedì 22 luglio 2010

xenserver xe sr-create error The SR operation cannot be performed because a device underlying the SR is in use by the host

This error looks to me to come mainly from the xenserver SR database.

If entering command like

xe sr-create shared=true device-config:device="/dev/drbd1" name-label="DRBD-SR1" type=lvm

exits and returns

The SR operation cannot be performed because a device underlying the SR is in use by the host.

you'd better verify that drbd1 is not already part of the xenserver SR database and if the case, remove it (obviously if you really deleted it in your drbd experimentations)

That is the clean solution... otherwise I'm quite sure (not tested) that choosing a different device name, would work like a charm but this would make not much sense.

Please note that playing with drbd may result in such situation where you already used any drbd resource name to provide some SR to xenserver and next, you forget it...

Robert

venerdì 16 luglio 2010

XenServer 5.6 How To Backup VMs on a windows share

To Backup one XenServer VMs on a windows share, first we need to mount the windows share on the XenServer.

This is done at XenServer command line interface level.
Ssh connect to XenServer and create the needed directory (I call it backup)

[root@XenServer /]#mkdir /backup

next step is to mount the windows share (windows machine is 192.168.0.200 and the share name is ttm) in the brand new backup directory:

[root@XenServer /]#mount -t cifs //192.168.0.200/ttm -o username=user,password=password /backup

be sure that your windows box ip address matches and please note that cifs requires slashes and not backslashes, so the correct symbol is '/'

If everything went ok, we should be able to verify the mounted share:

[root@XenServer /]#mount | grep backup
//192.168.0.200/ttm on /backup cifs (rw,mand)

We are now ready to export VMs on a windows share.
This is done by the following command

[root@XenServer /]#xe vm-export vm=vmname filename=/backup/vmname.xva

WARNING! - If you did it via ssh, DO NOT close the ssh terminal, 'cause this would stop the export process

after the process is started nothing happen on the xenserver console, but if you check the windows directory the .xva file should be present and groving

when export process succeed the following message is printed

[root@XenServer /]#Export succeeded

mercoledì 14 luglio 2010

Blogspot, i commenti spariscono e non si pubblicano

ATTENZIONE! A tutti i blogger, i commenti di blogspot funzionano male.

Sono incappato in una strana problematica: non riesco a scrivere commenti su quasi nessun blog di blogspot.

Compilo tutti i campi ma alla fine, neanche l'anteprima funziona e cliccando pubblica o anteprima tutto il testo sparisce.

Quel che è peggio è che non potevo scrivere i commenti neanche in questo mio stesso blog... eh no!! A tutto c'è un limite e allora mi sono impuntato.

La soluzione è stata di modificare le impostazioni del blog nella sezione dei commenti e impostare il modulo "a pagina intera"

Se volete garantirvi il massimo dei commenti, è meglio che cambiate il settaggio suddetto, altrimenti i poveri lettori vi manderanno a quel paese.

Infatti non funziona nessuno dei metodi, account google, anonimo, nome utente e url etc etc.

Ciao e se vi è stato utile... scrivetemi un feedback... ora finalmente i commenti funzionano correttamente.

Nota: Io uso firefox e lo aggiorno continuamente. Non ho neanche provato con altri browser, non mi importa. Concettualmente se un utente firefox non può commentare nel mio blog, questo è un gravissimo problema ed una gravissima limitazione.

martedì 13 luglio 2010

Outlook 2007 Postfix error 0x800CCC80

On many of my customers I've got a Fax Server made with Hylafax.

Faxes traffic is notified by email and because of this postfix is installed without too much security, the reason of this is that emails are sent only locally: no internet access for the Fax Server.

Well, today they introduced Outlook 2007 in one client and mails from that outlook 2007 client are not sent anymore with error 0x800CCC80.

How to fix this? After some checks I noticed

domenica 11 luglio 2010

A python multiplatform alternative to Citrix XenCenter: OpenXenManager

Author of OpenXenManager aka OpenXenCenter says the project has born because of the non sense to have a virtualization system based on linux that graphically can only be managed from windows O_o!?

Why not to have a linux graphical manager for xenserver?

From here you reach the project page
http://www.openxenmanager.com/

download it and run it by python engine

Here you can find the python engine, useful for both windows, linux, osx and so on users
http://www.python.org/download/

This is an official tutorial for the OpenXenManager windows version installation

Do you like this? Drop a comment, thank you

I.C.

XenServer 5.6 How To Configure NICs and dedicate one to DRBD use

How to configure the tcp/ip in XenServer 5.6 NICs and eventually dedicate one NIC to be used for storage only.
How to configure xenserver 5.6 NICs for use with drbd

I've found one nice paragraph on the Citrix XenServer ® 5.6 Administrator's Guide :
It's title is Configuring a dedicated storage NIC .

How to configure network interface card ip address, netmask, gateway, dns and so on in XenServer 5.6, is found in the XenServer 5.6 CLI xe command reference under the item pif-reconfigure-ip .

Configuring NICs in XenServer 5.6 examples are shown in the links above.

If these tips saved you some time (I've lost a lot searching them), please drop a comment.

I.C.