[one-users] command to deploy VM on remote host

Héctor Sanjuán hsanjuan at opennebula.org
Fri Mar 25 06:07:34 PDT 2011


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, knawnd at gmail.com 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/> |
>> cmartin at opennebula.org <mailto:cmartin at opennebula.org>
>>
>>
>> On 24 March 2011 15:41, <knawnd at gmail.com <mailto:knawnd at gmail.com>>
>> 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
>>     Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
>>     http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


-- 
Héctor Sanjuan
OpenNebula.org



More information about the Users mailing list