Xen 4, il giorno dopo

Eccomi qui!

Mi hanno gi? rubato un nodo del fatidico cluster, comunque nel frattempo ho altro da fare.

Infatti dopo ave installato XenCenter e averci sbattuto un po la testa mi accorgo che il suo utilizzo ? osceno!

Forse ? per la poca maturit? del prodotto ma XenCenter non visualizza in modo corretto le risorse e non riesco nemmeno a creare un sotrage shared con NFS..

Mi ? successo pure che certi settaggi cambiavano solo chiudendo e riaprendo la GUI.

Allora mi sono deciso di seguire la via che nei sistemi unix di solito funziona sempre: il fatidico terminale con i suoi comandi!

Ho praticamente lanciato i comandi qui sotto, ed ho scoperto che con xe (o xe.exe per windows) posso fare proprio tutto e ripeto TUTTO!

Create an SR on the NFS share at the Pool level

1.

Open a host text console on any XenServer Host in the Pool.
2.

Create the Storage Repository on server:/path

xe sr-create content-type=user type=nfs name-label=<SR name> shared=true device-config-server=<server> device-config-serverpath=<path>

The device-config-server refers to the hostname of the NFS server and device-config-serverpath refers to the path on the server. Since shared is set to true, the shared storage will be automatically connected to every host in the Pool and any hosts that subsequently join will also be connected to the storage. The UUID of the created Storage Repository will be printed on the screen.
3.

Find the UUID of the Pool

xe pool-list

4.

Set the shared storage as the Pool-wide default

xe pool-param-set uuid=<UUID of the Pool> default-SR=<UUID of the Storage Repository>

Since the shared storage has been set as the Pool-wide default, all future VMs will have their disks created on shared storage by default.

In 5 minuti sono riuscito a fare quello che su un ora con la GUI non riuscivo neanche a concepire!

2 thoughts on “Xen 4, il giorno dopo

  1. Sto testando anche io Xen SE ed ho riscontrato gli stessi problemi con XenCenter. Come te ho deciso di lasciare completamente la GUI (peccato perch? faciliterebbe tantissimo la gestione…).

  2. Speriamo su qualche update ;) a livello di performance e costi Xen ? la scelta migliore. Soluzioni come Esx sono troppo costose e lente.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>