The identity of the system vm template / virtual router template is
determined in VMTemplateDaoImpl.java
(findRoutingTemplate etc).
This is not the best way : especially in a multihypervisor zone, the
selection of the template becomes muddy.

The other question is : why do you want a different template? Starting a
VR requires a whole bunch of coordination with the management server
(patching, probing port 3922 etc).


Note: "domainrouter" is a legacy name from CloudStack 1.0 which supported
XenServer exclusively. In XS, the virtual machine instances are called
"domains", and a special domain, "domain 0" exists to help the hypervisor.
The "domain router" was conceptualized to assist the CloudStack much in
the same manner. Today we call it "system vm" or "virtual router".
 

On 4/23/12 5:02 PM, "Bryan Whitehead" <dri...@megahappy.net> wrote:

>http://docs.cloudstack.org/Knowledge_Base/Customizing_system_VMs
>
>This guide looks like I need to hack up the system vm image that all
>the systems VM's use. I'd like to create a parallel systemVM,
>specifically I'd like to keep the "Advanced Router" as is and also
>build a separate Router "fooBarRouter". Is this possible?
>
>The API call createServiceOffering looks like it can only have 3
>options, "domainrouter", "consoleproxy" and "secondarystoragevm" for
>systemvmtype. Assuming I pass "systemvmtype=domainrouter" and set
>"issystem=true" I don't see how I can associate a different template
>for "domainrouter". Is this something inherited from "domainid"?
>Example, can a domain have a different default template for
>domainrouter?
>
>Or would I just use a preconfigured ServiceOffering and then tweak
>createNetworkOffering in some way to know an "Advance Router" would
>really be an alternative systemVM/templateid?
>
>Any pointers would be appreciated. I'm also willing to do the work to
>add this kind of functionality into CloudStack.
>
>-Bryan
>
>--------------------------------------------------------------------------
>----
>Live Security Virtual Conference
>Exclusive live event will cover all the ways today's security and
>threat landscape has changed and how IT managers can respond. Discussions
>will include endpoint security, mobile security and the latest in malware
>threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>_______________________________________________
>cloudstack-users mailing list
>cloudstack-us...@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/cloudstack-users

Reply via email to