Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094...
Transcript of Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094...
![Page 1: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/1.jpg)
![Page 2: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/2.jpg)
Evolving & Improving Red Hat
Enterprise Linux NFS Steve DicksonConsulting Software Engineer, Red HatThursday, June 13
![Page 3: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/3.jpg)
The Evolution of NFS
NFSv2
March 1989RFC 1094
NFSv3
June 1995RFC 1813
NFSv4.0
Dec 2000RFC 3010
NFSv4.1
Jan 2010RFC 5661
NFSv4.2
IETF-Draft
![Page 4: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/4.jpg)
Great News!!
![Page 5: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/5.jpg)
pNFSWHAT is it??
NFS front end to a Cluster
![Page 6: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/6.jpg)
Traditional NFS
NFS Client NFS Client NFS Client
Linux NFSServer
Storage
One Server for Multiple Clients= Limited Scalability
![Page 7: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/7.jpg)
Parallel NFS = Scalability
Parallel data paths to StorageFile Layout ==> NAS
Direct path – Client to StorageObject Layout ==> SAN
pNFS ClientpNFS ClientNFS Client
pNFSMetaDataServer
Storage
pNFS ClientpNFS ClientpNFS ClientpNFS Client ...
StorageStorage Storage
pNFS Clients
pNFSDataServer
pNFSDataServer
pNFSDataServer
![Page 8: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/8.jpg)
PNFS Layout Types
![Page 9: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/9.jpg)
PNFS Layout Types
Block Layout (SAN environment) - EMCObject Layout (High Perf environment) – Panasas
![Page 10: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/10.jpg)
pNFS Supported in 6.4!!!!(Client only - File Layouts)
Industry Leader
![Page 11: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/11.jpg)
10 20 40 60 80 1000
200000
400000
600000
800000
1000000
1200000
1400000
1600000
1800000
RHEL 6.4 pNFS vs NFSv4
Oracle11gR2 OLTP Workload
pNFS
NFSv4
Number of Users
Tra
nsac
tions
Per
Min
ute
(TP
M)
Bigger is Better!!!
![Page 12: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/12.jpg)
Parallel NFS = High Performance and Scalability
Source: Tonian Systems
![Page 13: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/13.jpg)
NFS 4.1 Server Support
NFS 4.2 Label NFS
FedFS
GSS-proxy
Red HatEnterprise Linux 7.0
![Page 14: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/14.jpg)
NFS 4.1 Server Support
Reliable only-once semantics
Callbacks using 2049 port
No pNFS support... Yet!
Red HatEnterprise Linux 7.0
![Page 15: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/15.jpg)
NFS 4.2 Labeled NFSSelinux context supported
Secure virtual machine on NFS servers Limited access to Home dirs
Usages:
Industry Leader
Red HatEnterprise Linux 7.0
![Page 16: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/16.jpg)
FedFS
A way to manage NFS Namespace
What is a NFS Namespace???
What is an NFS v4 referral???
A group of NFS v4 referrals
What is FedFS???
Red HatEnterprise Linux 7.0
![Page 17: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/17.jpg)
NFS V4 Referrals
NFS V4NFS V4ClientClient
NFS v4NFS v4referralreferralServerServer
NFS V4NFS V4ServerServer
mount
referral
lookup
mount
Red HatEnterprise Linux 7.0
![Page 18: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/18.jpg)
FedFS Clients
Autofs used to manage mounts
cd /nfs4/redhat.com/home
Red HatEnterprise Linux 7.0Red HatEnterprise Linux 7.0
![Page 19: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/19.jpg)
NFS V4NFS V4ClientClient
Root Root DomainDomainServerServer
NFS V4NFS V4/home/homeServerServer
cd /nfs4(autofs)
Junction/home
Lookupredhat.com
mount/lookup /home
cd /nfs4/redhat.com/home
Red HatEnterprise Linux 7.0
![Page 20: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/20.jpg)
FedFS Domain Servers
DNS or LDAP Is how server is found
Junctions determine where the mount goes
Red HatEnterprise Linux 7.0
![Page 21: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/21.jpg)
FedFS Namespaces
/home server
/data server
rdu.redhat.com
/home server
/data server
bos.redhat.com
cd /nfs4/rdu.redhat.com/home cd /nfs4/bos.redhat.com/home
Red HatEnterprise Linux 7.0
![Page 22: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/22.jpg)
FedFS Namespaces
/home server
/data server
rdu.redhat.com
/home server
/data server
bos.redhat.com
Root Root DomainDomainServerServer
rdu.redhat.com bos.redhat.com
Red HatEnterprise Linux 7.0
Client Client Client Client Client Client ...
![Page 23: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/23.jpg)
Red HatEnterprise Linux 7.0
Secure NFS
Two Major Pains
Setup Ticket Renewal
FreeIPA GSS-proxy
![Page 24: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/24.jpg)
Red HatEnterprise Linux 7.0
= IPA
FreeIPA
Audit++ PolicyIdentity
![Page 25: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/25.jpg)
Red HatEnterprise Linux 7.0
Server Client
ipa-client-installipa-server-install
FreeIPA Parts
![Page 26: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/26.jpg)
GSS-ProxyKeytabs for everybody!!
Long running jobs Solved!!
kinit is no longer needed Which Means:
Which Also Means:
Red HatEnterprise Linux 7.0
![Page 27: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/27.jpg)
GSS-Proxy
NFS Client
UserKeytab
RPCGSSDcat /nfs/foobar
Red HatEnterprise Linux 7.0
![Page 28: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/28.jpg)
Home Page:http://linux-nfs.org/wiki/index.php/Main_Page
Mailing List: [email protected]
Upstream Bugs: https://bugzilla.kernel.org/
Red Hat Bugs: https://bugzilla.redhat.com
![Page 30: Evolving & Improving Red Hat Enterprise Linux NFS...The Evolution of NFS NFSv2 March 1989 RFC 1094 NFSv3 June 1995 RFC 1813 NFSv4.0 Dec 2000 RFC 3010 NFSv4.1 Jan 2010 RFC 5661 NFSv4.2](https://reader034.fdocuments.us/reader034/viewer/2022042910/5f40875d0d98d1706a610782/html5/thumbnails/30.jpg)
Thank you!!!