内容大纲
内容简介:本文主要介绍Oracle Enterprise Manager Cloud Control (EMCC)的插件管理功能,包括插件的安装、升级、删除等操作。风哥教程参考Oracle官方文档EMCC相关内容,为生产环境提供完整的插件管理解决方案。
Part01-基础概念与理论知识
1.1 插件概念
Oracle Enterprise Manager Cloud Control (EMCC)插件是扩展EMCC功能的组件,用于管理和监控特定类型的目标,如数据库、中间件、应用系统等。插件是EMCC的重要组成部分,对于实现对不同类型目标的管理和监控至关重要。
1.2 插件类型
- 数据库插件:用于管理和监控Oracle数据库、MySQL等
- 中间件插件:用于管理和监控WebLogic、WebSphere等
- 应用插件:用于管理和监控Oracle E-Business Suite、PeopleSoft等
- 主机插件:用于管理和监控主机系统
- 存储插件:用于管理和监控存储系统
1.3 插件生命周期
- 下载:从Oracle官方网站下载插件
- 安装:在EMCC中安装插件
- 配置:配置插件参数
- 使用:使用插件管理和监控目标
- 升级:升级插件到新版本
- 删除:从EMCC中删除插件
Part02-生产环境规划与建议
2.1 插件规划
制定合理的插件规划:
- 评估管理目标的类型和数量
- 确定需要安装的插件类型
- 规划插件的版本和兼容性
- 制定插件安装和升级计划
- 建立插件管理文档
2.2 插件配置建议
插件配置建议:
- 使用与EMCC版本兼容的插件版本
- 配置插件的监控参数
- 设置插件的告警阈值
- 定期更新插件到最新版本
- 备份插件配置
2.3 插件管理策略
制定合理的插件管理策略:
- 定期检查插件版本更新
- 建立插件安装和升级流程
- 监控插件的运行状态
- 建立插件故障处理机制
- 培训运维人员,提高插件管理能力
Part03-生产环境项目实施方案
3.1 插件下载与安装
# 访问Oracle官方网站
# 导航到”Enterprise Manager Cloud Control”下载页面
# 选择与EMCC版本兼容的插件版本
# 下载插件文件
# 2. 安装插件
$ cd /oracle/emcc/oms/bin
$ ./emctl install plugin -pluginLocation /path/to/plugin.zip
# 3. 验证插件安装
$ ./emctl list plugins
3.2 插件配置
# 登录EMCC控制台
# 导航到”设置” -> “插件” -> “管理插件”
# 选择插件,点击”配置”按钮
# 修改插件参数
# 点击”保存”按钮
# 2. 配置插件监控
# 导航到”目标” -> “添加目标” -> “手动添加”
# 选择插件对应的目标类型
# 输入目标信息
# 点击”保存”按钮
3.3 插件升级
# 访问Oracle官方网站
# 下载最新版本的插件
# 2. 升级插件
$ cd /oracle/emcc/oms/bin
$ ./emctl upgrade plugin -pluginLocation /path/to/plugin.zip
# 3. 验证插件升级
$ ./emctl list plugins
3.4 插件删除
$ cd /oracle/emcc/oms/bin
$ ./emctl list plugins -detail
# 2. 删除插件
$ ./emctl remove plugin -pluginId oracle.sysman.db -version 13.4.0.0.0
# 3. 验证插件删除
$ ./emctl list plugins
Part04-生产案例与实战讲解
4.1 数据库插件安装实战
# 访问Oracle官方网站
# 导航到”Enterprise Manager Cloud Control”下载页面
# 下载Oracle Database插件
# 2. 安装数据库插件
$ cd /oracle/emcc/oms/bin
$ ./emctl install plugin -pluginLocation /tmp/oracle.sysman.db.13.4.0.0.0.zip
Oracle Enterprise Manager Cloud Control 13c Release 4
Copyright (c) 1996, 2020 Oracle Corporation. All rights reserved.
Starting Plugin Installation…
Plugin Oracle Database 13.4.0.0.0 is being installed…
Plugin installation completed successfully.
# 3. 验证插件安装
$ ./emctl list plugins
Oracle Enterprise Manager Cloud Control 13c Release 4
Copyright (c) 1996, 2020 Oracle Corporation. All rights reserved.
Plugin Name Version Status
—————————————— ———- ——–
oracle.sysman.db 13.4.0.0.0 Installed
oracle.sysman.middleware 13.4.0.0.0 Installed
oracle.sysman.host 13.4.0.0.0 Installed
# 4. 配置数据库监控
# 登录EMCC控制台
# 导航到”目标” -> “添加目标” -> “手动添加”
# 选择”Oracle Database”作为目标类型
# 输入主机名: fgedu.net.cn
# 输入端口:1521
# 输入SID:fgedudb
# 输入用户名:sys
# 输入密码:Oracle123!
# 选择”SYSDBA”作为角色
# 点击”测试连接”按钮
# 点击”保存”按钮
4.2 中间件插件升级实战
# 访问Oracle官方网站
# 下载最新版本的WebLogic插件
# 2. 升级中间件插件
$ cd /oracle/emcc/oms/bin
$ ./emctl upgrade plugin -pluginLocation /tmp/oracle.sysman.middleware.13.4.0.1.0.zip
Oracle Enterprise Manager Cloud Control 13c Release 4
Copyright (c) 1996, 2020 Oracle Corporation. All rights reserved.
Starting Plugin Upgrade…
Plugin Oracle Middleware 13.4.0.0.0 is being upgraded to 13.4.0.1.0…
Plugin upgrade completed successfully.
# 3. 验证插件升级
$ ./emctl list plugins
Oracle Enterprise Manager Cloud Control 13c Release 4
Copyright (c) 1996, 2020 Oracle Corporation. All rights reserved.
Plugin Name Version Status
—————————————— ———- ——–
oracle.sysman.db 13.4.0.0.0 Installed
oracle.sysman.middleware 13.4.0.1.0 Installed
oracle.sysman.host 13.4.0.0.0 Installed
# 4. 验证中间件监控
# 登录EMCC控制台
# 导航到”目标” -> “中间件”
# 查看WebLogic Domain状态
4.3 插件删除实战
$ cd /oracle/emcc/oms/bin
$ ./emctl list plugins -detail
Oracle Enterprise Manager Cloud Control 13c Release 4
Copyright (c) 1996, 2020 Oracle Corporation. All rights reserved.
Plugin Name Version Status Associated Targets
—————————————— ———- ——– ——————
oracle.sysman.db 13.4.0.0.0 Installed 10
oracle.sysman.middleware 13.4.0.1.0 Installed 5
oracle.sysman.host 13.4.0.0.0 Installed 20
oracle.sysman.storage 13.4.0.0.0 Installed 0
# 2. 删除未使用的插件
$ ./emctl remove plugin -pluginId oracle.sysman.storage -version 13.4.0.0.0
Oracle Enterprise Manager Cloud Control 13c Release 4
Copyright (c) 1996, 2020 Oracle Corporation. All rights reserved.
Starting Plugin Removal…
Plugin Oracle Storage 13.4.0.0.0 is being removed…
Plugin removal completed successfully.
# 3. 验证插件删除
$ ./emctl list plugins
Oracle Enterprise Manager Cloud Control 13c Release 4
Copyright (c) 1996, 2020 Oracle Corporation. All rights reserved.
Plugin Name Version Status
—————————————— ———- ——–
oracle.sysman.db 13.4.0.0.0 Installed
oracle.sysman.middleware 13.4.0.1.0 Installed
oracle.sysman.host 13.4.0.0.0 Installed
Part05-风哥经验总结与分享
5.1 插件管理最佳实践
- 合理规划:根据管理目标的类型和数量,合理规划插件的安装
- 版本兼容:确保插件版本与EMCC版本兼容
- 定期更新:定期更新插件到最新版本,获取新功能和bug修复
- 监控配置:配置插件的监控参数和告警阈值
- 文档记录:记录插件的安装、配置和升级过程
5.2 插件管理注意事项
- 确保插件版本与EMCC版本兼容
- 在安装或升级插件前备份EMCC配置
- 测试插件在测试环境中的运行情况
- 监控插件的运行状态和性能
- 建立插件故障处理机制
5.3 插件管理建议
- 建立插件管理流程和规范
- 定期检查插件版本更新
- 培训运维人员,提高插件管理能力
- 建立插件知识库,积累插件管理经验
- 与Oracle支持团队保持沟通,及时获取插件相关信息
更多视频教程www.fgedu.net.cn
更多学习教程公众号风哥教程itpux_com
from oracle:www.itpux.com
本文由风哥教程整理发布,仅用于学习测试使用,转载注明出处:http://www.fgedu.net.cn/10327.html
