加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

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

(2015-01-07 14:49:35)
标签:

健康

方法:1.重启VC
        2.如果重启不行,上网查看VMware KB 
On the vCenter Server Appliance, vMotion and storage vMotion of virtual machines fails with the error: A general system error occured: Invalid response code 503: service unavailable (2091384)

Resolution
To resolve this issue, increase the java heap size limit.
 
To increase the java heap size limit:
Log in to vCenter Server Appliance administration interface as root by using the URL:

https://IP address or FQDN of vCenter Server Appliance:5480

Click the Services tab.
Switch Inventory Size to Medium or Large.
Restart the SPS service by logging in through SSH. 
Connect to the Console of the vCenter Server Appliance and log in as root.
Restart the Profile Driven Storage Service by running this command:

service vmware-sps restart

另外:
Resolution
Starting with vCenter Server 5.1, VMware Tomcat Server settings can no longer be configured through the Windows user interface at Start > Programs > VMware > VMware Tomcat.

vCenter Server 5.1 uses VMware vFabric tc Server, an enterprise version of Apache Tomcat 7. Unlike Tomcat version 6, which is used with earlier versions of vCenter Server, Tomcat version 7 does not provide a control panel in the Windows user interface. Instead, you configure Tomcat by editing configuration files manually.

You can adjust the JVM maximum heap size for vCenter Server, vCenter Single Sign-On, vCenter Inventory Service, and Profile-Driven Storage Service.

This table provides the JVM heap size recommendations:

vCenter Server 5.1:

vCenter Server Inventory VMware VirtualCenter Management Webservices (tc Server) Inventory Service Profile-Driven Storage Service
Small inventory (1-100 hosts or 1-1000 virtual machines) 1 GB 3 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 Management Webservices (tc Server) Inventory Service Profile-Driven Storage Service
Small inventory (1-100 hosts or 1-1000 virtual machines) 512 MB 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.conf file, VMware recommends restarting the VirtualCenter Management Web services. For more information, see Stopping, starting, or restarting vCenter services (1003895).

Java setting options and file locations for vSphere services

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\Inventory Service\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-Driven Storage\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\Program Files\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\Program Files\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 Server Settings in vCenter Server section in the vSphere Installation and Setup guide and vSphere 5.5 Documentation Center

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有