This procedure assumes that ds-inst-ds1 on ds1 and ds-inst-ds2 on ds2 are running.
Shut down the Directory Server instance on ds1.
# /opt/SUNWdsee/ds6/bin/dsadm stop /var/opt/SUNWdsee/ds-inst-ds1
Verify that you can access the Directory Server instance on ds2 through the load balancer.
Run the following command from a computer that can access ds.pstest.com.
# ldapsearch -b "dc=pstest,dc=com" -h ds.pstest.com -p 389 -D "cn=Directory Manager" "objectClass=*"
When prompted, type the directory-manager-password.
A list of object classes currently in the directory is displayed.
Start the Directory Server instance on ds1.
# /opt/SUNWdsee/ds6/bin/dsadm start /var/opt/SUNWdsee/ds-inst-ds1
Shut down the Directory Server instance on ds2.
# /opt/SUNWdsee/ds6/bin/dsadm stop /var/opt/SUNWdsee/ds-inst-ds2
Verify that you can access the Directory Server instance on ds1 through the load balancer.
Run the following command from a computer that can access ds.pstest.com.
# ldapsearch -b "dc=pstest,dc=com" -h ds.pstest.com -p 389 —D "cn=Directory Manager" "objectClass=*"
When prompted, type the directory-manager-password.
A list of object classes currently in the directory is displayed.