EBS 克隆

  • Post author:
  • Post category:其他


主线文档为Cloning Oracle E-Business Suite Release 12.2 with Rapid Clone (文档 ID 1383621.1)

克隆的过程是先克隆好数据库环境,再克隆应用环境,在应用克隆时会需要连接到已经克隆好的数据库环境。

根据生产环境的特点,在克隆之前的准备阶段与标准克隆的操作是一致的,实际克隆阶段中参考该文档的如下两个章节。主要依照文档的如下章节来做

——————–注意的要点是———————–

1、每次重新开始:直接删除/u01/app下的所有文件 ,杀掉所有oracle进程、重新建立oraInventory目录

2、应用层克隆完成后,在删除单点登录的操作前,不能启动应用层服务

失败的过程:

因第一次数据库克隆时,归档和控制文件备份没有一致备份,导致克隆后datafile 1号文件有损坏,不能打开数据库。因此,重新执行克隆操作。因此,在备份时一定要将归档日志文件和控制文件一起备份。

因第二次数据库克隆时,在目标环境执行数据库perl adclone.pl操作时,时间太长,导致用SSH界面操作被取消。

因第三次数据库克隆时,在目标环境执行数据库perl adclone.pl操作时,执行/u01/app/oracle/product/12.1.0/db_1/appsutil/out/PRDTEST1_****dbcl/restore-rac3.rman 时关闭数据库shutdown nomal 超过一个小时的等待后,自动退出。导致失败。因此,尝试采用修改/restore-rac3.rman的脚本将shutdown nomal 改为 shutdown immediate.

——————–本次操作注意事项:———————

1、备份数据库文件时全被备份到挂载的/backup盘

2\执行所有的perl adclone时都用vncview来操作。

—————— —环境准备————

5.10–数据库5.13—应用

现有生产环境总数据量

select round(sum(bytes)/1024/1024/1024,2)||’GB’ from dba_data_files

425.74GB

生产环境应用环境文件量

[root@***app1 prdapp]# du -sh

358G    .

———————开始克隆———————————-

1、执行 rapid克隆  –参考文档(文档 ID 1383621.1)

a\ run fs_clone 将各文件系统一致,避免在克隆过程中需要对系统打补丁

b\准备目标系统操作系统及安装环境

c\确认Inventory 这次为global inventory.(沿用源环境的方式)

[root@****dbcl u01]# vi /etc/oraInst.loc

inventory_loc=/u01/app/oracle/oraInventory

inst_group=oinstall

~

d\软件及版本准备,参考  Oracle? E-Business Suite Installation Guide: Using Rapid Install

CPU, Memory, and Disk Space Requirements

cpu– more /proc/cpuinfo

Memory–数据库至少6G,应用至少10G。现有32G–符合

设置 java jvm  每个实例不超过4G–!!没做

Database configuration was as follows:–备用

SGA: 10 GB

Shared pool: 1 GB

PGA: 10 GB

Log buffer: 30 MB

job_queue_processes: 24

Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.2) for Linux x86-64 (文档 ID 1330701.1)

4a. Ensure that swap space meets the requirements as documented in the ‘Swap Space’ section.   推荐 16G,现有12G

4b. Ensure that the hostname settings meet the requirements as documented in the ‘ Verifying Host Names’ section.   –完成

4c. Check threading model as documented in the ‘Threading Model in Linux must be NPTL’ section.–完成

4d. Check for OPMN port conflict.

4e. Check /etc/services for size as documented below .  —sed -i ‘s/#.*$//g’ /etc/services–完成

安装pre-install rpm ,

它的作用如下:

downloading and installing all software package versions and dependencies required for installing E-Business Suite R12

creating the users oracle and applmgr for use as owners of the database and application tiers respectively, while setting hard and soft shell resource limits in /etc/security/limits.conf for Oracle Linux 5 and in /etc/security/limits.d/oracle-ebs-server-R12-preinstall.conf for Oracle Linux 6 and 7

updating kernel parameters in /etc/sysctl.conf to recommended values

sets DNS resolver parameters in /etc/resolv.conf to minimum recommended values

sets ‘numa=off’ in the kernel commandline

disables ‘Transparent Huge Pages (THP)’ for Oracle Linux 6 and 7 if it is enabled

报错:

现象:

[root@****appcl yum.repos.d]# yum install oracle-ebs-server-R12-preinstall

下载软件包

warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY

Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle



版权声明:本文为lyfhehe原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。