- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- nfs and rpc
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2006 06:53 AM
тАО06-03-2006 06:53 AM
http is a tcp based protocol
dns is a udp based protocol
i.e normaly in tcp/ip world, almost all application layer protocols are either udp or tcp, ok, but nfs(also an application layer protocol, is'nt ?) is a RPC based protocol.
I wana know so whats the RPC is ? and why some applications(nfs, nis etc) works/rely on rpc, while other doesnt(like http, dns, ssh etc)
plz help
Regards
Maaz
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2006 09:53 AM
тАО06-03-2006 09:53 AM
SolutionNormally you use RPC for data exchange between a server and a client. Anyway, this runs under tcp or udp protocols anyway.
A portmapper converts RPC program numbers into port numbers.
The portmap daemon converts RPC program numbers into Internet port numbers.
When an RPC server starts up, it registers with the portmap daemon. The server tells the daemon which port number it is listening to and which RPC program numbers it serves. Thus, the portmap daemon knows the location of every registered port on the host and which programs are available on each of these ports.
A client consults the portmap daemon only once for each program the client tries to call. The portmap daemon tells the client which port to send the call to. The client stores this information for future reference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2006 06:03 PM
тАО06-03-2006 06:03 PM
Re: nfs and rpc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2006 03:08 AM
тАО06-05-2006 03:08 AM
Re: nfs and rpc
RPC is a Session Layer protocol. It runs on above TCP & UDP.
NFS does run at the Application Layer. Most implementations of NFS can be configured to use either TCP or UDP. Originally NFS only used UDP, but most UNIX implementations of NFS these days are configured to use TCP. By default, redhat still uses UDP.
RPC are "Remote Procedure Calls". They allow a server to define procedures that can be called by programs running on client machines. RPC was developed by SUN and lot of the services that use RPCs (NIS, NFS) were also developed by SUN.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2006 07:05 AM
тАО06-05-2006 07:05 AM
Re: nfs and rpc
Just a little more, plz dont mind ;(
>RPC is a powerful technique for constructing distributed, client-server based >applications
ssh(sshd and ssh client) is also a client-server program/app, but why ssh doesnt use RPC ? i.e sshd is running somewhere, and another part of software/app(ssh client) is running on another machine, so why ssh doesnt use RPC ?
http(http server, and web browser) is also a client-server program/app, but why http doesnt use RPC ?
Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2006 07:39 PM
тАО06-05-2006 07:39 PM
Re: nfs and rpc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2006 02:44 AM
тАО06-06-2006 02:44 AM
Re: nfs and rpc
"RPC" is a higher level protocol. It's also somewhat protocol neutral -- As long as the client and server have some shared/common network protocol installed (and assuming their RPC implementations play nicely) then the two can communicate.