[one-users] host with both tm_ssh and tm_lvm

Javier Fontan jfontan at gmail.com
Tue Nov 10 02:55:26 PST 2009


Hello,



On Mon, Nov 9, 2009 at 5:25 PM, Shi Jin <jinzishuai at gmail.com> wrote:
> I have another problem having two groups of drivers on the same  host.
> This is the error message from the oned.log
> Mon Nov  9 09:19:34 2009 [InM][I]: STDERR follows.
> Mon Nov  9 09:19:34 2009 [InM][I]: bash:
> /tmp/one-im//one_im-218131afa926b52434fc7ee9e027cddf: /usr/bin/env:
> bad interpreter: Text file busy
> Mon Nov  9 09:19:34 2009 [InM][I]: ExitCode: 126

> I think the problem is that the im driver groups (although they are
> the same) are writing on top of each other, making the script file not
> available at the time of execution. I hope there can be solution to
> this problem.

That is the problem. I think you can solve the problem this way:

* Copy $ONE_LOCATION/etc/im_kvm to im_km2
* Set in im_kvm2/im_kvmrc IM_REMOTE_DIR to other directory (you can
simply add "2" to the name of the dir
* Add another im like the one you have but using this new config files:

--8<------
IM_MAD = [
      name       = "im_kvm2",
      executable = "one_im_ssh",
      arguments  = "im_kvm2/im_kvm.conf" ]
------>8--

* Use im_kvm2 for the duplicated hosts

Bye


-- 
Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org



More information about the Users mailing list