Oracle ACFS Support on Linux detailed solution

Source: Internet
Author: User
Tags unsupported

recently ready to use Oracle ACFS built ogg-ha in a RAC environment, so a set of Oracle11.2.0.4.0 RAC was built on the RedHat6.5 system, found that ACFS cannot be used. After looking for a lot of data, found that 11G ACFS does not support RedHat6.5,11.2.0.4.0 only support to RedHat6.3. Next , let's look at the information about ORACLEACFS support on Linux.

not supported description of the ACFS

[[email protected] ~] $cat  /etc/issue|sed –n  ' 1p ' red hat enterprise linux server release 6.5 (Santiago) [[email protected]  ~]$ lsmod | grep acfs                   #不支持的OS上  [[email protected] ~] $cat  /etc/issue| sed –n  ' 1p ' red hat enterprise linux server release 6.2 (Santiago) [[ Email protected] ~] $lsmod | grep acfs                      #支持的OS上oracleacfs            1670360  0oracleoks              321904  2 ORACLEACFS,ORACLEADVM 

acfs OS kernel There is no on the module ACFS related information. Next we look at cluster service ACFS related services

[[email protected] ~]$ crs_stat -t -vora.registry.acfs             #不支持的OS上CRS -0210: could not find resource  ' Ora.registry.acfs ' . [[email protected] ~]$ crs_stat -t -vora.registry.acfs              #支持的OS上Name            type     r/ra  f/ft   target     State    Host          --------------------------------------------------------------------------------------- ora .... ry.acfs    ora....fs.type 0/5    0/  online    online    note1  [[email protected] ~] $crsctl  status  Resora.drivers.acfs –init         #支持的OS上NAME =ora.drivers.acfstype=ora.drivers.acfs.typetarget= Onlinestate=online on note1

in installation Grid Infrastructure execute root.sh script creation acfs Registry resource ( Ora.registry.acfs). This procedure initializes the Acfs Ora.registry.acfs online os

[[email protected] ~]$ acfsdriverstate -orahome$ oracle_home supportedacfs-9200: supported [[email protected] ~]$  acfsdriverstate-orahome  $ORACLE _home supportedacfs-9459: advm/acfs is not  supported on this osversion:  ' Unknown ' acfs-9201:not supported 

Acfsdriverstate is a shell script, by calling $ORACLE _home/lib/acfstoolsdriver.sh script, followed by Acfstoolsdriver.sh call $ORACLE _home/lib/osds-*.pm< Span style= "Font-family:simsun, serif;" > script for validation. where osds-acfslib.pm Perl Osplatforms and the corresponding version. Let's take a look at this script (because I have a perl

# testing for  "Oraclelinux_release",  etcprevents  us from dropping# into the code below from other RH  based distroslike centos, for example.if  ((defined ($release))  &&                 #Redhat  or oel  if defined      ($release  =~ /^redhat-release/)  | |      # straight RH       ($release  =~  /^enterprise-release/)  | |    # Oracle Enterprise Linux       ($release  = ~ /^oraclelinux-release/))     # oracle linux 

redhat centos,oracle linux redhat The os ACFS and then there's the great God. This adds the script to the The support for Centos

if (defined ($release)) && #Redhat or OEL if defined (($release =~/^redhat-release/) | |   # straight RH ($release =~/^enterprise-release/) | |      # Oracle Enterprise Linux ($release =~/^centos-release/) | | #Centos Linux ($release =~/^oraclelinux-release/)) # Oracle Linux

See if there are any friends here, try to modify the OSDS-ACFSLIB.PM support kernel version of the relevant information? Right, the author tried, but for the author of this rookie, it must have ended in failure. Further analysis of the cause of the failure is followed:

