Use the following as your checklist for installing the Directory Servers:
The Java ES installer must be mounted on the host computer system where you will install Directory Server. See the section “To Download and Unpack the Java Enterprise System 2005Q4 Installer”3.2 Downloading and Mounting the Java Enterprise System 2005Q4 Installer in this document.
As a root user, log in to the host DirectoryServer–1.
Start the installer with the nodisplay option. Example:
# cd /mnt/Solaris_sparc # ./installer -nodisplay
When prompted, provided the following information:
|
Press Enter. |
|
|
Press Enter. |
|
|
Enter y. |
|
|
Enter 8 to select “English only.” |
|
|
Enter 6,20. Be sure you've specified Sun Java System Administration Server 5 2005Q4 and Sun Java System Directory Server 5 2005Q4. |
|
|
Press Enter. |
|
|
If upgrades are required, enter 1 to upgrade shared components. |
|
|
Accept the default value for each product. |
|
|
Enter 1 to continue. |
|
|
Enter 1 to configure now. |
|
|
Accept the default value. |
|
|
Accept the default value. |
|
|
Accept the default value. |
|
|
Accept the default value. |
|
|
For this example, enter d1r4dmin. |
|
|
Enter the same password again. |
|
|
Accept the default value. |
|
|
Accept the default value. |
|
|
Accept the default value. |
|
|
For this example, enter d1r4dmin. |
|
|
Enter the same password again. |
|
|
Accept the default value. |
|
|
For this example, enter d1rm4n4ger. |
|
|
Enter the same password again. |
|
|
Accept the default value. |
|
|
Enter ds-config. |
|
|
Enter 1390. |
|
|
Enter dc=example,dc=com. |
|
|
Accept the default value. |
|
|
Accept the default value. |
|
|
Accept the default value. |
|
|
Enter 1 to choose “The new instance will be the configuration directory server.” |
|
|
Enter 1 to store data in the new directory server. |
|
|
Enter 4 to choose “Populate with no data.” |
|
|
Enter n. |
|
|
Accept the default value. |
|
|
Enter 1391. |
|
|
Accept the default value. |
|
|
Accept the default value. |
|
|
Accept the default value. |
|
|
Accept the default value. |
|
|
For this example, enter d1r4dmin. |
|
|
Accept the default value. |
|
|
Accept the default value. |
|
|
Enter 1 to install now. |
(Optional) During installation, you can monitor the log to watch for installation errors. Example:
# cd /var/sadm/install/logs
# tail —f Java_Enterprise_System_install.B xxxxxx
Upon successful installation, enter ! to exit.
Verify that Directory Server was successfully installed.
As a root user, log into the host DirectoryServer–1.
Start the Directory Server.
# cd /var/opt/mps/serverroot/slapd-ds-config # ./stop-slapd; ./start-slapd
Use the tail command to monitor the Directory Server error log and see that the server successfully starts up.
# tail -50 logs/errors
Use the netstat command to verify that the Directory Server port is open and listening.
# netstat -an | grep 1390 * 1390 *.* 0 0 49152 0 LISTEN
Start the Administration Server that manages Directory Server.
cd /var/opt/mps/serverroot ./stop-admin; ./start-admin
Installation is successful if the Administration Server displays a start-up message.
Use the netstat command to verify that the Administration Server port is open and listening.
# netstat -an | grep 1391 * 1391 *.* 0 0 49152 0 LISTEN
As a root user, log in to the host DirectoryServer–2.
Start the installer with the nodisplay option. Example:
# cd /mnt/Solaris_sparc # ./installer -nodisplay
When prompted, provided the following information:
|
Press Enter. |
|
|
Press Enter. |
|
|
Enter y. |
|
|
Enter 8 to select “English only.” |
|
|
Enter 6,20. Be sure you've specified Sun Java System Administration Server 5 2005Q4 and Sun Java System Directory Server 5 2005Q4. |
|
|
Press Enter. |
|
|
If upgrades are required, enter 1 to upgrade shared components. |
|
|
Accept the default value for each product. |
|
|
Enter 1 to continue. |
|
|
Enter 1 to configure now. |
|
|
Accept the default value. |
|
|
Accept the default value. |
|
|
Accept the default value. |
|
|
Accept the default value. |
|
|
For this example, enter d1r4dmin. |
|
|
Enter the same password again. |
|
|
Accept the default value. |
|
|
Accept the default value. |
|
|
Accept the default value. |
|
|
For this example, enter d1r4dmin. |
|
|
Enter the same password again. |
|
|
Accept the default value. |
|
|
For this example, enter d1rm4n4ger. |
|
|
Enter the same password again. |
|
|
Accept the default value. |
|
|
Enter ds-config. |
|
|
Enter 1390. |
|
|
Enter dc=example,dc=com. |
|
|
Accept the default value. |
|
|
Accept the default value. |
|
|
Accept the default value. |
|
|
Enter 1 to choose “The new instance will be the configuration directory server.” |
|
|
Enter 1 to store data in the new directory server. |
|
|
Enter 4 to choose “Populate with no data.” |
|
|
Enter n. |
|
|
Accept the default value. |
|
|
Enter 1391. |
|
|
Accept the default value. |
|
|
Accept the default value. |
|
|
Accept the default value. |
|
|
Accept the default value. |
|
|
For this example, enter d1r4dmin. |
|
|
Accept the default value. |
|
|
Accept the default value. |
|
|
Enter 1 to install now. |
(Optional) During installation, you can monitor the log to watch for installation errors. Example:
# cd /var/sadm/install/logs
# tail —f Java_Enterprise_System_install.B xxxxxx
Upon successful installation, enter ! to exit.
Verify that Directory Server was successfully installed.
Log in as a root user to DirectoryServer–2.
Start the Directory Server.
# cd /var/opt/mps/serverroot/slapd-ds-config # ./stop-slapd; ./start-slapd
Use the tail command to monitor the Directory Server error log and verify that the server successfully starts up.
# tail -50 logs/errors
Use the netstat command to verify that the Directory Server port is open and listening.
# netstat -an | grep 1390 * 1390 *.* 0 0 49152 0 LISTEN
Start the Administration Server that manages Directory Server.
cd /var/opt/mps/serverroot ./stop-admin; ./start-admin
Installation is successful if the Administration Server displays a start-up message.
Use the netstat command to verify that the Administration Server port is open and listening.
# netstat -an | grep 1391 * 1391 *.* 0 0 49152 0 LISTEN
Create a new data instance for storing the Access Manager configuration data. This ensures that if you ever have to uninstall or restore Access Manager configuration, the Directory Server configuration remains untouched and will not have to be restored.
As a root user, log in to host DirectoryServer-1.
Set the X window display variable, and start the Directory Server console.
# cd /var/opt/mps/serverroot/ # export DISPLAY=DirectoryServer-1.example.com:1 # ./startconsole &
Log in to the Directory Server 1 console using the following information:
cn=Directory Manager
d1rm4n4ger
http://DirectoryServer-1.example.com:1391
In the Directory Server console, under the Servers and Applications tab, expand the Server Administration domain list until you see the Server Group item.
Right-click on Server Group, and choose “Create an instance of Sun Directory Server.”
In the Create New Instance dialog box, provide the following information:
Enter am-config.
Enter 1389.
Enter o=example.com.
Enter cn=Directory Manager
For this example, enter d1rm4n4ger.
Enter the same password to confirm it.
Enter nobody.
Click OK, and then close the status window.
Verify that the new Directory Server instance named am-config successfully starts up .
As a root user, log into host DirectoryServer–2.
Set the X window display variable, and start the Directory Server console.
# cd /var/opt/mps/serverroot/ # export DISPLAY=DirectoryServer-2.example.com:1 # ./startconsole &
Log in to the Directory Server 2 console using the following information:
cn=Directory Manager
d1rm4n4ger
http://DirectoryServer-2.example.com:1391
In the Directory Server console, under the Servers and Applications tab, expand the Server Administration domain list until you see Server Group item.
Right-click on Server Group, and choose “Create an instance of Sun Directory Server.”
In the Create New Instance dialog box, provide the following information:
Enter am-config.
Enter 1389.
Enter o=example.com.
Enter cn=Directory Manager
For this example, enter d1rm4n4ger.
Enter the same password to confirm it.
Enter root.
Click OK, and then close the status window.
Verify that the new Directory Server instance named am-config successfully starts up .
As a root user, log into host DirectoryServer–2.
Start the new data Directory Server instance.
# cd /var/opt/mps/serverroot/slapd-am-config # ./stop-slapd; ./start-slapd |
Use the tail command to monitor the Directory Server error log and see that the server starts up successfully.
# tail —f logs/errors |