Hi Ewan,

> This would then allow you to configure which OSes have NX turned on, etc.  Is 
> this something that you want to tackle, Cory?

I'm already working on a way to do this, which is what prompted me to
ask for input on the various vm-params.  :)

Thanks for the feedback.  I've consolidated our vm-params and removed
ones that are already defaults.

Cory

--
Cory Wright
Software Developer
cory.wri...@rackspace.com




On Thu, Feb 17, 2011 at 5:53 PM, Ewan Mellor <ewan.mel...@eu.citrix.com> wrote:
>> -----Original Message-----
>> From: Cory Wright
>> Sent: 17 February 2011 20:41
>>
>> [Snip]
>>
>> Below are the vm-params from Nova that are different from what we
>> (Rackspace) currently use:
>>
>> Nova:
>>   Linux:
>>     platform: {}
>
> The platform flags (acpi, apic, etc) are specific to HVM, and they have no 
> effect for PV domains, so this is fine.
>
>>     PV_args: 'noninteractive'
>
> I think this just applies to our pre-manufactured Debian Etch VM, and really 
> shouldn't be here.  Salvatore, you added this as far as I can tell -- what 
> was the thinking here?
>
>>   Windows:
>>     platform: {'acpi': 'true', 'apic': 'true',
>>                'pae': 'true', 'viridian': 'true'}
>
> These are "good enough", but ideally we'd set these on a per-OS basis.  
> XenServer sets these using the appropriate template to match the OS that's 
> going to be installed, so you can see what differences there might be by 
> listing our templates and getting the recommended set of flags.  Most of the 
> time, this set is fine, but you might see performance degradation on older 
> versions of Windows if you don't match what we do in the appropriate 
> XenServer template.
>
> We currently don't have anywhere to put these flags, so we end up with this 
> hardcoded list.  It would be good to improve this.  We could figure out a 
> scheme whereby some metadata in Glance (e.g. an OS hint) turned into the 
> appropriate HVM platform flags.  This would then allow you to configure which 
> OSes have NX turned on, etc.  Is this something that you want to tackle, Cory?
>
>>   Both:
>>     other_config: {}
>>     user_version: '0'
>
> These are the defaults, so it makes no difference specifying them.
>
>> Also, we supply the following vm-params to all instances when booting
>> but they are not currently used in Nova.
>>
>>   ha_always_run: true,
>
> This says, "if the VM shuts down, for whatever reason, then immediately start 
> it again".  I presume this isn't what you want, but I presume that it isn't 
> taking effect because you don't have HA turned on.  If my assumptions are 
> correct, then I'd set this to false, for clarity.
>
>>   blocked_operations: {}
>>   ha_restart_priority: ""
>>   tags: []
>>   xenstore_data: {},
>
> All four are the default, so no effect.
>
> Cheers,
>
> Ewan.
>
>

_______________________________________________
Mailing list: https://launchpad.net/~openstack-xenapi
Post to     : openstack-xenapi@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack-xenapi
More help   : https://help.launchpad.net/ListHelp

Reply via email to