Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright © 2014 EMC Corporation. All Rights Reserved. Exporting NFS File Systems to UNIX/ESXi Upon completion of this module, you should be able to: Export.

Similar presentations


Presentation on theme: "Copyright © 2014 EMC Corporation. All Rights Reserved. Exporting NFS File Systems to UNIX/ESXi Upon completion of this module, you should be able to: Export."— Presentation transcript:

1 Copyright © 2014 EMC Corporation. All Rights Reserved. Exporting NFS File Systems to UNIX/ESXi Upon completion of this module, you should be able to: Export a file system to UNIX Describe exporting file systems to ESXi Exporting NFS File Systems to UNIX/ESXi1

2 Copyright © 2014 EMC Corporation. All Rights Reserved. Exporting NFS File Systems to UNIX/ESXi This lesson covers the following topics: NFS Client mounts NFS user authentication Lesson 1: Exporting a Mounted File System to UNIX Exporting NFS File Systems to UNIX/ESXi2

3 Copyright © 2014 EMC Corporation. All Rights Reserved. NFS Export Network File System (NFS) protocol  Client or server distributed file service  Provides file sharing in network environments VNX Data Mover or VDM is configured as an NFS server  Provides file system access for clients of NFS versions 2, 3 and 4 Exporting NFS File Systems to UNIX/ESXi3 Data Mover NFS Server Data File System NFS Export LAN Unix Client ESXi server and VMs VMware vSphere Linux Client

4 Copyright © 2014 EMC Corporation. All Rights Reserved. Access Control Client access to NFS Exports defined by  Hostname  Netgroup  Subnet  IP address Authentication methods  Unix Security or AUTH_SYS security  Secure NFS  Authentication Daemon All versions support UNIX security / PC authentication daemon  Only versions 3 and 4 support Secure NFS by using either UNIX/Linux or Windows Kerberos KDC Exporting NFS File Systems to UNIX/ESXi4

5 Copyright © 2014 EMC Corporation. All Rights Reserved. Mounting a File System to a Mountpoint Storage > Storage Configuration  File Systems tab, right-click file system > Mounts > Create Mount  Mounts tab > Create By default a file system is mounted when it is created Exporting NFS File Systems to UNIX/ESXi5

6 Copyright © 2014 EMC Corporation. All Rights Reserved. Mounting a File System to a Mountpoint: Configuration Exporting NFS File Systems to UNIX/ESXi6

7 Copyright © 2014 EMC Corporation. All Rights Reserved. Creating an NFS Export of a File System Storage  Storage Configuration > File Systems  Right-click file system > NFS Exports > Create NFS Export  Shared Folders > NFS > Create Exporting NFS File Systems to UNIX/ESXi7

8 Copyright © 2014 EMC Corporation. All Rights Reserved. Creating an NFS Export of a File System: Configuration Select the File System to export, define the path and access level Exporting NFS File Systems to UNIX/ESXi8

9 Copyright © 2014 EMC Corporation. All Rights Reserved. Mounting the File System from Clients (NFS) NFS mount from client  Manual  Automatic (automounter) Typical Procedure  Create or use an empty local directory as a mount point for the exported file system  NFS mount the local directory to the exported File System  mount :/ /  Example  # mount 192.168.1.106:/fs1 /studentX View the file systems mounted on the client  mount  df –h Exporting NFS File Systems to UNIX/ESXi9

10 Copyright © 2014 EMC Corporation. All Rights Reserved. Permissions on the Created Directory chmod command is used to set up permissions chmod 775 directory  rwx - owner  rwx - group  r-x - others Exporting NFS File Systems to UNIX/ESXi10

11 Copyright © 2014 EMC Corporation. All Rights Reserved. Root of file system contains.etc and lost&found directories Network users are unaware of the purpose of these directories Best practice  Mount the file system at subdirectory level, export at that level and hide.etc and lost&found Export a File System Directory Exporting NFS File Systems to UNIX/ESXi11 [root@linux-1 fs1]# ls –al drwxr-xr-x 5 root root 1024 Apr 6 09:05. drwxr-xr-x 28 root root 4096 Apr 6 10:14.. dr-xr-xr-x 2 root bin 80 Apr 6 09:05.etc drwxr-xr-x 2 root root 8192 Apr 6 09:05 lost+found [root@linux-1 fs1]#

12 Copyright © 2014 EMC Corporation. All Rights Reserved. Shared Folders > NFS  Create an NFS export  Select NFS Export and click Properties Export file system with root permissions to client  Root Hosts option Create an Administrative Export to File System Root Exporting NFS File Systems to UNIX/ESXi12 Create an NFS export to the file system top-level and assign root permissions to an administrative client

13 Copyright © 2014 EMC Corporation. All Rights Reserved. Creating a Directory Below the Exported File System Create a directory below the exported file system Set permissions for the newly created directory Exporting NFS File Systems to UNIX/ESXi13 [root@linux-1 fs1]# ls -l total 8 drwxr-xr-x 5 root root 1024 Apr 6 09:05. drwxr-xr-x 28 root root 4096 Apr 6 10:14.. dr-xr-xr-x 2 root bin 80 Apr 6 09:05.etc drwxrwxr-x 2 epallis engprop 80 Apr 6 10:35 engineering drwxr-xr-x 2 root root 8192 Apr 6 09:05 lost+found [root@linux-1 /]# mount 192.168.65.6:/fs01 /fs1 [root@linux-1 /]# cd /fs1 [root@linux-1 fs1]# mkdir engineering [root@linux-1 fs1]# chmod 775 engineering [root@linux-1 fs1]# chown -R epallis engineering [root@linux-1 fs1]# chgrp -R engprop engineering Mount export and create subdirectory with desired permissions for export

