问题描述
你好,团队
这两天我通过VirtualBox 5.2.18在OL 7.5 (我的Linux服务器) 上部署了Oracle RAC 18c。在这段时间里,我遇到了以下一些问题,
(1) 安装RPM “oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm” 后,我观察了文件 “orakernel.log” 上的一些内容,
它不会为 “网格” 创建相关的组和用户,例如,
(2) 当我通过ASMFD配置ASM磁盘时,以及在重新启动服务器旁边,之后直到配置GI (./gridSetup.sh) 并跳至 “创建ASM磁盘组”
最好的问候
赵全文
这两天我通过VirtualBox 5.2.18在OL 7.5 (我的Linux服务器) 上部署了Oracle RAC 18c。在这段时间里,我遇到了以下一些问题,
(1) 安装RPM “oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm” 后,我观察了文件 “orakernel.log” 上的一些内容,
[root@adccrac1 ~]# cat /var/log/oracle-database-preinstall-18c/results/orakernel.log Adding group oinstall with gid 54321 Adding group dba with gid 54322 Adding group oper with gid 54323 Adding group backupdba with gid 54324 Adding group dgdba with gid 54325 Adding group kmdba with gid 54326 Adding group racdba with gid 54330 Adding user oracle with user id 54321, initial login group oinstall, supplementary groups oinstall,dba,oper,backupdba,dgdba,kmdba,racdba and home directory /home/oracle Changing ownership of /home/oracle to oracle:oinstall Please set password for user - oracle uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba),54323(oper),54324(backupdba),54325(dgdba),54326(kmdba),54330(racdba) User creation passed ......复制
它不会为 “网格” 创建相关的组和用户,例如,
groupadd -g 54327 asmdba groupadd -g 54328 asmoper groupadd -g 54329 asmadmin useradd -m -u 54322 -g oinstall -G asmadmin,asmdba,asmoper,dba,oper,racdba grid复制
(2) 当我通过ASMFD配置ASM磁盘时,以及在重新启动服务器旁边,之后直到配置GI (./gridSetup.sh) 并跳至 “创建ASM磁盘组”
[root@adccrac1 ~]# export ORACLE_HOME=/u01/app/18.0.0/grid [root@adccrac1 ~]# export PATH=$PATH:$ORACLE_HOME/bin [root@adccrac1 ~]# export ORACLE_BASE=/tmp [root@adccrac1 ~]# /u01/app/18.0.0/grid/bin/asmcmd afd_label CRSDG1 /dev/sdb --init [root@adccrac1 ~]# /u01/app/18.0.0/grid/bin/asmcmd afd_label CRSDG2 /dev/sdc --init [root@adccrac1 ~]# /u01/app/18.0.0/grid/bin/asmcmd afd_label CRSDG3 /dev/sdd --init [root@adccrac1 ~]# /u01/app/18.0.0/grid/bin/asmcmd afd_label MGMT /dev/sde --init [root@adccrac1 ~]# /u01/app/18.0.0/grid/bin/asmcmd afd_label DATA1 /dev/sdf --init [root@adccrac1 ~]# /u01/app/18.0.0/grid/bin/asmcmd afd_label DATA2 /dev/sdg --init [root@adccrac1 ~]# /u01/app/18.0.0/grid/bin/asmcmd afd_label ARCH /dev/sdh --init [root@adccrac1 ~]# /u01/app/18.0.0/grid/bin/asmcmd afd_label FTRA /dev/sdi --init [root@adccrac1 ~]# init 6 [root@adccrac1 ~]# ls -ld /dev/oracleafd/disks/ drwxrwxr-x 2 grid oinstall 40 Aug 30 09:59 /dev/oracleafd/disks/ [root@adccrac1 ~]# cd /dev/oracleafd/disks/ [root@adccrac1 disks]# ls -lrht total 0复制
最好的问候
赵全文
专家解答
从文档中:
https://docs.oracle.com/en/database/oracle/oracle-database/18/cwlin/overview-of-oracle-linux-configuration-with-oracle-rpms.html#GUID-693599D4-BD32-4E6A-9689-FA7D1CD75653
Configuring a server using Oracle Linux and the Oracle Preinstallation RPM consists of the following steps:
Install Oracle Linux.
Register your Linux distribution with Oracle Unbreakable Linux Network (ULN) or download and configure the yum repository for your system using the Oracle Linux yum server for your Oracle Linux release.
Install the Oracle Preinstallation RPM with the RPM for your Oracle Grid Infrastructure and Oracle Database releases, and update your Linux release.
Create role-allocated groups and users with identical names and ID numbers.
Complete network interface configuration for each cluster node candidate.
Complete system configuration for shared storage access as required for each standard or core node cluster candidate.
After these steps are complete, you can proceed to install Oracle Grid Infrastructure and Oracle Database.
因此,用户设置不是由rpm完成的-这对我来说是有意义的,因为 * 我们 * 不知道您希望您的用户名和ID是什么。
我不确定您到底要什么 (2)。
https://docs.oracle.com/en/database/oracle/oracle-database/18/cwlin/overview-of-oracle-linux-configuration-with-oracle-rpms.html#GUID-693599D4-BD32-4E6A-9689-FA7D1CD75653
Configuring a server using Oracle Linux and the Oracle Preinstallation RPM consists of the following steps:
Install Oracle Linux.
Register your Linux distribution with Oracle Unbreakable Linux Network (ULN) or download and configure the yum repository for your system using the Oracle Linux yum server for your Oracle Linux release.
Install the Oracle Preinstallation RPM with the RPM for your Oracle Grid Infrastructure and Oracle Database releases, and update your Linux release.
Create role-allocated groups and users with identical names and ID numbers.
Complete network interface configuration for each cluster node candidate.
Complete system configuration for shared storage access as required for each standard or core node cluster candidate.
After these steps are complete, you can proceed to install Oracle Grid Infrastructure and Oracle Database.
因此,用户设置不是由rpm完成的-这对我来说是有意义的,因为 * 我们 * 不知道您希望您的用户名和ID是什么。
我不确定您到底要什么 (2)。
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。
评论
相关阅读
Oracle DataGuard高可用性解决方案详解
孙莹
531次阅读
2025-03-26 23:27:33
Oracle RAC 一键安装翻车?手把手教你如何排错!
Lucifer三思而后行
501次阅读
2025-04-15 17:24:06
墨天轮个人数说知识点合集
JiekeXu
412次阅读
2025-04-01 15:56:03
XTTS跨版本迁移升级方案(11g to 19c RAC for Linux)
zwtian
411次阅读
2025-04-08 09:12:48
【纯干货】Oracle 19C RU 19.27 发布,如何快速升级和安装?
Lucifer三思而后行
394次阅读
2025-04-18 14:18:38
Oracle SQL 执行计划分析与优化指南
Digital Observer
392次阅读
2025-04-01 11:08:44
Oracle 19c RAC更换IP实战,运维必看!
szrsu
353次阅读
2025-04-08 23:57:08
Oracle数据库一键巡检并生成HTML结果,免费脚本速来下载!
陈举超
349次阅读
2025-04-20 10:07:02
oracle定时任务常用攻略
virvle
321次阅读
2025-03-25 16:05:19
3月“墨力原创作者计划”获奖名单公布
墨天轮编辑部
320次阅读
2025-04-15 14:48:05