https://blogs.sap.com/2016/03/17/installation-of-sap-on-rac-with-oracle-asm-part-3distributed-environment/

I am writing this blog , as i faced issue on installing SAP system on oracle RAC with ASM.

When i raised a message with SAP , SAP told me to install SAP on  oracle and then migrate it to RAC with ASM.

So i want to add few points to make it easier for others. There are few importants points which we need to remember.

1. SWPM will give you four options to install SAP

i. Single Instance on Filesystem

ii. Single Instance on Oracle ASM

iii. RAC on Filesystem

iv. RAC on oracle ASM

2.Database RAC Parameter

3. We need to know about the scan listener name and port which it is using. By default it uses a port 1521.

4. Listener Configuration for each RAC Node.

I have to install the SAP on RAC with oracle ASM , in a distributed environment, so i installed the SCS first , which got completed successfully.

After this ,i started the installation with Database instance installation.

What option should we select in SWPM for RAC?

SWPM will give you four options for Database installation scenario.

i.  Single Instance on Filesystem (normal)

ii.  Single Instance on Oracle ASM(oracle is on ASM without RAC  )

iii. RAC on Filesystem (RAC nodes without ASM )

iv. RAC on oracle ASM(RAC node will exists with ASM)

I have selected option RAC on oracle ASM as we are having RAC with ASM environment.

Database RAC Parameter

In the below diagram , where you need to provide the RAC Parameters

i. Database Name : You need to enter the Database name(DBSID) as per your requirement for example i have given DBSID as RAD.

ii. Number of instances : You need to specify the number of instances to be created which in turn depends on the number of RAC Node.

Suppose , we are having three RAC node RACN1 , RACN2 , RACN3 and i have mentioned DBSID as RAD.

Since we are using three RAC node so Number of Instances we need to mentioned 3 and it will create three instances of DB and                                              assigned them to each RAC node.

RACN1—–>RACN2—–>RACN3

RAD1            RAD2          RAD3

iii. Length of Instance Number : i. One character

                                                   ii. Three character.

if we select the one character option , then DBSID(in our case which is RAD) followed by one character digit for each instance on RAC  node.

For eample

RACN1—–>RACN2—–>RACN3

RAD<N>     RAD<N+1> RAD<N+2> Where N stands for Length for Instance Number

Since we have selected the option one character so here value of N will start from 1.

RACN1—–>RACN2—–>RACN3

RAD1           RAD2           RAD3    where N=1

So it will be same for three character option where N starts from 001 and so the naming convention for the instances will be

RACN1——->RACN2——->RACN3

RAD001         RAD002          RAD003    where N=001


What we need to know about the SCAN Listener?

SWPM asked for scan listener name only but we need to input port number as well , which it didn’t asked for?

if you don’t specify the port number , it will give I/O network error and will not able to connect to Database.

When we setup the RAC environment , a Server control utility get installed on each RAC node by default which is used to start ,stop , manage configuration information and also used to add and remove the instances from RAC environment. By the help of Server control utility , we can get the scan listener name and its port number.

When we run below command on the primary RAC node , we will be get the scan listener name.

srvctl config scan

It will give us the scan listener name and ip information(Generally we keep three scan listener)

srvctl config scan_listener

The above command , will let us know which port is configured for the scan listener.

Here we need to enter the correct scan listener name which is configured on RAC environment as it will have it own scan listener.

SCAN stands for Single client Access Name.

Scan Listener* : Enter the scan listener name which will be used by the SAP to connect to Database and if , it is a Dual stack or only Java stack then JDBC string will be created using the scan listener name.

After firing the command ” srvctl config scan” and “srvctl config scan_listener” we will get the scan listener name and its port number

Suppose our scan listener name is scan1 and port number is 1521 (which is default) so in Label

Oracle RAC secure store connect* will be like this

jdbc:oracle:thin:@/scan1:1521/Service_name  since the Service_name is the DBSID which is RAD.

So the final string , will be

jdbc:oracle:thin:@/scan1:1521/RAD (Here i have mentioned the port 1521 explicitly)

Listener Configuration for each RAC Node

You need to configure the local listener parameter for each RAC node and remote listener parameter will be scan listener which will be common for each RAC node.

In Spfile<SID>.ora , you need to add local listener for each RAC node with the port number which will be different from scan listener port number.

In Spfile<SID>.ora , you need to remove the parameter *.local_listener and in place of it you need to add three parameter for each RAC node and the corresponding instance. For example , we are having three instance distributed on each RAC node RACN1 , RACN2 , RACN3.

Local Listener parameter will be like this

RAD1.local_listener=’//RACN1:1527′   (for RAC node RACN1 having a instance RAD1)

RAD2.local_listener=’//RACN1:1527′   (for RAC node RACN2 having a instance RAD2)

RAD3.local_listener=’//RACN1:1527′   (for RAC node RACN3 having a instance RAD3)

But

There will be only remote listener which will have the scan listener name and its port number

*.remote_listener=’//scan1:1521′ (it will be common on all the RAC Node)

Now why we are configuring the local listener on each RAC node with a a different port number.

We are configuring the local listener so that we can take the backup for Database using a BR*TOOLS.

I will be writing a next blog on BRTOOLS in RAC environment.

