码迷,mamicode.com
首页 > 其他好文 > 详细

Using NAT between the vCenter Server system and ESXi/ESX hosts (1010652)

时间:2018-05-15 14:04:18      阅读:180      评论:0      收藏:0      [点我收藏+]

标签:nec   using   service   cto   war   not   port   hat   dev   

 

原文链接:https://kb.vmware.com/s/article/1010652

    1. Ensure that the NAT device is configured to redirect UDP traffic on port 902 to the vCenter Server.
    2. Add the ESXi/ESX host to the vCenter Server inventory.

      Note: This causes the vCenter agent (vpxa) service to be installed on the host.

    3. Log in to the ESXi/ESX host as root.
    4. Navigate to the /etc/opt/vmware/vpxa/ directory in the ESXi/ESX file system.

      Note: In ESXi 5.x/6.0, navigate to /etc/vmware/vpxa.

    5. Open the vpxa.cfg file using an text editor.
    6. In the file, change the serverIp setting and add the preserveServerIp setting. For the serverIP tag, enter the NAT IP address. 

      For example:

      <config>
      <vpxa>
      ...
      <serverIp>NAT_IP_address</serverIP>
      <preserveServerIp>true</preserveServerIp>
      </vpxa>
      ...
      </config>


    7. Save the changes and close the file.
    8. Restart the vCenter agent service by running this command in the ESXi/ESX service console/SSH session:

      For ESX:

      # service vmware-vpxa restart

      For ESXi:

      # services.sh restart

    9. Reconnect the ESXi/ESX host

 

Using NAT between the vCenter Server system and ESXi/ESX hosts (1010652)

标签:nec   using   service   cto   war   not   port   hat   dev   

原文地址:https://www.cnblogs.com/mulinux/p/9040520.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!