FedFsInstallFedfsd0.8

From Linux NFS

Revision as of 18:22, 25 October 2012 by Chucklever (Talk | contribs)
Jump to: navigation, search

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 becomes challenging. FedFS therefore provides an RPC mechanism for handling administrative tasks remotely. FedFS administrators can 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.

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

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