[one-users] host with both tm_ssh and tm_lvm
j.melis at gmail.com
Sat Nov 7 01:42:05 PST 2009
In your /etc/hosts file you can have many names for the same IP:
192.168.0.10 worker workerlvm
You can associate worker to tm_ssh and workerlvm to tm_lvm.
In the VM template file you can use the REQUIREMENTS directive to specify that the VM must be deployed in a node ending with "lvm".
From: Shi Jin <jinzishuai at gmail.com>
Date: Fri, 06 Nov 2009 21:33:29
To: <users at lists.opennebula.org>
Subject: [one-users] host with both tm_ssh and tm_lvm
Is there a way for a host to have multiple tm drivers?
I tried to add the same host twice using "onehost create" with
different drivers and didn't get complaints.
But when I deploy the images, sometimes I will have errros.
The problem is that it may use the ssh driver to image that needs lvm
or lvm driver to the image needing ssh.
When it happens to use the right driver, it works perfectly.
I guess the best solution is to specify the driver in the template for
each disk instead of for hosts. This way, we could have a VM with
multiple disks, one using LVM and another using ssh. How do you think?
Shi Jin, Ph.D.
Users mailing list
Users at lists.opennebula.org
More information about the Users