cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wei ZHOU <>
Subject Re: quick systemvm question
Date Fri, 07 Jun 2013 06:54:39 GMT

(1) cloud-install-sys-tmplt update the template with max(id)

select max(id) from cloud.vm_template where type = \"SYSTEM\" and
hypervisor_type = \"KVM\" and removed is null"`

(2) upgrade process update the template with specified name. in
pstmt = conn.prepareStatement("select id from `cloud`.`vm_template` where
name like 'systemvm-xenserver-4.2' and removed is null order by id desc
limit 1");

We are discussing in another thread "git commit: updated refs/heads/master
to 9fe7846". Please join us.


2013/6/7 Marcus Sorensen <>

> How does cloudstack know which template is the latest system vm? Does
> it match on name or something?  From what I have gathered in the
> upgrade docs, you simply register a new template, like any other, and
> run a convenience script that restarts your system vms. But I don't
> gather from this how cloudstack knows it's a system template (and
> further THE system template).

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message