venerdì 13 luglio 2018

How to monitor OpenDjs replication status

Few way to check opendj replication status:

1. 'dsreplication status' command

2. regular monitoring information which can be accessed using LDAP (under cn=monitor)
    es:
      
        - ldapsearch -p 4444 --useSSL --trustAll -b "cn=monitor"  "(domain-name=dc=example,dc=com)"
        


3. dsconfig:

        - list replication domains
            ./dsconfig list-replication-domains --hostname ds.example.com --port 4444 --bindDN "cn=Directory Manager" --bindPassword password --no-prompt --trustAll

        - list replication servers
            ./dsconfig list-replication-server  --hostname ds.example.com --port 4444 --bindDN cn="Directory Manager" --bindPassword password --no-prompt

4. same infos via REST, OpenDJ creates by default 2 administrative endpoints: /admin/config and /admin/monitor, accessible via REST:

        - curl -s -u user.0 http://localhost:8080/admin/monitor/


 



1 commento:

abdulazizsaas ha detto...

Harrah's Reno Casino & Hotel - JTM Hub
Harrah's Reno Casino & Hotel 영천 출장샵 offers the best 남양주 출장샵 in gaming with convenient, friendly and modern rooms! Book 진주 출장샵 direct at the 창원 출장샵 Harrah's Reno 통영 출장샵 Hotel.

How to deploy Podman images to OpenShift Container Platform (CRC on localhost)

I have a microservice on localhost and I want to deploy its Podman image on OCP, which I am running using CRC on localhost.       1. Get the...