FedFsInstallNsdbConnParams0.9

From Linux NFS

Revision as of 00:23, 18 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

This article describes how to set up an NSDB connection parameter database. This database is used to store NSDB security information on fileservers and FedFS administrative clients.

Before a fileserver can create and resolve FedFS junctions, information about how to connect to the local NSDB must be stored locally. This information consists of details about the NSDB's hostname and port number, possibly an x.509 certificate so the fileserver can authenticate the NSDB, and other information. Setting up the NSDB connection parameters is a simple step, but is a requirement for fileservers and administrative tools that connect to a FedFS domain's NSDB.

Pre-packaged install

Install the "nsdbparams" command on each fileserver on which you intend to create FedFS junctions. It is also required on any host where you intend to run tools to administer an NSDB.

If you are running Fedora 19, you can install a pre-packaged version of fedfs-utils-0.9. The nsdbparams command is installed with:

# yum install fedfs-utils-nsdbparam

This installs a pre-built nsdbparams command.

Build from scratch

If your distribution does not provide a pre-packaged version of fedfs-utils-0.9, follow these steps instead.

Build fedfs-utils

Unpack the fedfs-utils-0.9 tarball somewhere convenient. For example:

$ cd fedfs-utils-0.9
$ ./configure
$ make

Install the "nsdbparams" command:

# cd fedfs-utils-0.9/src/nsdbparams ; make install

If you're feeling brave, a single "make install" in the top level directory should take care of all of this, and install lovely man pages to boot.

Create the database and add an NSDB

When you have set up an LDAP server to be an NSDB, you will know the hostname and port number that can be used to identify the NSDB. For example, suppose your NSDB will reside on the host nsdb.example.net, and it listens on the standard LDAP port. On your fileserver, start with this:

# nsdbparams update -l nsdb.example.net

This allows the fileserver to contact this LDAP server to resolve junctions. The fileserver will use in-the-clear network requests. To see information about this NSDB's connection parameters, use:

# nsdbparams show -l nsdb.example.net

Each NSDB that your fileserver contacts must have an entry in the fileserver's NSDB connection parameters database. For example, a fileserver in a FedFS domain that employs a single NSDB typically has just one entry in its NSDB connection parameter database.

Personal tools