Method: 1. Restart VC
2. If reboot is not possible, see VMware KB Online
On the VCenter Server Appliance, vMotion and storage vmotionof virtual machines fails with the ERROR:A general system err Oroccured:invalid Response Code 503:service unavailable (2091384)
Resolution
To resolve this issue, increase the Java heap sizelimit.
To increase the Java heap size limit:
Log in to VCenter Server Appliance administration Interface Asroot by using the URL:
Https://IP address or FQDN of VCenter serverappliance:5480
Click the Services tab.
Switch Inventory Size to Medium or Large.
Restart the SPS service by logging in Throughssh.
Connect to the Console of the VCenter Server Appliance and login as root.
Restart the profile driven Storage Service by running Thiscommand:
Service Vmware-sps Restart
Other than that:
Resolution
Starting with VCenter Server 5.1, VMware Tomcat serversettings can no longer be configured through the Windows Userinterfa Ce at Start > Programs > VMware > Vmwaretomcat.
VCenter Server 5.1 uses VMware vFabric TC Server, anenterprise version of Apache Tomcat 7. Unlike Tomcat version 6,which is used with earlier versions of VCenter servers, Tomcatversion 7 does not provide a control Panel in the Windows userinterface. Instead, you configure Tomcat by editing configurationfiles manually.
You can adjust the JVM maximum heap size to vcenter server,vcenter single sign-on, vcenter Inventory Service, andprofile- Driven Storage Service.
This table provides the JVM heap size recommendations:
VCenter Server 5.1:
VCenter server Inventory VMware virtualcenter managementwebservices (TC server) Inventory Service profile-driven storages Ervice
Small Inventory (1-100 hosts or 1-1000 virtual machines) 1 GB3 GB mb
Medium Inventory (100-400 hosts or 1000-4000 virtual machines) 2 GB 6 GB 1 GB
Large inventory (more than, hosts or 4000 virtual machines) 3 GB 2 GB
VCenter Server 5.5:
VCenter server Inventory VMware virtualcenter managementwebservices (TC server) Inventory Service profile-driven storages Ervice
Small Inventory (1-100 hosts or 1-1000 virtual machines) 512MB 3 GB 1 GB
Medium Inventory (100-400 hosts or 1000-4000 virtual machines) MB 6 GB 2 GB
Large inventory (more than, hosts or 4000 virtual machines) 1024x768 4 GB
Note:after adjusting the JVM heap size in the Wrapper.conffile, VMware recommends restarting the VirtualCenter Management WebServices. For more information, see Stopping, starting, orrestarting vCenter Services (1003895).
Java setting options and file locations for Vsphereservices
VirtualCenter Management WebServices
Configuration File Location:
Installation_directory\vmware\infrastructure\tomcat\conf\wrapper.conf
Heap Size parameter:
wrapper.java.additional.9= "-xmxheap_sizem"
VCenter single sign-on (VSphere 5.1)
Configuration File Location:
Installation_directory\vmware\infrastructure\ssoserver\conf\wrapper.conf
Heap Size parameter:
wrapper.java.additional.9= "-xmxheap_sizem"
VCenter single sign-on (VSphere 5.5)
Configuration File Location:
Installation_directory\programdata\vmware\cis\runtime\vmwarests\conf\wrapper.conf
Heap Size parameter:
wrapper.java.additional.9= "-xmxheap_sizem"
VCenter Inventory Service
Configuration File Location:
Installation_directory\vmware\infrastructure\inventoryservice\conf\wrapper.conf
Heap Size parameter:
# Maximum Java Heap Size (in MB)
Wrapper.java.maxmemory=heap_size
VSphere Profile-driven Storage
Configuration File Location:
Installation_directory\vmware\infrastructure\profile-drivenstorage\conf\wrapper.conf
Heap Size parameter:
# Maximum Java Heap Size (in MB)
Wrapper.java.maxmemory=heap_size
VSphere Web Client
Configuration File Location:
installation_directory\programfiles\vmware\infrastructure\vspherewebclient\server\bin\service\conf\ Wrapper.conf
Heap Size parameter:
########
# JVM Memory
########
Wrapper.java.maxmemory=heap_size
VMware Log Browser
Configuration File Location:
Installation_directory\programfiles\vmware\infrastructure\vspherewebclient\logbrowser\conf\wrapper.conf
Heap Size parameter:
########
# JVM Memory
########
Wrapper.java.maxmemory=heap_size
For more information, see the Configuring VMware Tomcat serversettings on VCenter Server section in the VSphere Installati On Andsetup Guide and vSphere 5.5 documentation Center
503serviceunavailable error resolution for VMware Virtual machine migration