GI安裝選項的說明

lusklusklusk發表於2017-11-01
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部落格 ” ,連結:http://blog.itpub.net/30126024/viewspace-2146702/,如需轉載,請註明出處,否則將追究法律責任。

相關文章