Oracle EMCC13C学习-安装部署(2)(oracle 12c rac安装)
mhr18 2024-09-17 23:22 16 浏览 0 评论
我是在自己的实验环境里面安装的,服务器已经安装了oracle19c数据库,所以一些基础的软件包都已经安装了,以及一些系统参数都是按照数据库的按照要求进行调整的。所以我就直接从数据库创建及数据库参数调整这里开始(系统依赖包、内核参数、系统配置等不做描述,参考数据库或官方文档自行配置)。
环境介绍
操作系统:redhat7.6x64 ,数据库版本:19.10(CDB模式),文件系统划分70G用于emcc的安装,系统资源4C16G。EMCC版本:13.3
创建emcc的数据库
create pluggable database pdbemcc admin user pdbadmin identified by oracle file_name_convert=('pdbseed','pdbemcc') nologging;
创建emcc安装目录
mkdir /u03/{middleware,agent} -p
chown oracle.oinstall /u03 -R
chmod -R 775 /u03
EMCC软件
-rwxrwxr-x 1 775 oinstall 1742204641 Oct 31 14:53 em13300_linux64-2.zip
-rwxrwxr-x 1 775 oinstall 2090882426 Oct 31 14:53 em13300_linux64-3.zip
-rwxrwxr-x 1 775 oinstall 2117436260 Oct 31 14:51 em13300_linux64-4.zip
-rwxrwxr-x 1 775 oinstall 694002559 Oct 31 14:48 em13300_linux64-5.zip
-rwxrwxr-x 1 775 oinstall 1801995711 Oct 31 14:49 em13300_linux64-6.zip
-rwxrwxr-x 1 775 oinstall 1278491093 Oct 31 14:47 em13300_linux64.bin
赋予.bin文件执行权限
chmod +x em1330_linux64.bin
https://www.oracle.com/enterprise-manager/downloads/cloud-control-downloads.html 下载连接,现在最新版本是13.5。
执行安装
[oracle@gpfs-s02 u03]$ ./em13300_linux64.bin
0%...........................................................................100%
Launcher log file is /tmp/OraInstall2022-10-31_03-41-06PM/launcher2022-10-31_03-41-06PM.log.
Starting Oracle Universal Installer
Checking if CPU speed is above 300 MHz. Actual 2593.906 MHz Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Checking swap space: must be greater than 512 MB. Actual 16379 MB Passed
Checking if this platform requires a 64-bit JVM. Actual 64 Passed (64-bit not required)
Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2022-10-31_03-41-06PM
====Prereq Config Location main===
/tmp/OraInstall2022-10-31_03-41-06PM/stage/prereq
EMGCInstaller args -scratchPath
EMGCInstaller args /tmp/OraInstall2022-10-31_03-41-06PM
EMGCInstaller args -sourceType
EMGCInstaller args network
EMGCInstaller args -timestamp
EMGCInstaller args 2022-10-31_03-41-06PM
EMGCInstaller args -paramFile
EMGCInstaller args /tmp/sfx_fu4yo7/Disk1/install/linux64/oraparam.ini
EMGCInstaller args -nocleanUpOnExit
DiskLoc inside SourceLoc/u03
EMFileLoc:/tmp/OraInstall2022-10-31_03-41-06PM/oui/em/
ScratchPathValue :/tmp/OraInstall2022-10-31_03-41-06PM
安装截图
跳过软件更新
安装程序进行环境检查,如果有错误或warning的查看一下是否影响后续安装
选择advance模式安装
输入emcc安装的目录及agent目录
默认下一步
输入weblogic的管理员密码等信息,注意密码复杂度要满足要求。
输入第一步创建的pdb的一些信息。包括ip地址、监听端口、服务名称等。及规格大小。不同的规格对系统资源和管理的目标数量限制不一样。
点击下一步的时候,安装程序会访问数据库并检查部分参数设置是否满足要求(会给出哪些参数需要调整),如下参数按照别人的部署文档我进行了调整。
alter system set "_optimizer_nlj_hj_adaptive_join"= FALSE scope=both sid='*';
alter system set "_optimizer_strans_adaptive_pruning" = FALSE scope=both sid='*';
alter system set "_px_adaptive_dist_method" = OFF scope=both sid='*';
alter system set "_sql_plan_directive_mgmt_control" = 0 scope=both sid='*';
alter system set "_optimizer_dsdir_usage_control" = 0 scope=both sid='*';
alter system set "_optimizer_use_feedback" = FALSE scope=both sid='*';
alter system set "_optimizer_gather_feedback" = FALSE scope=both sid='*';
alter system set "_optimizer_performance_feedback" = OFF scope=both sid='*';
alter system set "_allow_insert_with_update_check"=true;
alter system set parallel_max_servers=8 SCOPE=SPFILE;
alter system set session_cached_cursors=200 SCOPE=SPFILE;
alter system set sga_target=3000000000 SCOPE=SPFILE;
alter system set pga_aggregate_target=2g SCOPE=SPFILE;
alter system set shared_pool_size='600000000';
输入sysman的密码
安装会在50%的时候等好久具体记不得多长时间了。
最后执行一个脚本root用户执行。
# sh allroot.sh
Starting to execute allroot.sh .........
Starting to execute /u03/middleware/root.sh ......
/etc exist
Creating /etc/oragchomelist file...
/u03/middleware
Finished product-specific root actions.
/etc exist
Finished execution of /u03/middleware/root.sh ......
Starting to execute /u03/agent/agent_13.3.0.0.0/root.sh ......
Finished product-specific root actions.
/etc exist
Finished execution of /u03/agent/agent_13.3.0.0.0/root.sh ......
[root@gpfs-s02 middleware]#
完成emcc软件的安装。
登陆及访问方式
1. Enterprise Manager Cloud Control URL: https://gpfs-s02:7803/em
2. Admin Server URL: https://gpfs-s02:7102/console
3. BI Publisher URL: https://gpfs-s02:9803/xmlpserver/servlet/home
The following details need to be provided while installing an additional OMS:
1. Admin Server Host Name: gpfs-s02
2. Admin Server Port: 7102
通过https://ip:7083/em进行登陆
如图就说emcc的管理主页了。
常用管理命令
- oms管理
cd /u03/middleware/bin
[oracle@gpfs-s02 bin]$ ./emctl status oms #查看oms的状态
[oracle@gpfs-s02 bin]$ ./emctl status oms -details #查看oms的详细信息
[oracle@gpfs-s02 bin]$./emctl stop oms #停止oms服务
[oracle@gpfs-s02 bin]$./emctl start oms #启动oms服务
- agent管理
cd /u03/agent/agent_13.3.0.0.0/bin
[oracle@gpfs-s02 bin]$ ./emctl status agent #查看agent状态
[oracle@gpfs-s02 bin]$ ./emctl stop agent #停止agent
[oracle@gpfs-s02 bin]$ ./emctl start agent #启动agent
至此emcc软件已经部署完毕,下篇介绍如何纳管资源。
相关推荐
- 京东大佬问我,每天新增100w订单数据的分库分表方案
-
京东大佬问我,每天新增100w订单数据的分库分表方案嗯,用户问的是高并发订单系统的分库分表方案,每天新增100万订单。首先,我得理解需求。每天100万订单,那每秒大概是多少呢?算一下,100万除以86...
- MySQL 内存使用构成解析与优化实践
-
在为HULK平台的MySQL提供运维服务过程中,我们常常接到用户反馈:“MySQL内存使用率过高”。尤其在业务高峰期,监控中内存占用持续增长,即便数据库运行正常,仍让人怀疑是否存在异常,甚至...
- 阿里云国际站:怎样计算内存优化型需求?
-
本文由【云老大】TG@yunlaoda360撰写一、内存优化型实例的核心价值内存优化型ECS实例专为数据密集型场景设计,具有以下核心优势:高内存配比:内存与CPU比例可达1:8(如ecs.re6....
- MySQL大数据量处理常用解决方案
-
1、读写分离读写分离,将数据库的读写操作分开,比如让性能比较好的服务器去做写操作,性能一般的服务器做读操作。写入或更新操作频繁可以借助MQ,进行顺序写入或更新。2、分库分表分库分表是最常规有效的一种大...
- 1024程序员节 花了三个小时调试 集合近50种常用小工具 开源项目
-
开篇1024是程序员节了,本来我说看个开源项目花半个小时调试之前看的一个不错的开源项目,一个日常开发常常使用的工具集,结果花了我三个小时,开源作者的开源项目中缺少一些文件,我一个个在网上找的,好多坑...
- 免费全开源,功能强大的多连接数据库管理工具!-DbGate
-
DBGate是一个强大且易于使用的开源数据库管理工具,它提供了一个统一的Web界面,让你能够轻松地访问和管理多种类型的数据库。无论你是开发者、数据分析师还是DBA,DBGate都能帮助你提升工作效率...
- 使用operator部署Prometheus
-
一、介绍Operator是CoreOS公司开发,用于扩展kubernetesAPI或特定应用程序的控制器,它用来创建、配置、管理复杂的有状态应用,例如数据库,监控系统。其中Prometheus-Op...
- java学习总结
-
SpringBoot简介https://spring.io/guideshttp://www.spring4all.com/article/246http://www.spring4all.com/a...
- Swoole难上手?从EasySwoole开始
-
前言有些童鞋感觉对Swoole不从下手,也不知在什么业务上使用它,看它这么火却学不会也是挺让人捉急的一件事情。Swoole:面向生产环境的PHP异步网络通信引擎啥是异步网络通信?10年架构师领你架...
- 一款商用品质的开源商城系统(Yii2+Vue2.0+uniapp)
-
一、项目简介这是一套很成熟的开源商城系统【开店星】,之前推过一次,后台感兴趣的还不少,今天再来详细介绍一下:基于Yii2+Vue2.0+uniapp框架研发,代码质量堪称商用品质,下载安装无门槛,UI...
- Yii2中对Composer的使用
-
如何理解Composer?若使用Composer我们应该先知道这是一个什么东西,主要干什么用的,我们可以把Composer理解为PHP包的管理工具,管理我们用到的Yii2相关的插件。安装Compose...
- SpringBoot实现OA自动化办公管理系统源码+代码讲解+开发文档
-
今天发布的是由【猿来入此】的优秀学员独立做的一个基于springboot脚手架的自动化OA办公管理系统,主要实现了日常办公的考勤签到等一些办公基本操作流程的全部功能,系统分普通员工、部门经理、管理员等...
- 7层架构解密:从UI到基础设施,打造真正可扩展的系统
-
"我们系统用户量暴增后完全崩溃了!"这是多少工程师的噩梦?选择正确的数据库只是冰山一角,真正的系统扩展性是一场全栈战役。客户端层:用户体验的第一道防线当用户点击你的应用时,0.1秒...
- Win11系统下使用Django+Celery异步任务队列以及定时(周期)任务
-
首先明确一点,celery4.1+的官方文档已经详细说明,该版本之后不需要引入依赖django-celery这个库了,直接用celery本身就可以了,就在去年年初的一篇文章python3.7....
你 发表评论:
欢迎- 一周热门
- 最近发表
- 标签列表
-
- oracle位图索引 (63)
- oracle批量插入数据 (62)
- oracle事务隔离级别 (53)
- oracle 空为0 (50)
- oracle主从同步 (55)
- oracle 乐观锁 (51)
- redis 命令 (78)
- php redis (88)
- redis 存储 (66)
- redis 锁 (69)
- 启动 redis (66)
- redis 时间 (56)
- redis 删除 (67)
- redis内存 (57)
- redis并发 (52)
- redis 主从 (69)
- redis 订阅 (51)
- redis 登录 (54)
- redis 面试 (58)
- 阿里 redis (59)
- redis 搭建 (53)
- redis的缓存 (55)
- lua redis (58)
- redis 连接池 (61)
- redis 限流 (51)