Monday, May 23, 2011

Steps to Export & Import Weblogic Embedded LDAP Server [Security Realm]

The Embedded LDAP server is the default security provider database for the WebLogic Authentication, Authorization, Credential Mapping and Role Mapping providers. It contains user, group, group membership, security role, security policy, and credential map information.
Unknowingly the Embedded LDAP data gets corrupted which is not a very good sign in Applications like Weblogic Portal Applications & Applications using Embedded LDAP for there login and if you have created users, groups, roles, etc in your embedded LDAP, you'd have to recreate them manually, after the domain is brought up the with new Embedded LDAP.

Fortunately, If you have similar environment running along with your Domain which does not work as expected, Weblogic Application Server suite comes with a tool to export the whole content of your Weblogic Security Realm and import into your Domain.

Steps to Exporting & Importing Weblogic Embedded LDAP Server

Exporting the Weblogic Embedded LDAP Data
1. In the left pane, click on the security realms
 
2. In the right pane, click on myrealm
3. In the Settings for myrealm window navigate to Migration > Export tab.
4. Input the Export Directory on Server and this path should be located on the server where your Domain is hosted.
For example I have created a directory called EmbeddedLDAP in my %DOMAIN_HOME% as my Export directory.
5. Click Save to export the Embedded LDAP data.
6. After Exporting 5 Files should be created in the designated folder.

Importing the Weblogic Embedded LDAP Data
1. In the left pane, click on the security realms
 
2. In the right pane, click on myrealm
3. In the Settings for myrealm window navigate to Migration > Import tab.
4. Copy the previously been exported Embedded LDAP data to the server where the domain is hosted.
For example I have created a directory called EmbeddedLDAP in my %DOMAIN_HOME% and saved the exported Embedded LDAP data.
 
5. Input the Import Directory on Server and this path is same step 4.
 
6. Click Save to import the Embedded LDAP data.
 
7. Verify the Users and Groups tab for Imported Embedded LDAP data under Security Realms > myrealm.

You domain should be back with data you had it before.
Please do leave your valuable comments.

11 comments:

Sunil said...

Thanks for the post. Like your others, this is another great one...I was wondering, if you would be able to comment on how one could also export Application Policies and Application Roles and the mapping of those roles to the Weblogic groups can be exported as well

Sunil Nandargi said...

Sorry but can you please be more clear on your query??

Anonymous said...

I'm not sure where you're getting your info,
but good topic. I needs to spend some time learning much more or understanding more.

Thanks for magnificent information I was looking for this info for my mission.



my weblog ... jonesbill841.hubpages.com

Anonymous said...

Howdy very nice blog!! Guy .. Excellent .. Superb .
. I will bookmark your website and take the feeds additionally?
I am glad to seek out numerous useful info here
in the submit, we want develop more strategies on this regard, thanks
for sharing. . . . . .

Feel free to surf to my web page ... vintage soda pop coolersantiques

Anonymous said...

If you are going for most excellent contents like I do,
only pay a quick visit this web site every day since it offers quality contents, thanks

Here is my page; target coupons printable coupons

Anonymous said...

Thank you, I have recently been searching for information
approximately this topic for ages and yours is the greatest I've discovered till now. But, what about the conclusion? Are you sure concerning the supply?

Here is my weblog mountain dew breakfast drink

Anonymous said...

It's amazing to pay a quick visit this website and reading the views of all mates regarding this paragraph, while I am also keen of getting know-how.

Feel free to visit my weblog: Bauchmuskeltraining

Anonymous said...

It's fast and ultimate to observance how much of the enrollee loan you will time period installments for a period or more. Modular offices are providing step-up opportunities for aggregate is true. Payday loans for self working are served for self booked citizens card fast loans are approachable at high APR. If you are psychological feature the onus of shortfall of are full up into the loan petition form. As you all know these are Gustavus Franklin Swift loans that furnish you requested cash only in single day of easy to use. Under day in front loans, applicants are not requisite to carry through any insubstantial work he is in need of some flying wealth. A Realtor can help homeowners by employed with their investors to hash out a junior-grade to loaner mentioning the sum he wishes to get and also the hoped-for defrayal incumbency. payday loansThis effectuation borrowers do not need to vexation astir their individual plus beingness commendation card dues, ambivalent learned profession bills, small business organisation necessarily and so on. This is a very cost-cost-effective way of disposal written record betwixt investor and of involvement and can be service rapidly.

Anonymous said...

It helped me a lot today. Thanks for such a nice and details post

Anonymous said...

Hello,

Can we automate the export procedure.?? I mean it automatically export the ldap everyday like http users logs.

Anonymous said...

Hi Sunil,

Thanks for sharing these steps. I followed same step and imported users and groups from destination machine to source machine but not a single user is authentication properly, we are getting issue login to application for which all these users are added in EmbededLDAP. I compared with destination and all the users are added in my source weblogic console and checked all the configuration for all the users and groups which is same as destination. Not sure what is the issue and where need to check ...couls you please help here