0% found this document useful (0 votes)
131 views4 pages

HP-UX - Remote Procedure Call - Is It ONC - RPC or DCE - RPC PDF

This document provides information about RPC (Remote Procedure Call) protocols, specifically ONC/RPC and DCE/RPC. It explains that ONC/RPC was developed by Sun for NFS and is implemented in most Unix systems, while DCE/RPC was derived from NCS and is part of DCE. It also notes that HP-UX implements both ONC/RPC and DCE/RPC protocols for different services, and provides commands to check which versions are installed.

Uploaded by

Sladur Bg
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
131 views4 pages

HP-UX - Remote Procedure Call - Is It ONC - RPC or DCE - RPC PDF

This document provides information about RPC (Remote Procedure Call) protocols, specifically ONC/RPC and DCE/RPC. It explains that ONC/RPC was developed by Sun for NFS and is implemented in most Unix systems, while DCE/RPC was derived from NCS and is part of DCE. It also notes that HP-UX implements both ONC/RPC and DCE/RPC protocols for different services, and provides commands to check which versions are installed.

Uploaded by

Sladur Bg
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

HP Support Center

HP-UX - Remote Procedure Call: is it ONC/RPC or DCE/RPC?


PROBLEM

Please see below for details about ONC/RPC versus DCE/RPC.

CONFIGURATION

Operating System - HP-UX


Version - 11.x
Subsystem - ONC/RPC, DCE/RPC

RESOLUTION

1. What is RPC?

A. RPC: Remote Procedure Call

In the term "Remote Procedure Call":

o "Procedure Call" represents the request ("Call") made by a


program ("Procedure") to another program for a specific
service.

o "Remote" indicates that the service is requested remotely,


then provided remotely via a network connection.

A "Remote Procedure Call" (RPC) can refer to:

a. the RPC Model (see B below)

b. the RPC Protocol (see C below) or

c. one of its specific implementations (see 2. and 3. below)

B. The RPC model: a Client/Server architecture

The RPC Model involves two computer systems that communicate


through a network. As a Client/Server architecture, a computer
system acts as the "Client", and the other computer system acts
as the "Server". There are two parts in a Client/Server
interaction:

o The RPC Client sends a request for service to the RPC Server
via the network.

o The RPC Server provides the service to the RPC Client via
the network.

C. RPC protocol: calling a procedure that executes on another system

RPC, as a protocol, describes both the way a computer program


running on an RPC Client calls a subprogram located on an RPC
Server system, and the way the subprogram on the RPC Server
returns the results to the RPC Client. This can be seen as
the core of the distribution mechanism of a distributed
application in which a part of the application runs on the RPC
Client and the other part of the application runs on the RPC
Server. The RPC protocol was designed to be transparent to the
end-user who uses the distributed application. That is, the
distributed application is seen by the user as if it was running
locally, i.e. on the RPC Client only.

To summarize, the RPC protocol is used to build-up distributed


applications. A well-known RPC application is NFS or "Network
File System".

RPC has been populated by Sun Microsystems to support the Unix-


based Network File System. There are actually several varieties
of RPC protocols implemented on many Unix and non-Unix systems.

The main RPC protocols are ONC/RPC and DCE/RPC (see 2 below).
More recently, the Worldwide WEB community has adopted the RPC

1 of 4
pattern, with the XML-RPC and the "Simple Object Access Protocol"
(SOAP).

2. ONC/RPC and DCE/RPC

A. ONC/RPC: Open Network Computing / RPC

Formerly called "Sun RPC", ONC RPC is the Sun "Open Network
Computing" implementation of RPC.

ONC was originally developed by Sun Microsystems as part of


their NFS project.

Accesses to RPC services on a computer are provided via a port


mapper that listens for queries on a well-known port, port 111
over UDP and TCP. Implementations of ONC RPC exist in most
Unix-like systems. Microsoft supplies an implementation for
Windows in their Microsoft Windows Services for UNIX product.

Apart from RPC, that underlies the other ONC components, the
main ONC components are: NFS, NIS, NIS+, and AutoFS

B. DCE/RPC: Distributed Computing Environment RPC

DCE/RPC was derived from the Network Computing System (NCS)


created by Apollo.

DCE/RPC is a component of the Distributed Computing Environment


(DCE), developed by the Open Software Foundation (OSF). Note
that OSF merged with X/Open to become The Open Group.

Another famous DCE component is the "Distributed File System"


(DFS) known as DCE/DFS.

3. RPC on HP-UX: ONC NFS Services/800 and HP DCE/9000

HP-UX implements both ONC/RPC and DCE/RPC protocols that are used
for ONC and DCE services respectively and that can coexist on the
same HP-UX system.

The HP-UX implementation of ONC is called "NFS Services/800", and


the HP-UX implementation of DCE is called "HP DCE/9000".

It is important to notice that "NFS Services/800" and "HP DCE/9000"


