Bug 239337
| Summary: | Change the name and location of template-cl-dump.pl and template-repl-monitor.pl | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] 389 | Reporter: | Noriko Hosoi <nhosoi> | ||||||
| Component: | Replication - General | Assignee: | Noriko Hosoi <nhosoi> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Viktor Ashirov <vashirov> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 1.0.4 | ||||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2015-12-07 16:56:46 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 152373, 234987, 240316, 427409 | ||||||||
| Attachments: |
|
||||||||
|
Description
Noriko Hosoi
2007-05-07 17:29:12 UTC
Created attachment 154310 [details]
cvs diff Makefile.am and new files
New Files:
wrappers/cl-dump.in --- wrapper for cl-dump.pl to set LD_LIBRARY_PATH
wrappers/repl-monitor.in --- wrapper for repl-monitor.pl to set LD_LIBRARY_PATH
ldap/admin/src/scripts/cl-dump.pl --- identical to previous template-cl-dump.pl
ldap/admin/src/scripts/repl-monitor.pl --- identical to previous
template-repl-monitor.pl
Introducing a wrapper cl-dump and repl-monitor to set LD_LIBRARY_PATH, then
call the perl script using PerLDAP. Setting LD_LIBRARY_PATH in the perl script
($ENV{'LD_LIBRARY_PATH'}=...) does not work.
Deleted Files:
ldap/admin/src/scripts/template-cl-dump.pl.in
ldap/admin/src/scripts/template-repl-monitor.pl.in
Install location:
$ ls /usr/bin/cl-dump* /usr/bin/repl-monitor*
/usr/bin/cl-dump* /usr/bin/repl-monitor*
/usr/bin/cl-dump.pl* /usr/bin/repl-monitor.pl*
Test run:
$ cl-dump -p 24202 -D "cn=Directory Manager" -w passwd
# Replica Root: o=example.com
# LDIF File :
/export/server/slapd-s1/cldb/2085dd03-1dd211b2-80f891fc-61560000.ldif
clpurgeruv: {replicageneration} 463fce74000000010000
clpurgeruv: {replica 1 ldap://s1.sfbay.redhat.com:24202}
clmaxruv: {replicageneration} 463fce74000000010000
clmaxruv: {replica 1} 463fcea2000000010000 463fcec7000000010000 463fcec7
changetype: delete
replgen: 463fce74000000010000
csn: 463fcea2000000010000
nsuniqueid: fcc2974d-1dd111b2-80f891fc-61560000
dn: uid=scarter,ou=people,o=example.com
[...]
Created attachment 154346 [details]
cvs commit message
Reviewed by Nathan (Thank you!)
Checked in into HEAD.
The script names were updated in the config guide for 8.0, but I missed a reference in the 8.0 admin guide to the repl-monitor.pl script. That's been corrected now, too. |