How do we perform backup on TNPMW LDAP before a cold standby process?
Please refer to the following procedure for backing up the Tivoli Netcool Performance Manager LDAP data :
1. Backup the LDAP configuration data from Tivoli Directory Server.
Run the following command as virtuo on the primary application server (or the server on which the Tivoli Directory Server is installed):
/opt/IBM/ldap/version/sbin/idsdb2ldif -o output_file
Example of outcome :
virtuo@: /opt/IBM/ldap/V6.2/sbin/idsdb2ldif -o /tmp/test
GLPCTL113I Largest core file size creation limit for the process (in bytes): '-3'(Soft limit) and '-3'(Hard limit).
GLPCTL119I Maximum Data Segment(Kbytes) soft ulimit for the process is -1 and the prescribed minimum is 262144.
GLPCTL119I Maximum File Size(512 bytes block) soft ulimit for the process is -1 and the prescribed minimum is 2097152.
GLPCTL122I Maximum Open Files soft ulimit for the process is 65536 and the prescribed minimum is 256.
GLPCTL122I Maximum Stack Size(Kbytes) soft ulimit for the process is 8192 and the prescribed minimum is 8192.
GLPCTL119I Maximum Virtual Memory(Kbytes) soft ulimit for the process is -1 and the prescribed minimum is 1048576.
GLPSRV200I Initializing primary database and its connections.
GLPD2L011I 100 entries have been successfully exported from the directory.
GLPD2L011I 112 entries have been successfully exported from the directory.
Example of test file :
virtuo: view test
"test" [Read only] 2131 lines, 109800 characters
#/opt/IBM/ldap/V6.2/sbin/64/db2ldif -o /tmp/test
2. Copy the generated output_file to the standby server.