On each Directory Server, create a new configuration instance and a new user data instance. When you're finished, Directory Server 3SP and Directory Server 4SP will each contain three instances. For example, Directory Server 3SP will contain three instances: DirectoryServer-3SP, fm-config, and fm-users. DirectoryServer-3SP stores Directory Server administration configuration. The instance named fm-config stores Federation Manager configuration, and the instance named fm-users stores Federation Manager user data. Directory Server 4SP will contain the identical directory structure.
Use the following as your checklist for creating new Directory Server instances:
Create a new Configuration Instance in Directory Server 3SP.
Create a new Configuration Instance in Directory Server 4SP.
Create a new data instance for storing Federation Manager configuration. This ensures that if you ever have to uninstall or restore Federation Manager configuration, the Directory Server configuration remains untouched and will not have to be restored.
As a root user, log in to Directory Server 3SP.
Set the X window display variable, and start the Directory Server 3SP console.
# cd /var/opt/mps/serverroot/ # export DISPLAY=DirectoryServer-3SP.siroe.com:1 # ./startconsole &
Log in to the Directory Server 3SP console.
cn=Directory Manager
11111111
http://DirectoryServer-3SP.siroe.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 fm-config.
Enter 1389.
Enter o=siroe.com.
Enter cn=Directory Manager
For this example, enter 11111111.
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 fm-config successfully starts up .
As a root user, log in to Directory Server 3SP.
Start the new data Directory Server instance.
# cd /var/opt/mps/serverroot/slapd-fm-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 |
Create a new data instance for storing both Federation Manager configuration and user data. This ensures that if you ever have to uninstall or restore Federation Manager configuration, the Directory Server configuration remains untouched and will not have to be restored.
As a root user, log in to Directory Server 3SP.
Set the X window display variable, and start the Directory Server console.
# cd /var/opt/mps/serverroot/ # export DISPLAY=DirectoryServer-3SP.siroe.com:1 # ./startconsole &
Log in to the Directory Server 3SP console.
cn=Directory Manager
11111111
http://DirectoryServer-3SP.siroe.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 fm-users.
Enter 1489.
Enter o=siroeusers.com.
Enter cn=Directory Manager
For this example, enter 11111111.
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 fm-users successfully starts up .
As a root user, log in to Directory Server 3SP.
Start the new data Directory Server instance.
# cd /var/opt/mps/serverroot/slapd-fm-users # ./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 |
As a root user, log in to Directory Server 4SP.
Set the X window display variable, and start the Directory Server console.
# cd /var/opt/mps/serverroot/ # export DISPLAY=DirectoryServer-4SP.siroe.com:1 # ./startconsole &
Log in to the Directory Server 4SP console.
cn=Directory Manager
11111111
http://DirectoryServer-4SP.siroe.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 fm-config.
Enter 1389.
Enter o=siroe.com.
Enter cn=Directory Manager
For this example, enter 11111111.
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 fm-config successfully starts up .
As a root user, log in to Directory Server 4SP.
Start the new data Directory Server instance.
# cd /var/opt/mps/serverroot/slapd-fm-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 |
As a root user, log in to Directory Server 4SP.
Set the X window display variable, and start the Directory Server console.
# cd /var/opt/mps/serverroot/ # export DISPLAY=DirectoryServer-4SP.siroe.com:1 # ./startconsole &
Log in to the Directory Server 4SP console.
cn=Directory Manager
11111111
http://DirectoryServer-4SP.siroe.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 fm-users.
Enter 1489.
Enter o=siroeusers.com.
Enter cn=Directory Manager
For this example, enter 11111111.
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 fm-users successfully starts up .