设为首页 加入收藏

TOP

centos7.4+udev+12.2.0.1+gi+asm+rac双节点安装详细教程(七)
2018-03-24 09:50:29 】 浏览:6533
Tags:centos7.4 udev 12.2.0.1 asm rac 节点 安装 详细 教程
product/12.2.0/grid_1/cv/rpm # rpm -ivh cvuqdisk-1.0.10-1.rpm

运行预检查

$ cd /u01/app/grid/product/12.2.0/grid_1/
$ ./runcluvfy.sh stage -pre crsinst -n nodea,nodeb -verbose

Verifying Single Client Access Name (SCAN) ...FAILED
  Verifying DNS/NIS name service 'node-scan' ...FAILED
  PRVG-1101 : SCAN name "node-scan" failed to resolve

SCAN 如果使用hosts方式的话,可以忽略

修正后,运行 gridSetup.sh

Configure Oracle Grid Infrastructure for a New Cluster

Configure an Oracle Standalone Cluster

Cluster Name : node-cluster
SCAN Name : node-scan
SCAN Port : 1521

role:HUB LEAF

GIMR data
at least 39,152MB

DNS/NIS

最后以root运行两个脚本

/u01/app/gridbase/12.2.0/oraInventory/orainstRoot.sh
/u01/app/grid/product/12.2.0/grid_1/root.sh

运行后再次检查

$ cd /u01/app/grid/product/12.2.0/grid_1/
$ ./runcluvfy.sh stage -post crsinst -n nodea,nodeb -verbose

step 3:安装 db

下载 linuxx64_12201_database.zip 解压后安装

Install database software only

Oracle Real Application Cluster database installation

最后以root运行脚本

/u01/app/oracle/product/12.2.0/db_1/root.sh

接下来用 dbca 创建数据库

Global database name : rac0
SID Prefix: rac0

em port:5500

URL=https://node-scan:5500/em

多节点安装前后都检测一下

./runcluvfy.sh stage -pre crsinst -n nodea,nodeb -verbose
./runcluvfy.sh stage -pre dbinst -n nodea,nodeb -verbose

./runcluvfy.sh stage -post crsinst -n nodea,nodeb -verbose
./runcluvfy.sh stage -post dbinst -n nodea,nodeb -verbose

./cluvfy stage -pre dbinst -n nodea,nodeb -verbose
./cluvfy stage -post dbinst -n nodea,nodeb -verbose

查看一些信息

# /u01/app/grid/product/12.2.0/grid_1/bin/crsctl get css
Usage:
  crsctl get css 
  
   
    Displays the value of a Cluster Synchronization Services parameter

    clusterguid
    diagwait
    disktimeout
    misscount
    reboottime
    noautorestart
    priority

  crsctl get css ipmiaddr
    Displays the IP address of the local IPMI device as set in the Oracle registry

# /u01/app/grid/product/12.2.0/grid_1/bin/crsctl get css diagwait
CRS-4678: Successful get diagwait 0 for Cluster Synchronization Services.

# /u01/app/grid/product/12.2.0/grid_1/bin/crsctl get css disktimeout
CRS-4678: Successful get disktimeout 200 for Cluster Synchronization Services.

# /u01/app/grid/product/12.2.0/grid_1/bin/crsctl get css misscount
CRS-4678: Successful get misscount 30 for Cluster Synchronization Services.

# /u01/app/grid/product/12.2.0/grid_1/bin/crsctl get css reboottime
CRS-4678: Successful get reboottime 3 for Cluster Synchronization Services.
  
# /u01/app/grid/product/12.2.0/grid_1/bin/crsctl lsmodules crs
List CRSD Debug Module: AGENT
List CRSD Debug Module: AGFW
List CRSD Debug Module: CLSCAL
List CRSD Debug Module: CLSCEVT
List CRSD Debug Module: CLSFRAME
List CRSD Debug Module: CLSINET
List CRSD Debug Module: CLSO
List CRSD Debug Module: CLSVER
List CRSD Debug Module: CLUCLS
List CRSD Debug Module: COMMCRS
List CRSD Debug Module: COMMNS
List CRSD Debug Module: CRSAPP
List CRSD Debug Module: CRSCCL
List CRSD Debug Module: CRSCEVT
List CRSD Debug Module: CRSCOMM
List CRSD Debug Module: CRSD
List CRSD Debug Module: CRSEVT
List CRSD Debug Module: CRSMAIN
List CRSD Debug Module: CRSOCR
List CRSD Debug Module: CRSPE
List CRSD Debug Module: CRSPLACE
List CRSD Debug Module: CRSRES
List CRSD Debug Module: CRSRPT
List CRSD Debug Module: CRSRTI
List CRSD Debug Module: CRSSE
List CRSD D
首页 上一页 4 5 6 7 8 9 10 下一页 尾页 7/10/10
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇Java JDBC数据库连接规范介绍(Jav.. 下一篇java之数据库连接JDBC教程

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目