[[email protected] redhat6.2 ~]#/u/app/11.2.0/grid/bin/ acfsroot version_check    #支持的OS上ACFS -9316: valid advm/acfs distribution  mediadetected at:  '/u/app/11.2.0/grid/install/usm/el6/x86_64/2.6.32-220/2.6.32-220.el6-x86_64/ Bin '  [[email protected] redhat6.5 ~]#/u/app/11.2.0/grid/bin/acfsroot version_check      #不支持的OS上ACFS -9459: advm/acfs is not supported on this  OSversion:  ' unknown ' acfs-9319:unknown os kernel version  ' 26.32-431.el6.x86_ "detectedacfs-9320:missing file:  ' Oracleoks.ko ' acfs-9320:missing file:  ' Oracleacfs.ko ' acfs-9317: no advm/acfs distribution media detectedat location:  '/u/app/ 11.2.0/grid/install/usm ' 

/u/app/11.2.0/grid/install/usm directory Gridinfrastructure grep "Acfs"/u/app/orainventory/logs/installactions*.log OS platforms acfs driver module (Oracleoks.ko,oracleadvm.ko oracleacfs.ko) /u/app/11.2.0/grid/install/usm directory view Acfs supported Linux OS different kernel types (here I enumerate 2 oracle version):


11.2.0.3.0 Version:

/U/APP/11.2.0/GRID/INSTALL/USM directory (cmds,el5,el6,sles10, SLES11) five subdirectories

[[email protected] redhat6.2 usm]# tree -l 3 el5 el6el5|-- i386|     '--2.6.18-8|       |--2.6.18-8.el5-i686|        |--2.6.18-8.el5PAE-i686|        '--2.6.18-8. el5xen-i686 '-- x86_64    |--2.6.18-8    |   |--  2.6.18-8.el5-x86_64    |    '-- 2.6.18-8.el5xen-x86_64     |--2.6.32-100    |    '-- 2.6.32-100-x86_64      '--2.6.32-200         '--2.6.32-200-x86_64el6 '--  x86_64    |--2.6.32-100    |    '--  2.6.32-100-x86_64    |--2.6.32-200    |    '--  2.6.32-200-x86_64     '--2.6.32-71         '--2.6.32-71.el6-x86_64 

11.2.0.4.0 Version:

/U/APP/11.2.0/GRID/INSTALL/USM directory (cmds,novell,oracle) Three sub-directories

[[email protected] usm]# tree -l 3 oracle novelloracle├── el5│    └── x86_64│      └── 2.6.18-8├── EL5UEK│    └── x86_64│      ├── 2.6.32-100│       ├── 2.6.32-200│      ├── 2.6.32-300│       ├── 2.6.32-400│      ├── 2.6.39-100│       ├── 2.6.39-200│      ├── 2.6.39-300│       └── 2.6.39-400├── EL6│   └── x86_64│       ├── 2.6.32-220│      ├── 2.6.32-279  #RedHat  6.3│      └── 2.6.32-71└── el6uek    └──x86_ 64        ├──2.6.32-100        ├──2.6.32-200         ├──2.6.32-300        ├──2.6.32-400         ├──2.6.39-100         ├──2.6.39-200        ├──2.6.39-300         └──2.6.39-400Novell├── SLES10│   └── x86_64│       └── 2.6.16.21-0.8└── SLES11    └──x86_64         ├──2.6.27.19-5        ├──2.6.32.12-0.7         ├──3.0.13-0.27         └──3.0.61-0.9

you then confirm that the OS supports ACFS by command Uname–r (RedHat 6),uname–r–i (REDHAT5).

For the above summary:

1, If you need to use ACFS , the first plan to choose the function of the OS, avoid reloading, can use CentOS, but the kernel version must meet the support ACFS kernel.

2, You can also use UEK (unbreakableenterprise Kernel) to replace the core.

3. to use ACFS, the compatibility of ASM needs to be set to 11.2(alterdiskgroup Data set attribute ' COMPATIBLE. ASM ' = ' 11.2 '; )

Please refer to:

http://docs.oracle.com/cd/E11882_01/install.112/e47689/oraclerestart.htm#LADBI999

Http://docs.oracle.com/database/121/CWLIN/storage.htm#CHDCIIDD

https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=1369107.1




This article from "before, after" blog, declined reprint!

Oracle ACFS Support on Linux detailed solution

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.