From the computer of: mcdsco
(5 recipes)
Created: Nov 17, 2006 Updated: Nov 20, 2006
by: Scott McDuff, CISSP SCSA MCSE+I TCA
scott.mcduff@gmail.com
--
First off, I have a Tech-Recipe that covers building an LDAP server. This provides a robust directory server installation if you are not familiar with the installation.
1. You first need to build two LDAP servers (ldapserver1 and ldapserver2), one can have your data in it, and the other can be empty. Make they can resolve each other's names either through a DNS server or /etc/hosts. The /etc/hosts entry should include the following format:
Note: this is a good time to configure SSH on these servers to allow logins without passwords since you'll be going between the servers often. Optional but recommended.
2. I access my first server called ldapserver1 by issuing the following command:
The "-X" enables tunneling Xwin through ssh ... if this doesn't work, then again ... you might need to enhance your /etc/sshd_config.
3. Launch directory server console
4. Launch directory server console
The Sun Java System Server Console will start and display your domain and below it will show your server which in this example is ldapserver1.domain.com. Click symbol by the ldapserver1 to expand --> Expand Server Group, and then select Directory Server --> Then click on the Open button in the right panel at the top.
This opens a new window. Since we are going to enable replication, we want to click on the Configuration Tab --> Expand Data --> Then Expand the domain (domain.com) --> Click on [ Replication (Disabled) --> Click on the Enable replication button. Select Master Replication Radio Button --> Choose a Replication ID to this master replica (integer between 1 and 65534), I will choose 777, Next --> The default changelog should be fine for your and my purposes, Next -= Creating --> You should be prompted for entering a password here ... I entered it earlier so it didn't prompt me, Next --> Should say Replication is now enabled, Close.
Now, repeat the same steps for ldapserver2 Starting at Step 3, but enter a different Replication ID (I used 777 on ldapserver1, now I will use 778 for ldapserver2).
5. Now, we are going to setup a master replication ... ooo ... fancy. Basically, we are going to have the two ldapservers push data to each other when it changes. Here we go ...
(should get successfully configured)
# vi /etc/nssitch.conf --> should look like this ...
... and have a blessed day! -scott.
Subscribe to the Tech-Recipes Newsletter
You can get tips like this delivered in your email every week!
We will never, ever sell your email address or spam you.
Related recipes:
Simple Solaris BIND/DNS Server Setup with Failover
Get detailed Solaris memory information with prtdiag
Install a Solaris directory-based package
Solaris: create ssh keys for quick server logins
Solaris 10: enable NFS server
Copy entire contents of a directory and preserve permissions
Solaris 10 Directory Server Installation
Install a Solaris datastream package
Solaris: Create a mount point
Loop over a set of files from the shell
Sponsored links
Login
Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.Search
Tech Recipes
· Home
· Mac OS X
· Solaris
· Windows
· Programming
· UNIX
· Cisco
· MySQL
· Google
· Instant messaging
· Add recipes
· Leave feedback
· Recommend us
· RSS Syndication
Hot recipes
Make XP look like Windows Vista / Longhorn for free!
Hacks to Beat Rapidshare Download Limits and Waiting Time
XP: Small, Free Way to Use and Mount Images (ISO files) Without Burning Them
How Do I Use or Open Bin, Cue, or ISO Files?
Vista: Should I Install 64-bit or 32-bit Version? (x64 vs x86)
How to patch up your UXtheme.dll file in XP home or pro
MySpace: Hack to Download Any Song on MySpace
MySpace Hack: View Pictures and Comments on a Private Profile
Who's Online
There are currently, 2197 guest(s) and 1 member(s) that are online.
You are Anonymous user. You can register for free by clicking here
Information
Wish to advertise with us?
All logos and trademarks in this site are property of their respective owner. The comments and forum posts are property of their posters, all the rest © 2003-2007 by QD Ideas, LLC.
Users of this site are legally bound by the Terms and conditions and Disclaimer. Do not use this web site if you do not agree with these policies.
The members, admins, and authors of this website respect your privacy.
Page Generation: 0.57 Seconds
Sat May 17 5:51:17 2008