are distinct, separate products for separate uses and applications.
For instance, SD uses DCE RPC whereas NFS uses ONC RPC.

A. RPC and "ONC NFS Services/800"

Product Number: B1031A (or B1031B)

The "ONC NFS Services/800" product is sometimes referred to


as "NFS, NIS, NIS+".

Use the following commands to check the ONC/NFS Services


version installed on your computer:

# swlist -l product | grep NFS

# swlist -l subproduct | grep NFS

ONC RPC daemon running on the Server: rpcbind (port number


111) - portmap.

NOTE: There is another NFS-related product that can be added


to ONC/NFS Services: the "MC/ServiceGuard NFS Toolkit"
(P/N B5140BA).

B. RPC and "HP DCE/9000"

Product Number: B3190A

Use the following commands to check the HP/DCE/9000 version


installed on your computer:

# swlist -l product | grep DCE

# swlist -l subproduct | grep DCE

DCE/RPC daemon running on the Server : dced (port number

2 of 4
135) - rpcd.

NOTE: DCE is an acronym for "Distributed Computing Environment"


CDE is an acronym for "Common Desktop Environment" which
is not covered here.

4. Useful links

A. On-line HP Technical documentation at [http://h20000.www2.hp.com/bizsupport/TechSupport/Home.jsp]


http://h20000.www2.hp.com/bizsupport/TechSupport/Home.jsp

B. These specific URLs at [http://h20000.www2.hp.com/bizsupport/TechSupport/Home.jsp]


http://h20000.www2.hp.com/bizsupport/TechSupport/Home.jsp:

o For DCE and DCE/RPC:

Select "Development Tools Distributed Computing" in


the Software Products & Solutions section or go to:
[http://welcome.hp.com/country/us/en/prodserv/software.html] http://welcome.hp.com/country/us/en
/prodserv/software.html

o DCE - go to [http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02670431/c02670431.pdf]
http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02670431/c02670431.pdf

- Planning and Configuring HP DCE 1.7 - HP-UX 11.0, 11i v1.6

The direct html link is:

[http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02670431/c02670431.pdf]
http://docs.hp.com/en/B3190-90073/index.html

Specifically see this section:

"OSF DCE Components Included in This Release"

- Planning and Configuring HP DCE 1.8 - HP-UX 11.

The direct html link is:

[http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02670435/c02670435.pdf]
http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02670435/c02670435.pdf

Specifically see this section:

"OSF DCE Components Included in This Release"

- Planning and Configuring HP-UX DCE 1.9 - HP-UX 11i v2

The direct html link is:

[http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02670436/c02670436.pdf]
http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02670436/c02670436.pdf

Specifically see this section:

"HP-UX DCE Core Services Software"

o For ONC and ONC/RPC

By OS Release (Includes documentation for software available


with the core operating system plus additional software
products associated with a particular release)

NFS Services Administrator's Guide: HP-UX 11.0, 11i v1,


v1.5 and v1.6

[http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c02037584/c02037584.pdf]
http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c02037584/c02037584.pdf

Specifically see this section:

"Overview of the NFS Services"

NFS Services Administrator's Guide: HP-UX 11i version 2

[http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c02037584/c02037584.pdf]
http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c02037584/c02037584.pdf

Specifically see this section:

3 of 4
"Overview of NFS Services"

C. The Open Group - OSF - X/Open

[http://www.opengroup.org/] http://www.opengroup.org/

DCE: [http://www.opengroup.org/dce/] http://www.opengroup.org/dce/

D. A few good pages on Wikipedia (As of January 2007)

[http://en.wikipedia.org/wiki/ONC_RPC] http://en.wikipedia.org/wiki/ONC_RPC

[http://en.wikipedia.org/wiki/Remote_procedure_call] http://en.wikipedia.org/wiki/Remote_procedure_call

[http://en.wikipedia.org/wiki/DCE/RPC] http://en.wikipedia.org/wiki/DCE/RPC

[http://en.wikipedia.org/wiki/Distributed_Computing_Environment] http://en.wikipedia.org
/wiki/Distributed_Computing_Environment

ALT KEYWORDS

"dce api"
"dce rpc"
"dce/rpc"
"dce-rpc"
"distributed computing environment"
"hp dce/9000"
"network computing architecture"
"network computing system"
"network firewall access request"
"onc rpc"
"onc/rpc"
"onc-rpc"
"open network computing"
"open software fundation"
"osf dce"
"remote procedure call"
"remote procedure calls"
"rpc restricted port"
"rpc restricted ports"
"rpc/dce"
"rpc/onc"
"rpc_restricted_ports"
"sd-ux"
"software distributor"
"x/open"
b1031a
b1031b
b3190a
b5140ba
dce
dced
dcep
endpoint
endpoints
firewall
llbd
nca
ncacn
ncs
onc
osf
rpc
rpcd
sd
swagent
swagentd
swinstall

Original KMine RCEN 4000131640B

4 of 4

You might also like