Managing Network File Systems in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

How to Create a Namespace Database

A namespace database (NSDB) is used to provide information about the set of files from different types of servers that are combined into a single FedFS namespace. This procedure is performed on the LDAP server.

Before You Begin

You must have an LDAP server installed.

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .

  2. Update the /etc/openldap/slapd.conf file with the following entries:
    include         /usr/lib/fs/nfs/fedfs-11.schema
    suffix  dc=example,dc=org
    rootdn  cn=Manager,dc=example,dc=org
    rootpw  password
  3. Create a distinguished name for the FedFS data.
    # nsdb-update-nci -l NSDB -r port -D bind_DN -w bind-PW nce

    For example:

    # nsdb-update-nci -l localhost -r 389 -D cn=Manager -w\
          example.org dc=example,dc=org adding new entry "dc=example,dc=org"
    NCE entry created

    where

    –l

    Specifies the LDAP server implementing the NSDB

    –r

    Specifies the port on which the LDAP server implementing the NSDB is listening

    –D

    Specifies the distinguished name of a user permitted to change the NSDB information

    –w

    Specifies the password for the bind DN user

    For more information, see the nsdb-update-nci (1M) man page.