From Fedora Project Wiki

No edit summary
No edit summary
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=This test case tests the installation of 389 Directory Server
= <span class="mw-headline" id="Description"> Description </span>  =
|setup=
 
|actions=
This test case tests the installation of 389 Directory ServerInstance.
<ol>
 
<li>Install 389 packages i.e. 389-ds-base and 389-ds-base-libs for minimal installation</li>
NOTE&nbsp;:: This includes only Instance setup testing, not the console.<br>
<li>Execute setup-ds.pl for configuring an Instance of Directory Server </li>
 
<li>It will prompt for various options like port, suffix, hostname etc. One can make answer file or select the option on each prompt.</li>
= <span class="mw-headline" id="How_to_test"> How to test </span>  =
</ol>
 
|results=
1. Install 389 ds package.<br>  
<ol>
<pre>yum install 389-ds-base</pre>
<li>Directory Server should be up and running</li>
This will install 389-ds-base and 389-ds-base-libs as dependency package.
<li>One can check the process by checking slapd process should be running.</li>
 
</ol>
2. Now setup the Directory Server instance using setup-ds.pl
 
<pre>setup-ds.pl</pre>
 
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:
 
<pre>Your new DS instance 'dhcp201-149_1' was successfully created.<br>Exiting . . .<br>Log file is '/tmp/setupYzgw2O.log</pre>
 
This means your DS instance is ready.
 
= <span class="mw-headline" id="Expected_Results"> Expected Results </span> =
 
#Directory Server should be up and running  
#One can check the process by checking slapd process should be running, as::
 
<pre>[root@dhcp201-149 ~]# ps -aef | grep slapd<br>nobody&nbsp;&nbsp;&nbsp; 4868&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp; 0 17:57 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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></pre>
 
= <span class="mw-headline" id="Expected_Results">Links</span> =
 
<span class="mw-headline">1. </span> [http://directory.fedoraproject.org/wiki/Install_Guide Directory Server Installation Guide]
<span class="mw-headline">2.</span> [http://directory.fedoraproject.org/wiki/Download RPM Download Help]
}}
}}
[[Category:Package_389-ds-base_test_cases]]
[[Category:Package_389-ds-base_test_cases]]

Revision as of 12:58, 25 May 2014

{{QA/Test_Case

Description

This test case tests the installation of 389 Directory ServerInstance.

NOTE :: This includes only Instance setup testing, not the console.

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.

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.<br>Exiting . . .<br>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>

Links

1. Directory Server Installation Guide 2. RPM Download Help }}