Vmware虚拟机迁移出现503serviceunavailable错误解决办法

时间:2015-01-19 06:56:42   收藏:0   阅读:6530

方法:1.重启VC

       2.如果重启不行,上网查看VMware KB 

On the vCenter Server Appliance, vMotion and storage vMotionof virtual machines fails with the error: A general system erroroccured: 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


另外:

Resolution

Starting with vCenter Server 5.1, VMware Tomcat Serversettings can no longer be configured through the Windows userinterface 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 Server, 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 for 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 StorageService

Small inventory (1-100 hosts or 1-1000 virtual machines) 1 GB3 GB 512 MB

Medium inventory (100-400 hosts or 1000-4000 virtual machines)2 GB 6 GB 1 GB

Large inventory (More than 400 hosts or 4000 virtual machines)3 GB 12 GB 2 GB


vCenter Server 5.5:


vCenter Server Inventory VMware VirtualCenter ManagementWebservices (tc Server) Inventory Service Profile-Driven StorageService

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)512 MB 6 GB 2 GB

Large inventory (More than 400 hosts or 4000 virtual machines)1024 MB 12 GB 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 in vCenter Server section in the vSphere Installation andSetup guide and vSphere 5.5 Documentation Center


评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!