本篇內(nèi)容介紹了“CentOS下啟用Oracle ACFS步驟是什么”的有關(guān)知識,在實際案例的操作過程中,不少人都會遇到這樣的困境,接下來就讓小編帶領(lǐng)大家學(xué)習(xí)一下如何處理這些情況吧!希望大家仔細(xì)閱讀,能夠?qū)W有所成!
成都網(wǎng)站制作、做網(wǎng)站,成都做網(wǎng)站公司-創(chuàng)新互聯(lián)已向上1000+企業(yè)提供了,網(wǎng)站設(shè)計,網(wǎng)站制作,網(wǎng)絡(luò)營銷等服務(wù)!設(shè)計與技術(shù)結(jié)合,多年網(wǎng)站推廣經(jīng)驗,合理的價格為您打造企業(yè)品質(zhì)網(wǎng)站。
CentOS默認(rèn)不在Oracle官方支持的操作系統(tǒng)之列。ACFS這個特性在安裝Grid時也沒有安裝。嘗試安裝時,會提示”Not Supported”
yum-config-manager --disable ol7*
yum-config-manager --enable ol7_UEKR3
sed -i 's/DEFAULTKERNEL=kernel/DEFAULTKERNEL=kernel=uek/' /etc/sysconfig/kernel
yum install kernel-uek kernel-uek-devel
安裝之后:
grub2-editenv list
init 6
補(bǔ)丁:25078431
p6880880_180000_Linux-x86-64.zip
這里所有節(jié)點的opatch都要替換
unzip /u01/p25078431_122010_Linux-x86-64.zip -d /tmp
/u01/app/12.2.0/grid/OPatch/opatchauto apply /tmp/25078431
兩個節(jié)點都要打
修改$GRID_HOME/lib/osds_acfslib.pm
參考:
https://blog.csdn.net/weiwangsisoftstone/article/details/78813518
[root@rac01 lib]# vi osds_acfslib.pm
# Testing for "oraclelinux_release", etc prevents us from dropping
# into the code below from other RH based distros like CentOS, for example.
if ((defined($release)) && # Redhat or OEL if defined
(($release =~ /^redhat-release/) || # straight RH
($release =~ /^enterprise-release/) || # Oracle Enterprise Linux
($release =~ /^centos-release/) || # CentOS hack
($release =~ /^oraclelinux-release/))) # Oracle Linux
[root@ncrac4 lib]# acfsroot install
ACFS-9300: ADVM/ACFS distribution files found.
ACFS-9314: Removing previous ADVM/ACFS installation.
ACFS-9315: Previous ADVM/ACFS components successfully removed.
ACFS-9307: Installing requested ADVM/ACFS software.
ACFS-9308: Loading installed ADVM/ACFS drivers.
ACFS-9321: Creating udev for ADVM/ACFS.
ACFS-9323: Creating module dependencies - this may take some time.
ACFS-9154: Loading 'oracleoks.ko' driver.
ACFS-9154: Loading 'oracleadvm.ko' driver.
ACFS-9154: Loading 'oracleacfs.ko' driver.
ACFS-9327: Verifying ADVM/ACFS devices.
ACFS-9156: Detecting control device '/dev/asm/.asm_ctl_spec'.
ACFS-9156: Detecting control device '/dev/ofsctl'.
ACFS-9309: ADVM/ACFS installation correctness verified.
[root@ncrac4 lib]# acfsload start -s
“CentOS下啟用Oracle ACFS步驟是什么”的內(nèi)容就介紹到這里了,感謝大家的閱讀。如果想了解更多行業(yè)相關(guān)的知識可以關(guān)注創(chuàng)新互聯(lián)網(wǎng)站,小編將為大家輸出更多高質(zhì)量的實用文章!