Hi,<div><br></div><div>Take a look at the Java OCA [1]. You Java code can run as any user, the opennebula authentication is done using the session string, see [2]</div><div><br></div><div>Regards</div><div><br></div><div>[1] <a href="http://opennebula.org/documentation:rel3.6:java">http://opennebula.org/documentation:rel3.6:java</a></div>
<div>[2] <a href="http://opennebula.org/doc/3.6/oca/java/org/opennebula/client/Client.html#Client(java.lang.String">http://opennebula.org/doc/3.6/oca/java/org/opennebula/client/Client.html#Client(java.lang.String</a>, java.lang.String)<br clear="all">
--<br>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
<br>
<br><br><div class="gmail_quote">On Wed, Oct 10, 2012 at 3:36 PM, Bhupendra Kumar Teli <span dir="ltr"><<a href="mailto:bhupendra.bkt11@gmail.com" target="_blank">bhupendra.bkt11@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">hiiii</span><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
I have installed opennebula...and it's running...now I want to write java code for dynamically allocation of vm to user according to requirement for that what should I do and where I have to run this code in oneadmin or in root??? </div>
<span class="HOEnZb"><font color="#888888">
<div><br></div>-- <br>----------------------------<br>Regards,<br>Bhupendra Kumar Teli<br>M. Tech(IT)<br>11536007<br>IIT Roorkee<br><a href="tel:%2B91-8439869004" value="+918439869004" target="_blank">+91-8439869004</a><br>
</font></span><br>_______________________________________________<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>
<br></blockquote></div><br></div>