FedFsInstallFedfsd0.8

From Linux NFS

(Difference between revisions)
Jump to: navigation, search
(Introduction)
 
(2 intermediate revisions not shown)
Line 13: Line 13:
== Introduction ==
== Introduction ==
-
As the number of fileservers in a FedFS domain grows, administering them by logging in to each and running a command line becomes challenging.  FedFS therefore provides an RPC mechanism for handling administrative tasks remotely.  FedFS administrators can manage junctions and NSDB connection parameters remotely.
+
As the number of fileservers in a FedFS domain grows, administering them by logging in to each and running a command line tool becomes challenging.  FedFS therefore provides an RPC mechanism for handling administrative tasks remotely.  FedFS administrators use this mechanism to manage junctions and NSDB connection parameters remotely.
-
Since the RPC interface duplicates operations that can also be done by command line on the server, it is entirely optional.
+
Since the RPC interface duplicates operations that can also be done via command line on the server, it is entirely optional. The equivalent command line tools are the nfsref command and the nsdbparams command.
-
 
+
-
== Add a FedFS administrator user ==
+
-
 
+
-
The rpc.fedfsd daemon drops root privileges as soon as it start.  It runs as use "fedfs".  This use must be created before rpc.fedfsd will run.  The typical way to create this user is with:
+
-
 
+
-
# useradd -c "FedFS Administrator"  -U -s /sbin/nologin
+
== Set up rpc.fedfsd ==
== Set up rpc.fedfsd ==
-
To enable this interface on Linux NFS servers, simply start rpc.fedfsd:
+
On Fedora 18, to enable this interface on Linux NFS servers, simply start rpc.fedfsd:
  # systemctl enable rpcfedfsd.service
  # systemctl enable rpcfedfsd.service

Latest revision as of 17:34, 27 November 2012

Contents

Project: fedfs-utils

[ Project Home | News | Downloads | Docs | Mailing Lists | Source Control | Issues ]


Introduction

As the number of fileservers in a FedFS domain grows, administering them by logging in to each and running a command line tool becomes challenging. FedFS therefore provides an RPC mechanism for handling administrative tasks remotely. FedFS administrators use this mechanism to manage junctions and NSDB connection parameters remotely.

Since the RPC interface duplicates operations that can also be done via command line on the server, it is entirely optional. The equivalent command line tools are the nfsref command and the nsdbparams command.

Set up rpc.fedfsd

On Fedora 18, to enable this interface on Linux NFS servers, simply start rpc.fedfsd:

# systemctl enable rpcfedfsd.service
# systemctl start rpcfedfsd.service

If your distribution doesn't provide fedfs-utils, after installing with "make install," check the fedfs-utils-0.8/contrib/init directory for an appropriate init script for your Linux distribution.

Client side

In fedfs-utils-0.8, the administrative tools that contact this server are commands such as fedfs-create-junction and fedfs-get-nsdb-params. These are simply commands that perform a single RPC against a remote FedFS administrative server. In fedfs-utils-0.8, these remain a primitive mechanism meant for scripting or testing.

Personal tools