1 / 30

Exporting NFS File Systems to UNIX/ESXi

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/ESXi. Lesson 1 : Exporting a Mounted File System to UNIX.

valmai
Download Presentation

Exporting NFS File Systems to UNIX/ESXi

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 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/ESXi

  2. Exporting NFS File Systems to UNIX/ESXi Lesson 1: Exporting a Mounted File System to UNIX This lesson covers the following topics: NFS Client mounts NFS user authentication Exporting NFS File Systems to UNIX/ESXi

  3. 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 Data Mover Data File System Linux Client LAN NFS Server NFS Export VMware vSphere ESXi server and VMs Unix Client Exporting NFS File Systems to UNIX/ESXi

  4. 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/ESXi

  5. 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/ESXi

  6. Mounting a File System to a Mountpoint: Configuration Exporting NFS File Systems to UNIX/ESXi

  7. 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/ESXi

  8. 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/ESXi

  9. 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 <NFS server IP address or FQDN>:/<exported fs> /<mount point> • 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/ESXi

  10. Permissions on the Created Directory • chmod command is used to set up permissions • chmod775 directory • rwx - owner • rwx - group • r-x - others Exporting NFS File Systems to UNIX/ESXi

  11. Export a File System Directory • Root of file system contains .etc and lost&founddirectories • 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 .etcand lost&found [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]# Exporting NFS File Systems to UNIX/ESXi

  12. Create an Administrative Export to File System Root • 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 NFS export to the file system top-level and assign root permissions to an administrative client Exporting NFS File Systems to UNIX/ESXi

  13. Creating a Directory Below the Exported File System • Create a directory below the exported file system • Set permissions for the newly created directory [root@linux-1 /]# mount 192.168.65.6:/fs01 /fs1 [root@linux-1 /]# cd /fs1 [root@linux-1 fs1]# mkdirengineering [root@linux-1 fs1]# chmod 775 engineering [root@linux-1 fs1]# chown -R epallisengineering [root@linux-1 fs1]# chgrp -R engpropengineering Mount export and create subdirectory with desired permissions for export [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 epallisengprop80 Apr 6 10:35 engineering drwxr-xr-x 2 root root 8192 Apr 6 09:05 lost+found Exporting NFS File Systems to UNIX/ESXi

  14. 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 Export subdirectory of file system to user community hosts Exporting NFS File Systems to UNIX/ESXi

  15. Mount the File System Sub-directory on NFS Client [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 [root@linux-1 ~]# cd /engdir [root@linux-1 engdir]# ls-l total 8 drwxrwxr-x 2 epallisengprop 80 Sep 18 08:06 . drwxr-xr-x 29 root root 4096 Sep 18 09:03 .. Exporting NFS File Systems to UNIX/ESXi

  16. Define NIS Using Unisphere • Settings > Network > Settings for File > Wizards > Edit DM DNS/NIS Exporting NFS File Systems to UNIX/ESXi

  17. 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/ESXi

  18. Exporting NFS File Systems to UNIX/ESXi Lesson 1: Summary During this lesson the following topics were covered: NFS client mounts NFS user authentication Exporting NFS File Systems to UNIX/ESXi

  19. Exporting NFS File Systems to UNIX/ESXi Lesson 2: Exporting File Systems to ESXi This lesson covers the following topics: VNX and ESXi interoperability Provision Storage for an NFS Share on a VNX Storage System Exporting NFS File Systems to UNIX/ESXi

  20. 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/ESXi

  21. EMC VSI: Unified Storage Management (USM) Plug-in • 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 Exporting NFS File Systems to UNIX/ESXi

  22. EMC VSI USM: Add Storage • Home > Solutions and Applications > EMC Exporting NFS File Systems to UNIX/ESXi

  23. EMC VSI USM: Provisioning Storage • Right-click Object > EMC > Unified Storage > Provision Storage Exporting NFS File Systems to UNIX/ESXi

  24. USM: Provision Storage Wizard 1 • Select Storage Type • Choose Storage System • Datastore Name • Data Mover Details • Export Type 2 3 4 5 Exporting NFS File Systems to UNIX/ESXi

  25. Provision Storage Wizard: Creating a New NFS Exporting NFS File Systems to UNIX/ESXi

  26. View: NFS Datastore on ESXi Host • To see the newly provisioned storage on the vCenter server • Click Summary tab > Resources or Configuration tab > Datastores Resources page on Summary tab Datastores page on Configuration tab Exporting NFS File Systems to UNIX/ESXi

  27. 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/ESXi

  28. 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/ESXi

  29. Exporting NFS File Systems to UNIX/ESXi Lesson 2: Summary During this lesson the following topics were covered: VNX and ESXi interoperability Provisioning Storage for an NFS Share on a VNX Storage System Exporting NFS File Systems to UNIX/ESXi

  30. 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/ESXi

More Related