zoukankan      html  css  js  c++  java
  • REHL8 oracle 19C RAC安装四(数据库创建)

    1. 权限检查(两台RAC)
      cd $ORACLE_HOME
      chown oracle:asmadmin oracle
      chmod 6751 oracle

    [root@nymtx bin]# ls -ltr oracle
    -rwsr-s--x 1 oracle asmadmin 441159688 Jul 1 00:08 oracle
    2.NFS 权限
    [root@nymtx disks]# ls -ltr
    total 54525952
    -rw-r--r-- 1 grid asmadmin 1073741824 Jun 30 20:29 asm6
    -rw-r--r-- 1 grid asmadmin 1073741824 Jun 30 20:29 asm7
    -rw-r--r-- 1 grid asmadmin 10737418240 Jul 1 08:23 asm3
    -rw-r--r-- 1 grid asmadmin 10737418240 Jul 1 08:23 asm2
    -rw-r--r-- 1 grid asmadmin 10737418240 Jul 1 08:24 asm5
    -rw-r--r-- 1 grid asmadmin 10737418240 Jul 1 08:25 asm4
    -rw-r--r-- 1 grid asmadmin 10737418240 Jul 1 2020 asm1
    [root@nymtx disks]# chmod g+w *
    [root@nymtx disks]# ls -ltr
    total 54525952
    -rw-rw-r-- 1 grid asmadmin 1073741824 Jun 30 20:29 asm6
    -rw-rw-r-- 1 grid asmadmin 1073741824 Jun 30 20:29 asm7
    -rw-rw-r-- 1 grid asmadmin 10737418240 Jul 1 08:23 asm3
    -rw-rw-r-- 1 grid asmadmin 10737418240 Jul 1 08:23 asm2
    -rw-rw-r-- 1 grid asmadmin 10737418240 Jul 1 08:24 asm5
    -rw-rw-r-- 1 grid asmadmin 10737418240 Jul 1 08:25 asm4
    -rw-rw-r-- 1 grid asmadmin 10737418240 Jul 1 2020 asm1
    3.重启检查crs
    [root@nymtx bin]# crsctl stop crs
    CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'nymtx'
    CRS-2673: Attempting to stop 'ora.crsd' on 'nymtx'
    CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on server 'nymtx'
    CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'nymtx'
    CRS-33673: Attempting to stop resource group 'ora.asmgroup' on server 'nymtx'
    CRS-2673: Attempting to stop 'ora.DATA.dg' on 'nymtx'
    CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'nymtx'
    CRS-2673: Attempting to stop 'ora.cvu' on 'nymtx'
    CRS-2673: Attempting to stop 'ora.qosmserver' on 'nymtx'
    CRS-2673: Attempting to stop 'ora.chad' on 'nymtx'
    CRS-2677: Stop of 'ora.DATA.dg' on 'nymtx' succeeded
    CRS-2673: Attempting to stop 'ora.asm' on 'nymtx'
    CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'nymtx' succeeded
    CRS-2673: Attempting to stop 'ora.nymtx.vip' on 'nymtx'
    CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'nymtx' succeeded
    CRS-2673: Attempting to stop 'ora.scan1.vip' on 'nymtx'
    CRS-2677: Stop of 'ora.nymtx.vip' on 'nymtx' succeeded
    CRS-2677: Stop of 'ora.cvu' on 'nymtx' succeeded
    CRS-2677: Stop of 'ora.scan1.vip' on 'nymtx' succeeded
    CRS-2677: Stop of 'ora.asm' on 'nymtx' succeeded
    CRS-2673: Attempting to stop 'ora.ASMNET1LSNR_ASM.lsnr' on 'nymtx'
    CRS-2677: Stop of 'ora.qosmserver' on 'nymtx' succeeded
    CRS-2677: Stop of 'ora.ASMNET1LSNR_ASM.lsnr' on 'nymtx' succeeded
    CRS-2673: Attempting to stop 'ora.asmnet1.asmnetwork' on 'nymtx'
    CRS-2677: Stop of 'ora.asmnet1.asmnetwork' on 'nymtx' succeeded
    CRS-33677: Stop of resource group 'ora.asmgroup' on server 'nymtx' succeeded.
    CRS-2677: Stop of 'ora.chad' on 'nymtx' succeeded
    CRS-2672: Attempting to start 'ora.qosmserver' on 'hzmtx'
    CRS-2672: Attempting to start 'ora.scan1.vip' on 'hzmtx'
    CRS-2672: Attempting to start 'ora.cvu' on 'hzmtx'
    CRS-2672: Attempting to start 'ora.nymtx.vip' on 'hzmtx'
    CRS-2676: Start of 'ora.cvu' on 'hzmtx' succeeded
    CRS-2676: Start of 'ora.nymtx.vip' on 'hzmtx' succeeded
    CRS-2676: Start of 'ora.scan1.vip' on 'hzmtx' succeeded
    CRS-2672: Attempting to start 'ora.LISTENER_SCAN1.lsnr' on 'hzmtx'
    CRS-2676: Start of 'ora.LISTENER_SCAN1.lsnr' on 'hzmtx' succeeded
    CRS-2676: Start of 'ora.qosmserver' on 'hzmtx' succeeded
    CRS-2673: Attempting to stop 'ora.ons' on 'nymtx'
    CRS-2677: Stop of 'ora.ons' on 'nymtx' succeeded
    CRS-2673: Attempting to stop 'ora.net1.network' on 'nymtx'
    CRS-2677: Stop of 'ora.net1.network' on 'nymtx' succeeded
    CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'nymtx' has completed
    CRS-2677: Stop of 'ora.crsd' on 'nymtx' succeeded
    CRS-2673: Attempting to stop 'ora.storage' on 'nymtx'
    CRS-2673: Attempting to stop 'ora.crf' on 'nymtx'
    CRS-2673: Attempting to stop 'ora.mdnsd' on 'nymtx'
    CRS-2677: Stop of 'ora.crf' on 'nymtx' succeeded
    CRS-2677: Stop of 'ora.storage' on 'nymtx' succeeded
    CRS-2673: Attempting to stop 'ora.asm' on 'nymtx'
    CRS-2677: Stop of 'ora.mdnsd' on 'nymtx' succeeded
    CRS-2677: Stop of 'ora.asm' on 'nymtx' succeeded
    CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'nymtx'
    CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'nymtx' succeeded
    CRS-2673: Attempting to stop 'ora.ctssd' on 'nymtx'
    CRS-2673: Attempting to stop 'ora.evmd' on 'nymtx'
    CRS-2677: Stop of 'ora.ctssd' on 'nymtx' succeeded
    CRS-2677: Stop of 'ora.evmd' on 'nymtx' succeeded
    CRS-2673: Attempting to stop 'ora.cssd' on 'nymtx'
    CRS-2677: Stop of 'ora.cssd' on 'nymtx' succeeded
    CRS-2673: Attempting to stop 'ora.gipcd' on 'nymtx'
    CRS-2673: Attempting to stop 'ora.gpnpd' on 'nymtx'
    CRS-2677: Stop of 'ora.gpnpd' on 'nymtx' succeeded
    CRS-2677: Stop of 'ora.gipcd' on 'nymtx' succeeded
    CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'nymtx' has completed
    CRS-4133: Oracle High Availability Services has been stopped.
    [root@nymtx bin]# crsctl start crs
    CRS-4123: Oracle High Availability Services has been started.
    [root@nymtx bin]# crsctl check crs
    CRS-4638: Oracle High Availability Services is online
    CRS-4537: Cluster Ready Services is online
    CRS-4529: Cluster Synchronization Services is online
    CRS-4533: Event Manager is online
    4. 数据库创建
    oracle:
    dbca















  • 相关阅读:
    html5学习系列之ef类标签
    html5学习系列之cd标签
    Java学习系列——xml学习基础
    html5学习系列——b标签
    为什么我要使用Linux,使用Linux的十个理由。
    设置Linux系统的空闲等待时间TMOUT的方法和Linux反空闲设置的两种方法
    创建动态MSSQL数据库表的方法
    SQL SERVER 自增列的方法
    XtraBackup构建MySQL主从环境的方法
    如何查看MySQL执行计划呢?
  • 原文地址:https://www.cnblogs.com/tingxin/p/13218740.html
Copyright © 2011-2022 走看看