ITPub博客

首页 > 数据库 > Oracle > GI安装选项的说明

GI安装选项的说明

原创 Oracle 作者:lusklusklusk 时间:2017-11-01 18:16:06 0 删除 编辑
GI:Grid Infrastructure

Install and Configure Oracle Grid Infrastructure for a cluser

安装的是RAC模式,就算只有一台机器时,安装的也是RAC的单节点

Configure Oracle Grid Infrastructure for a Standalone Server
1、必须要有ASM DISKGROUP
2、必须要有ASM的密码
3、会安装好ASM实例
4、会自动启动ASM实例
安装完以后
/etc/oratab下面有ASM的信息
/etc/inittab下面有init.ohasd的信息
$ORACLE_HOME/dbs下有orapw+ASM
ps -ef|grep ASM有信息
因为是非集群安装,所以无法执行crsctl check crs、crsctl check cluster,但是可以执行crsctl stat res、crsctl check css、crsctl check has

Install Oracle Grid Infrastructure Sofware Only
/u01/app/11.2.0/grid/root.sh执行完提示如果要配置Stand-Alone Server则运行下面的命令
/u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/roothas.pl
如果不执行perl,则/u01/app/11.2.0/grid/bin下没有crsctl、ocrcheck、ocrconfig、ocrdump等,但是有srvctl、crsctl.bin、ocrcheck.bin、ocrconfig.bin、ocrdump.bin
安装并执行完perl以后
/etc/oratab下面没有ASM的信息
/etc/inittab下面没有init.ohasd的信息
$ORACLE_HOME/dbs下没有orapw+ASM
ps -ef|grep ASM没有信息

/u01/app/11.2.0/grid/root.sh后的提示信息
To configure Grid Infrastructure for a Stand-Alone Server run the following command as the root user:
/u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/roothas.pl
To configure Grid Infrastructure for a Cluster execute the following command:
/u01/app/11.2.0/grid/crs/config/config.sh
This command launches the Grid Infrastructure Configuration Wizard. The wizard also supports silent operation, and the parameters can be passed through the response file that is available in the installation media.



oracleasm createdisk data1 /dev/sdf
Device "/dev/sdf" is not a partition
--创建asmdisk不能是整个磁盘,必须是分区

Standalone server有Create ASM Disk Group、ASM Password两个步骤


Software Only时没有Create ASM Disk Group、ASM Password两个步骤

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/30126024/viewspace-2146702/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Welcome to Lukes DB HOME。 Oracle OCM、Mysql OCP, 10年DBA工作经验,博客仅记录自己的一个学习过程,不代表完全准确,如有需要,欢迎转载。

注册时间:2015-02-02

  • 博文量
    348
  • 访问量
    1174956