Jump into your mysql cloud db. Run this:
select op.id, name, total_capacity from op_host_capacity op, host h
where op.capacity_type=0 and op.host_id=h.id;
(my example output from a test cloud)
+----+-------------+----------------+
| id | name        | total_capacity |
+----+-------------+----------------+
|  8 | node0.cloud |    50373124096 |
| 10 | node1.cloud |    50373124096 |
+----+-------------+----------------+
2 rows in set (0.00 sec)


After, just run an update to double up the capacity for each host you
want to over-commit.

Example:
update op_host_capacity set total_capacity=50373124096 where id=8;
update op_host_capacity set total_capacity=50373124096 where id=10;

Note: I've already doubled up the capacity on these boxes.

On Wed, Jul 17, 2013 at 3:32 AM, Arnaud Gaillard
<[email protected]> wrote:
> Currently, if you really want to overcommit RAM, there is a workaround with
> KVM, but it involves to modify the value reported by the host directly in
> the database.
>
>
>
>
>
> On Wed, Jul 17, 2013 at 12:14 PM, Tao Lin <[email protected]> wrote:
>
>> Hi,Andreas,
>> Memory over-committing has not been support yet.Take a look at the
>> following links:
>>
>>
>> [1] http://markmail.org/message/u6i5mdwyf42icsff
>> [2] https://cwiki.apache.org/CLOUDSTACK/cpu-and-ram-overcommit.html
>>
>>
>> 2013/7/17 Andreas Huser <[email protected]>
>>
>> > Hello at all,
>> >
>> > i have two KVM Hypervisors with equal RAM à 16GB
>> > In the Cloudstack zone resource tab can i read "Allocated: 15.30 GB /
>> > 31.13 GB".
>> >
>> > When i configure memory overcommit *2 and restart the Cloud Manager. I
>> see
>> > the same "Allocated: 15.30 GB / 31.13 GB"
>> > Must this not now like e.g "Allocated: 15.30 GB / 62.26GB"  to be?
>> >
>> > many thanks
>> > Regards Andreas
>> >
>> >
>> >
>> >
>> >
>> > Mit freundlichen Grüßen
>> >
>> > Andreas Huser
>> > Geschäftsführer
>> > System Engineer / Consultant
>> > (Cisco Certified Solaris, Linux)
>> >
>> > ---------------------------------------
>> > Zellerstraße 28 - 77654 Offenburg
>> > Tel: +49(781) 1278689 0
>> > Mobil: +49(176) 10308549
>> > [email protected]
>> >
>> >
>> >
>> >
>> >
>>
>
>
>
> --
> *Arnaud Gaillard*
> CTO
> Mobile : +41 78 674 58 95
>
> <https://docs.google.com/file/d/0B2iGziD9SUPURU0yRjhSX1JhU0k/edit?usp=sharing>

Reply via email to