Skip to main content

How to increase the heap memory of vRealize Orchestrator in Cloud Extensibility proxy

https://knowledge.broadcom.com/external/article?articleNumber=322717


Issue/Introduction

  • To increase the memory allocated to the vRealize Orchestrator server instance within the Cloud Extensibility proxy appliance. By default, the vRealize Orchestrator server is configured to use 3GB of memory.
  • Issue observed in Cloud Extensibility proxy 8.6.2 and earlier versions.
  • When the server is over-utilized and has to manage multiple workloads it crashes with the error, "OutOfMemoryErrors" in the vRealize Orchestrator console log directory: /services-logs/prelude/vco-app/console-logs/vco-server-app.log.
  • The following exception is thrown in the logs:
java.lang.OutOfMemoryError: Java heap space
Dumping heap to /usr/lib/vco/app-server/../app-server/logs/vco_2021-12-07_09:06_heap_dump.hprof ...
Heap dump file created [1697527497 bytes in 3.021 secs]
Terminating due to java.lang.OutOfMemoryError: Java heap space

Environment

VMware Aria Automation 8.x.x

Resolution

  • For Cloud Extensibility proxy version 8.7 or higher please refer to the "How to Scale the Heap Memory Size of the vRealize Orchestrator Server " article from the vRealize Orchestrator Product Documentation.
  • The URL provided in this article is for vRO 8.11, please use the Product Documentation for the Orchestrator product version matching the Cloud Extensibility proxy version.

Workaround:

NOTE: Please take note of the overall memory utilization of the VA prior to extending the Heap memory. It is important that enough memory is left available for the rest of the services so the VA resources have to be scaled up first.

Example: If the desired heap memory is 7g then the VA RAM should be increased with 4G respectively because the subtraction between the default heap value of 3g the desired heap memory is 4G.

  • Navigate to directory /data/upgrade/prelude/data/charts/vro
  • Edit the file values.tpl by adding the following property "serverJvmHeapMax: {desired_heap_memory}" where {desired_heap_memory} has to be the value of the required heap memory.

 Example: serverJvmHeapMax: 6g

  • Save the changes.
  • Run command:
prelude-vami-upgrade --force
  • Wait for the vco-app pod to be redeployed. You can monitor the status of the pod with the following command 
 kubectl -n prelude get pods -w

Important: Changes made in the file values.tpl are not persistent and they will be overwritten upon each next Cloud Release, therefore, the heap size value will be returned back to the default of 3g. It will be required to execute the above steps once again if the heap size has a value other than the default of 3g.

Comments

Popular posts from this blog

  Issue with Aria Automation Custom form Multi Value Picker and Data Grid https://knowledge.broadcom.com/external/article?articleNumber=345960 Products VMware Aria Suite Issue/Introduction Symptoms: Getting  error " Expected Type String but was Object ", w hen trying to use Complex Types in MultiValue Picker on the Aria for Automation Custom Form. Environment VMware vRealize Automation 8.x Cause This issue has been identified where the problem appears when a single column Multi Value Picker or Data Grid is used. Resolution This is a known issue. There is a workaround.  Workaround: As a workaround, try adding one empty column in the Multivalue picker without filling the options. So we can add one more column without filling the value which will be hidden(there is a button in the designer page that will hide the column). This way the end user will receive the same view.  

57 Tips Every Admin Should Know

Active Directory 1. To quickly list all the groups in your domain, with members, run this command: dsquery group -limit 0 | dsget group -members –expand 2. To find all users whose accounts are set to have a non-expiring password, run this command: dsquery * domainroot -filter “(&(objectcategory=person)(objectclass=user)(lockoutTime=*))” -limit 0 3. To list all the FSMO role holders in your forest, run this command: netdom query fsmo 4. To refresh group policy settings, run this command: gpupdate 5. To check Active Directory replication on a domain controller, run this command: repadmin /replsummary 6. To force replication from a domain controller without having to go through to Active Directory Sites and Services, run this command: repadmin /syncall 7. To see what server authenticated you (or if you logged on with cached credentials) you can run either of these commands: set l echo %logonserver% 8. To see what account you are logged on as, run this command: ...
  The Guardrails of Automation VMware Cloud Foundation (VCF) 9.0 has redefined private cloud automation. With full-stack automation powered by Ansible and orchestrated through vRealize Orchestrator (vRO), and version-controlled deployments driven by GitOps and CI/CD pipelines, teams can build infrastructure faster than ever. But automation without guardrails is a recipe for risk Enter RBAC and policy enforcement. This third and final installment in our automation series focuses on how to secure and govern multi-tenant environments in VCF 9.0 with role-based access control (RBAC) and layered identity management. VCF’s IAM Foundation VCF 9.x integrates tightly with enterprise identity providers, enabling organizations to define and assign roles using existing Active Directory (AD) groups. With its persona-based access model, administrators can enforce strict boundaries across compute, storage, and networking resources: Personas : Global Admin, Tenant Admin, Contributor, Viewer Projec...