Hi Héctor,

thanks for explanation!
Is there any docs describing the whole chain of ONE's actions starting from executing 'onevm create <VM_template_file>' or maybe someone could describe it for me.
I am trying to understand ONE behavior to adapt it for OpenVZ support.

Thanks in advance!
Nikolay.

Héctor Sanjuán wrote on 25/03/11 16:07:
Hi,

I believe it is:

deploy<path_to_deployment_file>

OpenNebula passes the contents for that deployment file using STDIN. The
deploy script then creates the deployment file in the desired path and
writes the STDIN contents into it:

domain=$1

mkdir -p `dirname $domain`
cat>  $domain

Hope it solves your question,

Héctor

El 25/03/11 13:54, [email protected] escribió:
Hi Carlos,

Sorry I wasn't clear enough asking a question in my previous email in
that thread. I meant what arguments I need to pass during e.g. the
following invocation on remote host:
[remote_host]$ $SCRIPTS_REMOTE_DIR/vmm/xen/deploy<some arguments>
if I'd like to deploy xen VM
It looks for me as the script e.g. deploy is invoked as
[remote_host]$$SCRIPTS_REMOTE_DIR/vmm/xen/deploy xen<path_to_VM_config>

Regards,
Nikolay.

Carlos Martín Sánchez wrote on 25/03/11 14:16:
Hi Nikolay,

You can check (and customize) the vmm_mad script files for each
hypervisor in your $VAR_LOCATION/remotes/vmm dir.
If you modify these scrips, use 'onehost sync' to update the files in
the remote hosts.

e.g. for Xen and system-wide installation, check
/var/lib/one/remotes/vmm/xen/deploy (and xenrc).

Regards,
Carlos.
--
Carlos Martín, MSc
Project Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org<http://www.opennebula.org/>  |
[email protected]<mailto:[email protected]>


On 24 March 2011 15:41,<[email protected]<mailto:[email protected]>>
wrote:

     Dear all,

     What command and with which arguments is executed on the remote
     host to deploy e.g. xen VM?

     Regards,
     Nikolay.
     _______________________________________________
     Users mailing list
     [email protected]<mailto:[email protected]>
     http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to