14 Copyright © 2014 EMC Corporation. All Rights Reserved. Export the Subdirectory of File System Create an export to the subdirectory of the file system Grant the proper access rights to the NFS client Exporting NFS File Systems to UNIX/ESXi14 Export subdirectory of file system to user community hosts

15 Copyright © 2014 EMC Corporation. All Rights Reserved. Mount the File System Sub-directory on NFS Client Exporting NFS File Systems to UNIX/ESXi15 [root@linux-1 ~]# cd /engdir [root@linux-1 engdir]# ls -l total 8 drwxrwxr-x 2 epallis engprop 80 Sep 18 08:06. drwxr-xr-x 29 root root 4096 Sep 18 09:03.. [root@linux-1 ~]# mkdir /engdir [root@linux-1 ~]# mount 192.168.65.6:/fs01/engineering /engdir Mount the subdirectory export on user community host and access the export

16 Copyright © 2014 EMC Corporation. All Rights Reserved. Define NIS Using Unisphere Settings > Network > Settings for File > Wizards > Edit DM DNS/NIS Exporting NFS File Systems to UNIX/ESXi16

17 Copyright © 2014 EMC Corporation. All Rights Reserved. Unexporting File Systems for NFS Storage > Shared Folders > NFS  Right click the NFS export and select Delete  Or select the NFS Export from the list and click the Delete button  Confirm the operation on the dialog box Exporting NFS File Systems to UNIX/ESXi17

18 Copyright © 2014 EMC Corporation. All Rights Reserved. Exporting NFS File Systems to UNIX/ESXi During this lesson the following topics were covered: NFS client mounts NFS user authentication Lesson 1: Summary Exporting NFS File Systems to UNIX/ESXi18

19 Copyright © 2014 EMC Corporation. All Rights Reserved. Exporting NFS File Systems to UNIX/ESXi This lesson covers the following topics: VNX and ESXi interoperability Provision Storage for an NFS Share on a VNX Storage System Lesson 2: Exporting File Systems to ESXi Exporting NFS File Systems to UNIX/ESXi19

20 Copyright © 2014 EMC Corporation. All Rights Reserved. NFS and ESXi Interoperability Network File System (NFS)  File-sharing protocol for NAS devices Simultaneous NFS volume access by multiple ESX and ESXi hosts Only NFS version 3 is supported over TCP/IP vSphere NFS storage provisioning  Datastore manually provisioned from exported VNX NFS exports  VNX NFS export created with Virtual Storage Integrator plug-in Exporting NFS File Systems to UNIX/ESXi20

21 Copyright © 2014 EMC Corporation. All Rights Reserved. Storage administration from the VMware vSphere client  VNX and VNXe storage  Built-in VAAI primitives Installed on VMware vSphere vCenter Server  Software downloaded from EMC Online Support  Enabled feature displayed in vSphere Client interface EMC VSI: Unified Storage Management (USM) Plug-in Exporting NFS File Systems to UNIX/ESXi21

22 Copyright © 2014 EMC Corporation. All Rights Reserved. EMC VSI USM: Add Storage Home > Solutions and Applications > EMC Exporting NFS File Systems to UNIX/ESXi22

23 Copyright © 2014 EMC Corporation. All Rights Reserved. EMC VSI USM: Provisioning Storage Exporting NFS File Systems to UNIX/ESXi23 Right-click Object > EMC > Unified Storage > Provision Storage

24 Copyright © 2014 EMC Corporation. All Rights Reserved. USM: Provision Storage Wizard 1. Select Storage Type 2. Choose Storage System 3. Datastore Name 4. Data Mover Details 5. Export Type Exporting NFS File Systems to UNIX/ESXi24 1 1 2 2 3 3 4 4 5 5

25 Copyright © 2014 EMC Corporation. All Rights Reserved. Provision Storage Wizard: Creating a New NFS Exporting NFS File Systems to UNIX/ESXi25

26 Copyright © 2014 EMC Corporation. All Rights Reserved. View: NFS Datastore on ESXi Host To see the newly provisioned storage on the vCenter server  Click Summary tab > Resources or Configuration tab > Datastores Exporting NFS File Systems to UNIX/ESXi26 Resources page on Summary tab Datastores page on Configuration tab

27 Copyright © 2014 EMC Corporation. All Rights Reserved. View: Provisioned Storage on the VNX Storage System Unisphere connected to VNX  Properties of new file system that was NFS exported Exporting NFS File Systems to UNIX/ESXi27

28 Copyright © 2014 EMC Corporation. All Rights Reserved. View: ESXi and VMs on the VNX storage system Hosts > Virtualization  Right-click existing ESXi or select Add vCenter server Exporting NFS File Systems to UNIX/ESXi28

29 Copyright © 2014 EMC Corporation. All Rights Reserved. Exporting NFS File Systems to UNIX/ESXi During this lesson the following topics were covered: VNX and ESXi interoperability Provisioning Storage for an NFS Share on a VNX Storage System Lesson 2: Summary Exporting NFS File Systems to UNIX/ESXi29

30 Copyright © 2014 EMC Corporation. All Rights Reserved. Summary Key points covered in this module: VNX supports file system access for clients running versions 2, 3, and 4 of the NFS protocol. A VNX file system and NFS export can be created with the use of the EMC Virtual Storage Integrator (VSI) plug-in for VMware vSphere. Exporting NFS File Systems to UNIX/ESXi30


Download ppt "Copyright © 2014 EMC Corporation. All Rights Reserved. Exporting NFS File Systems to UNIX/ESXi Upon completion of this module, you should be able to: Export."

Similar presentations


Ads by Google