Please follow the below SAP Notes and While Paper published from SAP

1. Note 581320 – FAQ: Oracle Real Application Cluster (RAC)

2. Note 527843 – Oracle RAC support in the SAP environment

3. http://scn.sap.com/docs/DOC-8835

Installation of SAP on RAC with Oracle ASM(转)的更多相关文章

  1. Oracle 11g RAC database on ASM, ACFS or OCFS2

    I see a lot of questions on shared file systems that can be used when people move from single instan ...

  2. bay——Oracle RAC环境下ASM磁盘组扩容.docx

    https://www.cnblogs.com/polestar/p/10115263.html Oracle RAC环境下ASM磁盘组扩容 生产环境注意调整以下参数: +++++++++++++++ ...

  3. Oracle ASM

    一 Oracle ASM簡介 Oracle 10g推出的管理磁盤的新方式,用於取代LVM技術.主要用于RAC環境 二 Oracle ASM的配置安裝 1.安裝asm包 RedHat Linux5.x ...

  4. [置顶] Oracle 11g R2 ASM:了解 Oracle ASM 基本概念

    About Oracle ASM Instances About Oracle ASM Disk Groups About Mirroring and Failure Groups About Ora ...

  5. Oracle asm介绍和安装linux+oracle10g+asm过程

    Oracle asm介绍和安装linux5.2+oracle10g+asm过程   1)ASM(自动存储管理)的来由:   ASM是Oracle 10g R2中为了简化Oracle数据库的管理而推出来 ...

  6. Oracle ASM 详解

    ASM:Automatic Storage Management, 是Oracle 主推的一种面向Oracle的存储解决方案, ASM 和 RDBMS 非常相似,ASM 也是由实例和文件组成, 也可以 ...

  7. 【翻译自mos文章】检查$ORACLE_HOME是否是RAC的HOME的方法以及relink RAC的Oracle binary的方法

    检查$ORACLE_HOME是否是RAC的HOME的方法以及relink RAC的Oracle binary的方法 来源于: How to Check Whether Oracle Binary/In ...

  8. 【Oracle】Oracle ASM管理监控命令

    目录 Oracle ASM管理监控命令 目的: 1.查看磁盘组 2.查看目前归档 3.查看ASM的磁盘路径 4. asmcmd Oracle ASM管理监控命令 目的: 查看目前Oracle ASM相 ...

  9. (转)设置了RemoveIPC=yes 的RHEL7.2 会crash掉Oracle asm 实例和Oracle database实例

    设置了RemoveIPC=yes 的RHEL7.2  会crash掉Oracle asm 实例和Oracle database实例,该问题也会在使用Shared Memory Segment (SHM ...

随机推荐

  1. [转]js对象中取属性值(.)和[ ]的区别

    原文地址:https://www.jianshu.com/p/6a76530e4f8f 今天在写js的过程中遇到这么一个问题,取一个对象的属性值,通过obj.keys怎么都取不出来,但是用obj[ke ...

  2. git 学习目录

    git命令方式 git - 1.基础 git - 2.github git - 3.分支 番外 git - gitHub生成Markdown目录

  3. 解决support包引起的AndroidStudio编译报错

    {"kind":"error","text":"error: resource android:attr/colorError n ...

  4. 工控随笔_24_西门子TIA 博图硬件目录的更新

    西门子博图软件,不但体积庞大,功能也很复杂,与经典的Step7相比,如果不是经常使用,一般都会有一种很难使用的感觉. 而且相比原来的Step7操作有点不太一样.这里简单的说一下硬件目录的更新. 有两种 ...

  5. abort exit _exit return的区别

    exit()函数导致子进程的正常退出,并且参数status&这个值将被返回给父进程.exit()应该是库函数.exit()函数其实是对_exit()函数的一种封装(库函数就是对系统调用的一种封 ...

  6. nginx入门系列之安装与卸载

    目录 通过包管理器安装 安装nginx 卸载nginx 从源码编译安装 准备安装环境 执行编译安装 制作nginx免安装包 官方安装手册:https://nginx.org/en/docs/insta ...

  7. python进阶---列表、字典、集合相关操作

    基本概念 列表 序列是python中一个基本的数据结构,每个元素都有一个索引index 操作 # 创建列表 list = [] # 修改列表 list[2] = 2001 # 删除列表 del lis ...

  8. Linux字符设备驱动基本结构

    1.Linux字符设备驱动的基本结构 Linux系统下具有三种设备,分别是字符设备.块设备和网络设备,Linux下的字符设备是指只能一个字节一个字节读写的设备,不能随机读取设备内存中某一数据,读取数据 ...

  9. 1.2 lvm镜像卷

    镜像能够分配物理分区的多个副本,从而提高数据的可用性.当某个磁盘发生故障并且其物理分区变为不可用时,您仍然可以访问可用磁盘上的镜像数据.LVM 在逻辑卷内执行镜像.  系统版本: # cat /etc ...

  10. 【剑指offer】数组中只出现一次的数

    题目描述 一个整型数组里除了两个数字之外,其他的数字都出现了两次.请写程序找出这两个只出现一次的数字. 分析: 经典的异或技巧题 两个相同的数字异或的结果为0,一个数和0异或的结果是其本身,假设现在那 ...