banner
ximalaya

ximalaya

这里是openkava 的blog,关注程序开发的一切技术。 ZZ 表示转载的文章,如涉及版权,请和我联系删除。 在这里你可以看到关于以下技术的文章: 移动开发技术,ANDROID ,IOS,WINDOWS PHONE平台开发,企业ERP开发,动态脚本PYTHON ,OPENGL ES 3D技术,游戏开发技术,HTML5 ,JAVASCRIPT ,MYSQL,AMAZON EC2 ,GOOGLE GAE ,GOOGLE CLOUD SQL 等 。 本站发展历程: 2010年,正式把所有的blog移到这里,租用godaddy的空间,记录生活和工作上的一些心得。 下面是关于我的个人介绍,写在这里权当凑字数啦。 职业:软件开发,开发经验6年,管理经验3年; 工作上使用的技术:C#, SQL SERVER 个人使用的技术:PYTHON,PHP, CSS, JAVA ,ANDROID ,object-c 等等 联系我请发邮件:<a href="http://blog.openkava.com/openkava@gmail.png"><img class="alignnone size-full wp-image-96" title="邮箱" src="http://blog.openkava.com/openkava@gmail.png" alt="" width="174" height="24" /></a>

zz Adding NFS Datastore failed due to timeout.

Title: Failed to Add NFS Datastore Due to Timeout
Date: 2011-04-20 12:37:42
Tags:#

Fault Status
Failed to add NFS Datastore due to timeout.

Fault Analysis
Windows Services for UNIX does not support NFS mounting from ESXi/ESX hosts, so this issue may occur. The following steps need to be followed correctly:

  1. Install Windows Services for UNIX (WSFU).
  2. Copy the password and group files from the ESXi/ESX host to the Windows server.
  3. Configure WSFU to allow access from the ESXi/ESX host.
  4. Share the Windows folder using NFS.
  5. Configure the ESXi/ESX host to add the Windows NFS server shared folder as a Datastore.

Process of Installing Windows Services for UNIX (WSFU):

  1. Download the WSFU installation file from the provided address.
  2. Double-click on the setup.exe file and select Custom Installation.
  3. Choose to install the following components:
    • Open the NFS option, select Server for NFS, and choose "Will be installed on local hard drive."
    • Open the Authentication tools for NFS, click on User Name Mapping, and choose "Will be installed on local hard drive."
  4. Open the Service Control Panel and change User Name Mapping to start automatically.

Copying the password and group files from the ESXi/ESX host to the Windows server:
Copy the /etc/passwd and /etc/group files to the WSFU server. You can use tools like WinSCP to complete this task. Download WinSCP here.

Configuring WSFU to accept connection requests from ESXi/ESX hosts:

  1. Select the local administrator user and map it to the root privilege user, then click Apply to take effect.

Sharing a Windows folder with the NFS server:

  1. Right-click on the folder you want to share with the NFS server.
  2. Click on NFS Sharing and enter the NFS share name, for example: vmanager-nfs.
  3. Remove the permissions allowing anonymous access.
  4. Click on the Permissions option and add the R+W permission type for Allow root Access.

Configuring the ESXi/ESX host to mount the Windows NFS server as VMFS:

  1. Confirm that the firewall has enabled permissions for nfsClient and opened the relevant ports.
  2. Simply add the NFS storage (it is straightforward, so no further explanation is needed).
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.