這篇文章給大家分享的是有關(guān)GI安裝選項(xiàng)的示例分析的內(nèi)容。小編覺(jué)得挺實(shí)用的,因此分享給大家做個(gè)參考,一起跟隨小編過(guò)來(lái)看看吧。
創(chuàng)新互聯(lián)公司10多年成都定制網(wǎng)頁(yè)設(shè)計(jì)服務(wù);為您提供網(wǎng)站建設(shè),網(wǎng)站制作,網(wǎng)頁(yè)設(shè)計(jì)及高端網(wǎng)站定制服務(wù),成都定制網(wǎng)頁(yè)設(shè)計(jì)及推廣,對(duì)房屋鑒定等多個(gè)方面擁有豐富的網(wǎng)站運(yùn)維經(jīng)驗(yàn)的網(wǎng)站建設(shè)公司。
GI:Grid Infrastructure
Install and Configure Oracle Grid Infrastructure for a cluser
安裝的是RAC模式,就算只有一臺(tái)機(jī)器時(shí),安裝的也是RAC的單節(jié)點(diǎn)
Configure Oracle Grid Infrastructure for a Standalone Server
1、必須要有ASM DISKGROUP
2、必須要有ASM的密碼
3、會(huì)安裝好ASM實(shí)例
4、會(huì)自動(dòng)啟動(dòng)ASM實(shí)例
安裝完以后
/etc/oratab下面有ASM的信息
/etc/inittab下面有init.ohasd的信息
$ORACLE_HOME/dbs下有orapw+ASM
ps -ef|grep ASM有信息
因?yàn)槭欠羌喊惭b,所以無(wú)法執(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下沒(méi)有crsctl、ocrcheck、ocrconfig、ocrdump等,但是有srvctl、crsctl.bin、ocrcheck.bin、ocrconfig.bin、ocrdump.bin
安裝并執(zhí)行完perl以后
/etc/oratab下面沒(méi)有ASM的信息
/etc/inittab下面沒(méi)有init.ohasd的信息
$ORACLE_HOME/dbs下沒(méi)有orapw+ASM
ps -ef|grep ASM沒(méi)有信息
/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不能是整個(gè)磁盤(pán),必須是分區(qū)
Standalone server有Create ASM Disk Group、ASM Password兩個(gè)步驟
Software Only時(shí)沒(méi)有Create ASM Disk Group、ASM Password兩個(gè)步驟
感謝各位的閱讀!關(guān)于“GI安裝選項(xiàng)的示例分析”這篇文章就分享到這里了,希望以上內(nèi)容可以對(duì)大家有一定的幫助,讓大家可以學(xué)到更多知識(shí),如果覺(jué)得文章不錯(cuò),可以把它分享出去讓更多的人看到吧!