Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the steps to enable Oracle ACFS under CentOS

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article introduces the knowledge of "what is the step of enabling Oracle ACFS under CentOS". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

By default, CentOS is not one of the operating systems officially supported by Oracle. The ACFS feature is also not installed when you install Grid. When you try to install, you will prompt "Not Supported"

The kernel that installs Oracle Enterprise Linux uploads an ISO file of OEL 7.3.Using ISO as a local yum source installation

Yum-config-manager-disable ol7*

Yum-config-manager-enable ol7_UEKR3

Sed-I's Universe DFAULTKERNELL kernelash DFAULTERNERNELL kernelash / etc/sysconfig/kernel

Yum install kernel-uek kernel-uek-devel

After installation:

Grub2-editenv list

Init 6

Make GRID software patch

Patch: 25078431

1. Replace the opatch tool

P6880880_180000_Linux-x86-64.zip

The opatch of all nodes here needs to be replaced.

two。 Decompress and replenish the bag

Unzip / u01/p25078431_122010_Linux-x86-64.zip-d / tmp

3. Make a patch

/ u01/app/12.2.0/grid/OPatch/opatchauto apply / tmp/25078431

Both nodes have to be hit.

4. Modify Oracle configuration file

Modify $GRID_HOME/lib/osds_acfslib.pm

Reference:

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

Enable the ACFS module

[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

This is the end of the content of "what are the steps to enable Oracle ACFS under CentOS". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report