From 3311e416d9bb297917fc3971a8fcc674f06f9afc Mon Sep 17 00:00:00 2001 From: Daniel Caires Date: Fri, 23 Jun 2023 11:02:26 -0300 Subject: [PATCH] Update hardware values for VM Change the VMs setting values for HDD, memory and CPU, based on latest hardware requirements informed in the installation guides. Test Plan: Pass: Virtual Machines are created with updated values for HDD, memory and CPU Story: 2005051 Task: 48197 Change-Id: I724de66f16f458ec934e3160dbcfe6c46b97730f Signed-off-by: Daniel Caires --- virtualbox/pybox/consts/node.py | 84 ++++++++++++++++----------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/virtualbox/pybox/consts/node.py b/virtualbox/pybox/consts/node.py index a53f97c..a46f1c9 100644 --- a/virtualbox/pybox/consts/node.py +++ b/virtualbox/pybox/consts/node.py @@ -7,73 +7,73 @@ class Nodes: CONTROLLER_CEPH = { 'node_type': 'controller-STORAGE', - 'memory': 12288, - 'cpus': 5, + 'memory': 16384, + 'cpus': 4, 'disks': { - 1:[240000], - 2:[240000, 10000], - 3:[240000, 10000, 10000], - 4:[240000, 10000, 10000, 10000], - 5:[240000, 10000, 10000, 10000, 10000], - 6:[240000, 10000, 10000, 10000, 10000, 10000], - 7:[240000, 10000, 10000, 10000, 10000, 10000, 10000] + 1:[245760], + 2:[245760, 10240], + 3:[245760, 10240, 10240], + 4:[245760, 10240, 10240, 10240], + 5:[245760, 10240, 10240, 10240, 10240], + 6:[245760, 10240, 10240, 10240, 10240, 10240], + 7:[245760, 10240, 10240, 10240, 10240, 10240, 10240] } } CONTROLLER_LVM = { 'node_type': 'controller-STANDARD', - 'memory': 12288, - 'cpus': 5, + 'memory': 16384, + 'cpus': 4, 'disks': { - 1:[240000], - 2:[240000, 10000], - 3:[240000, 10000, 10000], - 4:[240000, 10000, 10000, 10000], - 5:[240000, 10000, 10000, 10000, 10000], - 6:[240000, 10000, 10000, 10000, 10000, 10000], - 7:[240000, 10000, 10000, 10000, 10000, 10000, 10000] + 1:[245760], + 2:[245760, 10240], + 3:[245760, 10240, 10240], + 4:[245760, 10240, 10240, 10240], + 5:[245760, 10240, 10240, 10240, 10240], + 6:[245760, 10240, 10240, 10240, 10240, 10240], + 7:[245760, 10240, 10240, 10240, 10240, 10240, 10240] } } CONTROLLER_AIO = { 'node_type': 'controller-AIO', - 'memory': 20000, - 'cpus': 8, + 'memory': 20480, + 'cpus': 4, 'disks': { - 1:[240000], - 2:[240000, 10000], - 3:[240000, 10000, 10000], - 4:[240000, 10000, 10000, 10000], - 5:[240000, 10000, 10000, 10000, 10000], - 6:[240000, 10000, 10000, 10000, 10000, 10000], - 7:[240000, 10000, 10000, 10000, 10000, 10000, 10000] + 1:[245760], + 2:[245760, 10240], + 3:[245760, 10240, 10240], + 4:[245760, 10240, 10240, 10240], + 5:[245760, 10240, 10240, 10240, 10240], + 6:[245760, 10240, 10240, 10240, 10240, 10240], + 7:[245760, 10240, 10240, 10240, 10240, 10240, 10240] } } COMPUTE = { 'node_type': 'compute', - 'memory': 4096, + 'memory': 8192, 'cpus': 3, 'disks': { - 1:[50000], - 2:[50000, 10000], - 3:[50000, 10000, 10000], - 4:[50000, 10000, 10000, 10000], - 5:[50000, 10000, 10000, 10000, 10000], - 6:[50000, 10000, 10000, 10000, 10000, 10000], - 7:[50000, 10000, 10000, 10000, 10000, 10000, 10000] + 1:[102400], + 2:[102400, 10240], + 3:[102400, 10240, 10240], + 4:[102400, 10240, 10240, 10240], + 5:[102400, 10240, 10240, 10240, 10240], + 6:[102400, 10240, 10240, 10240, 10240, 10240], + 7:[102400, 10240, 10240, 10240, 10240, 10240, 10240] } } STORAGE = { 'node_type': 'storage', - 'memory': 3072, - 'cpus': 3, + 'memory': 4096, + 'cpus': 1, 'disks': { - 1:[50000], - 2:[50000, 10000], - 3:[50000, 10000, 10000], - 4:[50000, 10000, 10000, 10000], - 5:[50000, 10000, 10000, 10000, 10000] + 1:[81920], + 2:[81920, 10240], + 3:[81920, 10240, 10240], + 4:[81920, 10240, 10240, 10240], + 5:[81920, 10240, 10240, 10240, 10240] } }