[Openstack-operators] set max number of instances per compute node

Paul Ruth pruth at renci.org
Wed Jan 18 17:14:41 UTC 2012


Has anyone used this?  If I am reading it correctly this scheduler limits the number of virtual cpus on a host to max_cores (from nova.conf on the head node) times the number of cores on the host.  So, if I want one virtual core for each real core I can use this scheduler and set "max_cores = 1" on the head node.

Is this correct?  If this is correct I will try this out in the next day or so.

thanks,
Paul


On Jan 18, 2012, at 11:50 AM, Diego Parrilla Santamaría wrote:

Everett Toews wrote something really sexy a couple of months ago:

https://github.com/canarie/dair/blob/master/OpenStack/misc/hardware.py

May be you can give it good use!

--
Diego Parrilla
<http://www.stackops.com/>CEO
www.stackops.com<http://www.stackops.com/> |  diego.parrilla at stackops.com<mailto:diego.parrilla at stackops.com> | +34 649 94 43 29 | skype:diegoparrilla
<http://www.stackops.com/>





On Wed, Jan 18, 2012 at 5:33 PM, <J.O'Loughlin at surrey.ac.uk<mailto:J.O%27Loughlin at surrey.ac.uk>> wrote:

Are there any docs on configuring the various schedulers? I'm  putting together a test cloud, and have a variety of different servers.

Regards

John O'Loughlin
FEPS IT, Service Delivery Team Leader
________________________________________
From: Diego Parrilla Santamaría [diego.parrilla.santamaria at gmail.com<mailto:diego.parrilla.santamaria at gmail.com>]
Sent: 18 January 2012 16:28
To: O'Loughlin JF Mr (FEPS Faculty Admin)
Cc: fifieldt at unimelb.edu.au<mailto:fifieldt at unimelb.edu.au>; openstack-operators at lists.openstack.org<mailto:openstack-operators at lists.openstack.org>
Subject: Re: [Openstack-operators] set max number of instances per compute node

Correct me if I'm wrong, but this parameter is used by the SimpleScheduler, so it must be in the configuration file used by nova-scheduler.

Cheers
Diego

--
Diego Parrilla
<http://www.stackops.com/>CEO
www.stackops.com<http://www.stackops.com/><http://www.stackops.com/> |  diego.parrilla at stackops.com<mailto:diego.parrilla at stackops.com><mailto:diego.parrilla at stackops.com<mailto:diego.parrilla at stackops.com>> | +34 649 94 43 29<tel:%2B34%20649%2094%2043%2029> | skype:diegoparrilla
<http://www.stackops.com/>

[http://stackops.s3-external-3.amazonaws.com/STACKOPSLOGO-ICON.png]




On Wed, Jan 18, 2012 at 4:57 PM, <J.O'Loughlin at surrey.ac.uk<mailto:J.O%27Loughlin at surrey.ac.uk><mailto:J.O%27Loughlin at surrey.ac.uk<mailto:J.O%2527Loughlin at surrey.ac.uk>>> wrote:

Thanks,

I added this as an option to nova.conf on one of my compute nodes and doesn't work. Does it need to be set on the scheduler host? if so, is it possible to set different values for different compute hosts?

Regards

John O'Loughlin
FEPS IT, Service Delivery Team Leader
________________________________________
From: openstack-operators-bounces at lists.openstack.org<mailto:openstack-operators-bounces at lists.openstack.org><mailto:openstack-operators-bounces at lists.openstack.org<mailto:openstack-operators-bounces at lists.openstack.org>> [openstack-operators-bounces at lists.openstack.org<mailto:openstack-operators-bounces at lists.openstack.org><mailto:openstack-operators-bounces at lists.openstack.org<mailto:openstack-operators-bounces at lists.openstack.org>>] On Behalf Of Tom Fifield [fifieldt at unimelb.edu.au<mailto:fifieldt at unimelb.edu.au><mailto:fifieldt at unimelb.edu.au<mailto:fifieldt at unimelb.edu.au>>]
Sent: 18 January 2012 12:53
To: openstack-operators at lists.openstack.org<mailto:openstack-operators at lists.openstack.org><mailto:openstack-operators at lists.openstack.org<mailto:openstack-operators at lists.openstack.org>>
Subject: Re: [Openstack-operators] set max number of instances per compute node

http://docs.openstack.org/diablo/openstack-compute/admin/content/reference-for-flags-in-nova-conf.html

--max_cores     default: '16'   Integer value; Maximum number of instance
cores to allow per compute host.

Regards,

Tom

On 18/01/12 23:05, J.O'Loughlin at surrey.ac.uk<mailto:J.O%27Loughlin at surrey.ac.uk><mailto:J.O%27Loughlin at surrey.ac.uk<mailto:J.O%2527Loughlin at surrey.ac.uk>> wrote:
>
> All,
>
> is there a way to set the maximum number of instances or cores that can be used on a compute node? (similar to the max_cores option in eucalyptus)
>
> I'm running diablo.
>
> Regards
>
> John O'Loughlin
> FEPS IT, Service Delivery Team Leader
> _______________________________________________
> Openstack-operators mailing list
> Openstack-operators at lists.openstack.org<mailto:Openstack-operators at lists.openstack.org><mailto:Openstack-operators at lists.openstack.org<mailto:Openstack-operators at lists.openstack.org>>
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>

_______________________________________________
Openstack-operators mailing list
Openstack-operators at lists.openstack.org<mailto:Openstack-operators at lists.openstack.org><mailto:Openstack-operators at lists.openstack.org<mailto:Openstack-operators at lists.openstack.org>>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
_______________________________________________
Openstack-operators mailing list
Openstack-operators at lists.openstack.org<mailto:Openstack-operators at lists.openstack.org><mailto:Openstack-operators at lists.openstack.org<mailto:Openstack-operators at lists.openstack.org>>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


_______________________________________________
Openstack-operators mailing list
Openstack-operators at lists.openstack.org<mailto:Openstack-operators at lists.openstack.org>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20120118/af1f8f3f/attachment-0002.html>


More information about the Openstack-operators mailing list