Sun Java Enterprise System 2005Q1 Deployment Example Series: Evaluation Scenario

Starting and Verifying the Directory Server Default Instance

Directory Server provides directory services that support login and authentication for the portal, messaging, and calendar services. You begin verifying your evaluation solution by verifying that you can start and administer the default Directory Server instance.

In this section you learn the following:

ProcedureTo Start Administration Server

Before starting the Directory Server default instance, start Administration Server. Administration Server is the administration tool for Directory Server.

Steps
  1. Change directory to the server root directory:


    cd /var/opt/mps/serverroot
  2. Run the command to start Administration Server:


    ./start-admin

    Administration Server starts and displays a series of start-up messages. The startup process might take a few moments. When startup is complete, the following message is displayed:


    startup:server started successfully

ProcedureTo Start the Directory Server Default Instance

After you start Administration Server, start the default Directory Server instance.

Steps
  1. Change directory to the directory for the default Directory Server instance. The directory name is includes the unqualified name of the host system.


    cd /var/opt/mps/serverroot/slapd-unqualified_evaluation_host
    
  2. Run the command to start Directory Server:


    ./start-slapd

    Directory Server starts without a message.

ProcedureTo Verify the LDAP Directory Configuration

After you start Directory Server, start Server Console and verify the LDAP directory configuration.

Steps
  1. Change directory to the serverroot directory:


    cd /var/opt/mps/serverroot
  2. Run the command to start Server Console:


    ./startconsole &

    The Sun Java System Server Console Login dialog box is displayed.

  3. Type your administrator ID (admin) and password (password) and click OK.

    The Server Console is displayed, displaying information about the servers and applications in your Administration Server domain. Figure 6–1 shows information for the example.com domain. You see similar information for your domain.

    Figure 6–1 Server Console's Servers and Applications Tab

    Screen capture; displays the nodes described in step 4.

  4. Expand the nodes on the Servers and Applications tab and locate the node that represents the default Directory Server instance.

    1. The top-level node represents your default Administration Server domain. In Figure 6–1 this is the node labeled example.com.

      In your console window, it will be labeled with your evaluation_domain.

    2. On the next level, the nodes represent the systems in your Administration Server domain.

      In Figure 6–1, the example.com domain includes one system, named evaluation.example.com. In your console window, it will be labeled with your evaluation_host.

    3. On the next level is a node labeled Server Group.

      This node groups the component instances that are running on your evaluation_host. In Figure 6–1, the Server Group node groups the component instances that are running on evaluation.example.com.

    4. On the next level, the nodes represent the individual component instances in your Server Group.

      One of these nodes represents the default Directory Server instance. In Figure 6–1, this is the node labeled Directory Server (evaluation.example.com). In your console window it will be labeled Directory Server (evaluation_host).

  5. Double-click the node that represents your default Directory Server instance.

    The Sun Java System Directory Server window is displayed.

  6. Click the Directory tab.

    The LDAP directory tree is displayed.

    Figure 6–2 Default LDAP Directory Tree

    Screen capture; Directory Server window. People container is
selected and the three users described in text are displayed.

  7. Verify the LDAP base suffix set up by the installer.

    Your LDAP base suffix is o=examplecorp. You see a display similar to Figure 6–2.

  8. Locate the sample LDAP directory entries set up by the installer.

    1. Expand the base suffix node (o=examplecorp).

    2. Click the People container node.

      The right pane displays the contents of the People container. Figure 6–2 shows the People container for the default Directory Server instance on evaluation.example.com. You see a similar display for your Directory Server instance.

  9. Verify that the People container contains entries for amAdmin, anonymous, and authlessanonymous.

    These entries confirm that the Java Enterprise System installer populated the LDAP directory with the sample data you requested during installation.

  10. Leave the Server Console running.