您好,登錄后才能下訂單哦!
本篇內容介紹了“CentOS下啟用Oracle ACFS步驟是什么”的有關知識,在實際案例的操作過程中,不少人都會遇到這樣的困境,接下來就讓小編帶領大家學習一下如何處理這些情況吧!希望大家仔細閱讀,能夠學有所成!
CentOS默認不在Oracle官方支持的操作系統之列。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
補丁:25078431
p6880880_180000_Linux-x86-64.zip
這里所有節點的opatch都要替換
unzip /u01/p25078431_122010_Linux-x86-64.zip -d /tmp
/u01/app/12.2.0/grid/OPatch/opatchauto apply /tmp/25078431
兩個節點都要打
修改$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步驟是什么”的內容就介紹到這里了,感謝大家的閱讀。如果想了解更多行業相關的知識可以關注億速云網站,小編將為大家輸出更多高質量的實用文章!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。