cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Levitskiy <Sergey.Levits...@autodesk.com>
Subject Re: replicate templates Between regions
Date Tue, 04 Oct 2016 20:53:17 GMT
You can specify ‘All zones’ when registering template in UI that will be auto replicated
to all zones.
If you using API this is accomplished by specifying zoneid=-1 In regitertemplate call e.g.

command=registerTemplate&response=json&name=test&displayText=test&url=sampleURL&zoneid=-1&format=OVA&isextractable=false&passwordEnabled=false&isdynamicallyscalable=false&osTypeId=5b6e3213-3fca-11e5-9c45-005056ad45b7&hypervisor=VMware&ispublic=false&isfeatured=false&isrouting=false


On 10/4/16, 1:41 PM, "Rene Moser" <mail@renemoser.net> wrote:

    Hi
    
    AFAIK there is no build in way, however luckely there is ansible.
    
    this is how the playbook looks like
    https://gist.github.com/resmo/74612d4fff6faccea5197f41753b7dd0
    
    create a cloudstack.ini with 2 sections (first region, second region) as
    described here
    http://docs.ansible.com/ansible/guide_cloudstack.html#credentials-file
    
    Regards
    René
    
    On 10/04/2016 09:19 PM, Ghaith Bannoura wrote:
    > Hello All,
    > 
    > Is there any automated way to replicate templates between regions ?
    > 
    > Best Regards
    > 
    > Ghaith Bannoura
    > 
    

Mime
View raw message