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/


 



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...