From Fedora Project Wiki

Revision as of 08:59, 27 May 2014 by Amsharma (talk | contribs)

Description

This test case tests the installation of 389 Directory Server Instance.

NOTE :: This includes only Instance setup testing, not the console. Full documentation on setting up a 389 Directory Server instance can be found here if needed.


How to test

1. Install 389 ds package.

yum install 389-ds-base

This will install 389-ds-base and 389-ds-base-libs as dependency package. Package related information RPM Download Help

2. Now setup the Directory Server instance using setup-ds.pl

setup-ds.pl

This will ask you for some configuration questions, carefully read and answer. Optionally you can make answer file to setup the instance.

3. At the end of the setup, a message will display as:

Your new DS instance 'dhcp201-149_1' was successfully created.
Exiting . . .
Log file is '/tmp/setupYzgw2O.log

This means your DS instance is ready.

Expected Results

  1. Directory Server should be up and running
  2. One can check the process by checking slapd process should be running, as::
[root@dhcp201-149 ~]# ps -aef | grep slapd<br>nobody    4868     1  0 17:57 ?        00:00:00 /usr/sbin/ns-slapd -D /etc/dirsrv/slapd-dhcp201-149_1 -i /var/run/dirsrv/slapd-dhcp201-149_1.pid -w /var/run/dirsrv/slapd-dhcp201-149_1.startpid<br>