溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

GI安裝選項的示例分析

發(fā)布時間:2021-11-10 10:54:57 來源:億速云 閱讀:181 作者:小新 欄目:關(guān)系型數(shù)據(jù)庫

這篇文章給大家分享的是有關(guān)GI安裝選項的示例分析的內(nèi)容。小編覺得挺實用的,因此分享給大家做個參考,一起跟隨小編過來看看吧。

GI:Grid Infrastructure

Install and Configure Oracle Grid Infrastructure for a cluser
安裝的是RAC模式,就算只有一臺機(jī)器時,安裝的也是RAC的單節(jié)點

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有信息
因為是非集群安裝,所以無法執(zhí)行crsctl check crs、crsctl check cluster,但是可以執(zhí)行crsctl stat res、crsctl check css、crsctl check has

Install Oracle Grid Infrastructure Sofware Only
/u01/app/11.2.0/grid/root.sh執(zhí)行完提示如果要配置Stand-Alone Server則運(yùn)行下面的命令
/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
如果不執(zhí)行perl,則/u01/app/11.2.0/grid/bin下沒有crsctl、ocrcheck、ocrconfig、ocrdump等,但是有srvctl、crsctl.bin、ocrcheck.bin、ocrconfig.bin、ocrdump.bin
安裝并執(zhí)行完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
--創(chuàng)建asmdisk不能是整個磁盤,必須是分區(qū)

Standalone server有Create ASM Disk Group、ASM Password兩個步驟
GI安裝選項的示例分析

Software Only時沒有Create ASM Disk Group、ASM Password兩個步驟
GI安裝選項的示例分析

感謝各位的閱讀!關(guān)于“GI安裝選項的示例分析”這篇文章就分享到這里了,希望以上內(nèi)容可以對大家有一定的幫助,讓大家可以學(xué)到更多知識,如果覺得文章不錯,可以把它分享出去讓更多的人看到吧!

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。

gi
AI