Hi,<br>
<br>
In your /etc/hosts file you can have many names for the same IP:<br>
<br>
192.168.0.10 worker workerlvm<br>
<br>
You can associate worker to tm_ssh and workerlvm to tm_lvm.<br>
<br>
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".<br>
<br>
Regards,<br>
<font color="#888888">Jaime</font><br><br><div class="gmail_quote">On Sat, Nov 7, 2009 at 5:33 AM, Shi Jin <span dir="ltr"><<a href="mailto:jinzishuai@gmail.com">jinzishuai@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi there,<br>
<br>
Is there a way for a host to have multiple tm drivers?<br>
I tried to add the same host twice using "onehost create" with<br>
different drivers and didn't get complaints.<br>
But when I deploy the images, sometimes I will have errros.<br>
The problem is that it may use the ssh driver to image that needs lvm<br>
or lvm driver to the image needing ssh.<br>
When it happens to use the right driver, it works perfectly.<br>
<br>
I guess the best solution is to specify the driver in the template for<br>
each disk instead of for hosts. This way, we could have a VM with<br>
multiple disks, one using LVM and another using ssh. How do you think?<br>
<br>
Thanks.<br>
Shi<br>
<font color="#888888"><br>
--<br>
Shi Jin, Ph.D.<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</div></div></blockquote></div><br>