From 7c7ba5c9a46d5aad403e0a32a243a36cda736087 Mon Sep 17 00:00:00 2001 From: Charalampos Kominos Date: Wed, 28 Mar 2018 14:05:09 +0200 Subject: [odl] Configure Odl memory requirements Odl scripts present in /opt/opendaylight crash with out-of-memory errors and we cannot use them so we add more memory to the ODL virtual machine and to the JVM. Change-Id: Ia29a324ca34b5d33e947ca6d177ce3567316dcb9 Signed-off-by: Charalampos Kominos --- mcp/reclass/classes/cluster/mcp-pike-odl-ha/infra/kvm.yml.j2 | 2 +- .../classes/cluster/mcp-pike-odl-ha/opendaylight/control.yml.j2 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'mcp/reclass') diff --git a/mcp/reclass/classes/cluster/mcp-pike-odl-ha/infra/kvm.yml.j2 b/mcp/reclass/classes/cluster/mcp-pike-odl-ha/infra/kvm.yml.j2 index 81135d6a9..5fc4776d9 100644 --- a/mcp/reclass/classes/cluster/mcp-pike-odl-ha/infra/kvm.yml.j2 +++ b/mcp/reclass/classes/cluster/mcp-pike-odl-ha/infra/kvm.yml.j2 @@ -18,7 +18,7 @@ parameters: # Default production sizing opendaylight.server: cpu: 4 - ram: 6144 + ram: 8192 disk_profile: small net_profile: default cluster: diff --git a/mcp/reclass/classes/cluster/mcp-pike-odl-ha/opendaylight/control.yml.j2 b/mcp/reclass/classes/cluster/mcp-pike-odl-ha/opendaylight/control.yml.j2 index 8873209cc..90efb945f 100644 --- a/mcp/reclass/classes/cluster/mcp-pike-odl-ha/opendaylight/control.yml.j2 +++ b/mcp/reclass/classes/cluster/mcp-pike-odl-ha/opendaylight/control.yml.j2 @@ -19,8 +19,8 @@ parameters: server: odl_bind_ip: ${_param:single_address} odl_rest_port: 8282 - java_min_mem: 4g - java_max_mem: 4g + java_min_mem: 6g + java_max_mem: 6g router_enabled: true karaf_features: odl_default: -- cgit 1.2.3-korg