banner



How To Create A Datastore In Vmware

Category

  • VMware:
    vSphere Web Client html5 7 and 6.7, vSphere Web Client 6.5, vSphere Web Client 6.0, and vSphere Client
  • Storage device:
    QES version 1.1.4 ~ 2.1.1
  • NAS model:
    ES2486dc, ES1686dc, ES1640dc v2, ES1640dc

NFS Introduction

Network File System (NFS) is a distributed file system protocol that allows remote applications on other computers to access files over a network similar to how local storage is accessed. With NFS, you can bring the resources of the QES NAS to client platforms, providing the advantages of system-managed and high-performance storage, file access security, and centralized data access with the option of data encryption.

The following figure illustrates the client-server relationship in an NFS environment. Using NFS, the client can mount all or part of the remote file system and make it appear as part of the local file system. From there the client user can create, delete, read, write, and treat the NFS server-located files as part of the workstation's own file system. On NFS Client 1, /home/data/SrvShared is the directory in the local client file system where the shared folder. /share/SrvShared, is to be mounted.

Use NFS Datastore in a vSphere Environment

Since NFS is file-level storage, an NFS Datastore is ideal storage for file-level resource sharing. To use NFS as a shared repository, create a directory on the NFS server (i.e. QES NAS) and then mount it as a datastore on all hosts. The following diagram illustrates the deployment of NFA storage in a vSphere environment.

Note:
For better performance, a gigabit Ethernet adapter that transmits 1000 megabits per second (Mbps) is recommended for connection.

Preparation for Installation

We have learned that each of VMware hosts is able to connect to the QES NAS via NFS. And it allows you to mount an NFS volume and use it as if it were a Virtual Machine File System (VMFS) datastore, a special high-performance file system format that is optimized for storing virtual machines.

  • IP Addressing: Static IP addresses are recommended for both ESXi host and the QES NAS.

IP Addresses

Server Host Network Settings
Role IP Description
ESXi server A 172.17.23.116 VMware ESXi host
Data Network 1 10.10.10.132 10G Data port in ESXi host
Data Network 2 10.10.20.132 10G Data port in ESXi host

Table 1

ES dual controller model Network Settings
Setting Value Description
SCA Management IP 172.17.23.111 Management IP of controller A
SCA Ethernet1 IP 10.10.10.111 Data port 1 IP of controller A
SCA Ethernet2 IP 10.10.20.111 Data port 2 IP of controller A
SCB Management IP 172.17.23.112 Management IP of controller B
SCB Ethernet1 IP 10.10.10.112 Data port 1 IP of controller B
SCB Ethernet2 IP 10.10.20.112 Data port 2 IP of controller B

Table 2

ES dual controller model Storage Settings
Setting Value Description
Pool at SCB Pool2 RAID6 pool at controller B
NFS shared at Pool2 SharedFolderTest NFS Server is "10.10.10.112"
Folder path is "share/SharedFolderTest"

Table 3

Confirmation before Configuration

  • All data ports, from ESXi host and QES NAS, should be in the same subnet.
  • Available pools must be built before configuring NFS Share on QES NAS. Regarding creating a storage pool, see "Network and Storage Settings of QES NAS High-Availability Network Storage Services".

Configure NFS Host Access Permissions

Please follow this procedure to configure the shared folder permissions for NFS host access.

step1: Go to "Storage Manager" > "Storage Space", select the owning controller and the storage pool
on which the shared folder was created, and then select the shared folder.
(In this example, "Storage Space" > "Pool2" > "SharedFolderTest".)

Step 2: Click "Permissions" in Shared Folder Manager.

Step 3: "Select permission type" > "NFS host access".

Step 4: "Access right" > "No limit", select desired host and click "Apply" > "Close".

Add an NFS Datastore in vSphere Web Client HTML5

Step 1: Log in to vSphere Web Client, and then go to "Storage". Right click on the folder and select "New Datastore".

Step 2: Select "NFS", and then click "Next".

Step 3: Select NFS 3 or NFS 4, and then click "Next".

Note:
It is recommended to mount datastore with NFS v3 in QES environment.

Step 4: Datastore name: Give a name for this NFS share.
Folder: Enter the shared folder's path.
Server: Enter the data port's IP of the storage controller on the QES NAS.
(Regarding Server IP/Folder settings, see the previous "IP Addresses" section for reference)

Step 5: Select the ESXi host on which you want to add the datastore, and then click "Next".

Step 6: Confirm the settings and click "Finish".

Add an NFS Datastore in vSphere Web Client 6.5

Step 1: Log into vSphere Web Client, select the ESXi host on which you want to add the datastore. Then go to "Configure" > "Datastores" and select "Create a new datastore" icon.

Step 2: Follow the same steps from 2 to 5 as in "Add an NFS Datastore in vSphere Web Client HTML5" section.

Add an NFS Datastore in vSphere Web Client 6.0

Step 1: Log into vSphere Web Client, select the ESXi host on which you want to add the datastore. Then go to "Related Objects" > "Datastores" and select "Create a new datastore" icon.

Step 2: Select "NFS", and then click "Next".

Step 3: Datastore name: Give a name for this NFS share.
Folder: Enter the shared folder's path.
Server: Enter the data port's IP of the storage controller on the QES NAS.
(Regarding Server IP/Folder settings, see the previous "IP Addresses" section for reference)

Step 4: Confirm the settings and click "Finish".

Step 5: NFS datastore is added and shown on the list.

Add a NFS Datastore in vSphere Client

Step 1: Log into vCenter, select the ESXi host on which you want to add the datastore. Then go to "Configuration" > "Storage", and select "Add Storage…"

Step 2: Select "Network File System" and click "Next".

Step 3: Server: Enter the data port's IP of the storage controller on the QES NAS.
Folder: Enter the shared folder's path.
Datastore Name: Give a name for this NFS share.
(Regarding Server IP/Folder settings, see the previous "IP Addresses" section for reference)

Step 4: Confirm your settings and click "Finish".

Step 5: NFS datastore is added and shown on the list.

Additional References

For more tutorials related to VMware, please refer to the following links:

  1. QNAP Plugin for VMWare vStorage API for Array Integration (VAAI)
  2. Using QNAP vSphere Client Plug-in (HTML) with QNAP ES NAS
  3. Using QNAP vSphere Web Client Plug-in with QNAP ES NAS
  4. Using QNAP Snapshot Agent to take a VMware snapshot for Application Consistency

How To Create A Datastore In Vmware

Source: https://www.qnap.com/en/how-to/tutorial/article/vmware-configuring-nfs-datastore-with-qnap-qes

Posted by: winghareposto.blogspot.com

0 Response to "How To Create A Datastore In Vmware"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel