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两个步骤
![](//img.blog.itpub.net/blog/attachment/201711/1/30126024_1509531428p1ZD.jpg?x-oss-process=style/bb)
Software Only时没有Create ASM Disk Group、ASM Password两个步骤
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两个步骤
![](http://img.blog.itpub.net/blog/attachment/201711/1/30126024_1509531428p1ZD.jpg?x-oss-process=style/bb)
Software Only时没有Create ASM Disk Group、ASM Password两个步骤
![](http://img.blog.itpub.net/blog/attachment/201711/1/30126024_1509531446xbBO.jpg?x-oss-process=style/bb)
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/30126024/viewspace-2146702/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/30126024/viewspace-2146702/