diff options
author | Charalampos Kominos <Charalampos.Kominos@enea.com> | 2018-03-28 14:05:09 +0200 |
---|---|---|
committer | Charalampos Kominos <charalampos.kominos@enea.com> | 2018-03-30 12:07:31 +0200 |
commit | 7c7ba5c9a46d5aad403e0a32a243a36cda736087 (patch) | |
tree | 6400dfa12b11843982c093544cae330bfe554072 /mcp | |
parent | 10a36807bc6ec0db532a93f6dbb2b42ec1c47617 (diff) |
[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 <charalampos.kominos@enea.com>
Diffstat (limited to 'mcp')
-rw-r--r-- | mcp/reclass/classes/cluster/mcp-pike-odl-ha/infra/kvm.yml.j2 | 2 | ||||
-rw-r--r-- | mcp/reclass/classes/cluster/mcp-pike-odl-ha/opendaylight/control.yml.j2 | 4 |
2 files changed, 3 insertions, 3 deletions
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: |