原 【DB宝21】OGG Director监控OGG运行状态并发送告警邮件
Tags: Oracle原创Docker小麦苗OGG监控发送告警邮件Director
上一篇请参考:【DB宝20】在Docker中分分钟即可拥有OGG Director环境
Oracle GoldenGate Director可以简化GoldenGate的监控和管理,可以通过图形界面或者web浏览器方便快捷的维护整个环境中的GoldenGate组件。OGG Director是部署在Oracle的中间件Weblogic Server上的Web应用,OGG Director可以安装在任何机器上,可以管理远程的OGG实例,远程的OGG实例不需要做任何的额外操作。
一、从Docker Hub或阿里云下载小麦苗上传的镜像文件
- 小麦苗的Docker Hub的地址:https://hub.docker.com/u/lhrbest
- OGG Director的地址:https://hub.docker.com/r/lhrbest/lhroggdirector
1 2 3 4 5 | # 下载镜像 docker pull registry.cn-hangzhou.aliyuncs.com/lhrbest/lhroggdirector:3.0 # 打tag docker tag registry.cn-hangzhou.aliyuncs.com/lhrbest/lhroggdirector:3.0 lhrbest/lhroggdirector:3.0 |
执行过程:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | [root@docker36 ~]# docker search lhrogg NAME DESCRIPTION STARS OFFICIAL AUTOMATED lhrbest/lhroggdirector 基于CentOS 7.6.1810,安装了远程桌面xrdp和Xfc… 1 [root@docker36 ~]# docker pull registry.cn-hangzhou.aliyuncs.com/lhrbest/lhroggdirector:3.0 3.0: Pulling from lhrbest/lhroggdirector 5ff999edc5fc: Already exists 5ff4a6691229: Already exists fe95c761b383: Already exists 82629c68c1e1: Pull complete Digest: sha256:a94a2c46094cb2c76b4b24ee8f1791b729c06cc5588ea18f4617e4fd88fb92a6 Status: Downloaded newer image for registry.cn-hangzhou.aliyuncs.com/lhrbest/lhroggdirector:3.0 registry.cn-hangzhou.aliyuncs.com/lhrbest/lhroggdirector:3.0 [root@docker36 ~]# docker tag registry.cn-hangzhou.aliyuncs.com/lhrbest/lhroggdirector:3.0 lhrbest/lhroggdirector:3.0 [root@docker36 ~]# [root@docker36 ~]# [root@docker36 ~]# |
二、创建容器并启动OGG Director
用到的命令: