Thursday, September 16, 2021

EmbeddedLDAPBackup.zip grows huge under weblogic


EmbeddedLDAPBackup.zip grows huge under weblogic

path : /apps/middleware/weblogic/XXXXXXX_domain/servers/AdminServer/data/ldap/backup

file size of EmbeddedLDAPBackup.zip some it might be in GB's
solution 1.


1- Stop the Admin/weblogic serivce


2- Take the backup of the ldap files -- path /apps/middleware/weblogic/base_domain/servers/AdminServer/data/ldap/


cp -r ldapfiles ldapfiles_bkp


3- copy the ldap files form othe machine of the same domin


example : /apps/middleware/weblogic/base_domain/servers/Machin1/data/ldap


cp -r ldapfiles /apps/middleware/weblogic/base_domain/servers/AdminServer/data/ldap/


in the admin ldap remeove .lok file


start the Admin/weblogic service solutoin 2:


1.make a copy of DOMAIN/bin/startWebLogic.sh file


2. add below line in DOMAIN/bin/startWebLogic.sh file :


JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.security.ldap.maxSize=31457280"


export JAVA_OPTIONS


NOTE: Add above lines before the following lines


SAVE_JAVA_OPTIONS=""


CLASSPATH="${SAVE_CLASSPATH}"


SAVE_CLASSPATH=""


3. stop & start Admin server

No comments:

user level export and import

expdp parfile=PLCT170.par oracle@uslp123sd7dfcvxsza > more PLCT050.par userid= "/ as sysdba" dumpfile=T050.dmp logfile=expdpT0...