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/


 



Run minikube with podman on Fedora

After install minikube as described in the documentation , set rootless property to true to use Podman without sudo: minikube config set roo...