Installation of SAP on RAC with Oracle ASM(转)
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(转)的更多相关文章
- 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 ...
- bay——Oracle RAC环境下ASM磁盘组扩容.docx
https://www.cnblogs.com/polestar/p/10115263.html Oracle RAC环境下ASM磁盘组扩容 生产环境注意调整以下参数: +++++++++++++++ ...
- Oracle ASM
一 Oracle ASM簡介 Oracle 10g推出的管理磁盤的新方式,用於取代LVM技術.主要用于RAC環境 二 Oracle ASM的配置安裝 1.安裝asm包 RedHat Linux5.x ...
- [置顶] Oracle 11g R2 ASM:了解 Oracle ASM 基本概念
About Oracle ASM Instances About Oracle ASM Disk Groups About Mirroring and Failure Groups About Ora ...
- Oracle asm介绍和安装linux+oracle10g+asm过程
Oracle asm介绍和安装linux5.2+oracle10g+asm过程 1)ASM(自动存储管理)的来由: ASM是Oracle 10g R2中为了简化Oracle数据库的管理而推出来 ...
- Oracle ASM 详解
ASM:Automatic Storage Management, 是Oracle 主推的一种面向Oracle的存储解决方案, ASM 和 RDBMS 非常相似,ASM 也是由实例和文件组成, 也可以 ...
- 【翻译自mos文章】检查$ORACLE_HOME是否是RAC的HOME的方法以及relink RAC的Oracle binary的方法
检查$ORACLE_HOME是否是RAC的HOME的方法以及relink RAC的Oracle binary的方法 来源于: How to Check Whether Oracle Binary/In ...
- 【Oracle】Oracle ASM管理监控命令
目录 Oracle ASM管理监控命令 目的: 1.查看磁盘组 2.查看目前归档 3.查看ASM的磁盘路径 4. asmcmd Oracle ASM管理监控命令 目的: 查看目前Oracle ASM相 ...
- (转)设置了RemoveIPC=yes 的RHEL7.2 会crash掉Oracle asm 实例和Oracle database实例
设置了RemoveIPC=yes 的RHEL7.2 会crash掉Oracle asm 实例和Oracle database实例,该问题也会在使用Shared Memory Segment (SHM ...
随机推荐
- spring mvc中添加对Thymeleaf的支持
一.下载Thymeleaf 官方下载地址:https://dl.bintray.com/thymeleaf/downloads/thymeleaf/ 我下载的是最新的3.0.11版本 把包里的jar包 ...
- 【转】SQL2008 链接Oracle 调用存储过程
1. SQL链接ORACLE 都是可视化的操作 如下图: 红色框选的是oracle的数据驱动,如果没有这个驱动 那需要单独安装oracle的client端 装完以后就有了. 2.在创建之前,在SQLS ...
- 如何分析redis中的慢查询
慢查询的两个参数配置 慢查询只记录命令执行时间,并不包括命令排队和网络传输时间.因此客户端执行命令的时间会大于命令实际执行时间.因为命令执行排队机制,慢查询会导致其他命令级联阻塞,因此当客户端出现请求 ...
- IfcAxis2Placement3D
The IfcAxis2Placement3D provides location and orientations to place items in a three-dimensional spa ...
- docker批量删除镜像
docker rmi `docker images | grep swb | grep -v grep | awk '{print $3}'` 参考: https://blog.csdn.net/hi ...
- Linux的.a、.so和.o文件 对比 window下的dll,lib,exe文件
连续几天终于将一个又一个问题解决了,这里说其中一个问题 描述问题:使用多线程pthread的时候,(我用的IDE,CODEBOLCKS)编译后发现直接弹出窗口,程序还没有被Build..巴拉巴拉,然后 ...
- svg轻松实现文字水印
1. 水印图片生成采用svg,这样可以运行时生成名字或其他信息的图片 svg模板 <svg xmlns="http://www.w3.org/2000/svg" xmlns: ...
- WinSCP-windows与Linux之间文件传输
WinSCP是一款Windows下通过使用SSH协议的开源工具,用于连接Linux操作系统,可以上传或者下载文件使用! 开源顾名思义,无需注册,安装即可使用!(安装请自行百度WinSCP) 打开桌面上 ...
- IIS指定站点网卡IP进行网络部署
服务器一般有多块网卡,有时候每块网卡会绑定不同的公网ip,也就是一个机器可以有多个公网ip,那IIS部署时可以选择此项目使用那个IP部署.(当然,一块网卡也可以绑定多个IP) 编辑绑定-编辑-IP地址 ...
- odoo连接外部数据库
odoo框架默认的访问时Postgres数据库,但在实际的应用场景中,不可避免的使用到其他数据库,所以有必要研究如何连接其他第三方数据库,这里分享下OCA的相关模块,具体的源代码在这里. 我将第三方的 ...