cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ro...@apache.org
Subject [cloudstack] 09/09: CLOUDSTACK-10193: Use other64Linux for systemvms on VMware
Date Sun, 17 Dec 2017 07:01:10 GMT
This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch debian9-systemvmtemplate
in repository https://gitbox.apache.org/repos/asf/cloudstack.git

commit af4668c5269752cb909a3c357a3e11015ba8fbb9
Author: Rohit Yadav <rohit.yadav@shapeblue.com>
AuthorDate: Sun Dec 17 12:26:35 2017 +0530

    CLOUDSTACK-10193: Use other64Linux for systemvms on VMware
    
    In default/fresh installations, the guest os type for systemvms with id=15
    or Debian 5 (32-bit) can cause memory allocation issues to guest. Using
    Other Linux 64-bit as guest OS systemvms get all the allocated RAM. This
    avoids OOM related kernel panics for certain VRs such as rVRs, lbvm etc.
    
    Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
---
 setup/db/db/schema-41000to41100.sql | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/setup/db/db/schema-41000to41100.sql b/setup/db/db/schema-41000to41100.sql
index 2a2fe2d..76bcb3f 100644
--- a/setup/db/db/schema-41000to41100.sql
+++ b/setup/db/db/schema-41000to41100.sql
@@ -495,3 +495,7 @@ UPDATE `cloud`.`monitoring_services` SET pidfile="/var/run/apache2/apache2.pid"
 
 -- Boost secondary storage systemvm
 UPDATE `cloud`.`service_offering` SET ram_size=1024, cpu=2 WHERE vm_type="secondarystoragevm"
and cpu=1 and ram_size=512;
+
+-- Use 'Other Linux 64-bit' as guest os for the default systemvmtemplate for VMware
+-- This fixes a memory allocation issue to systemvms on VMware/ESXi
+UPDATE `cloud`.`vm_template` SET guest_os_id=99 WHERE id=8;

-- 
To stop receiving notification emails like this one, please contact
"commits@cloudstack.apache.org" <commits@cloudstack.apache.org>.

Mime
View raw message