RAC_for_linux_安装部署教程.ppt
文本预览下载声明
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 此次试验出现的问题,修改主机名以后,sendmail服务启动时间非常的长。 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 配置每个实例的归档位置 1、修改参数文件 修改归档目标的位置。分别在本地和对端存储一份。 确认format参数包含%t,这样可以防止归档日志名字重复。 我们只需要在一个位置修改spfile即可,因为两个节点共用一个spfile,这也是spfile使用共享存储的优点。 指定日志传输到对端以后,存放的位置。 为了数据库能够启动到mount exclusive状态,需要改变数据库的cluster_database参数。 在两个节点上关闭数据库。 在其中一个实例上启动数据库到mount状态 配置数据库为归档模式。 配置数据库为cluster数据库。 重启所有实例 节点1 节点2启动还是比较慢。 在节点1上强制归档,看一下节点1和节点2上是否已经有归档日志。 * * * * * * * * * * * * * * * * * * * * * * * * * * 定制数据库。 输入数据库的名字和实例前缀名。 启用EM 数据库所有管理帐号的密码。 选择使用ASM作为存储。要确保ASM磁盘组都是MOUNTED状态。 选择要给这个数据库的ASM磁盘组。 使用ASM,同时使用OMF,这样我们在管理数据库文件的时候,会非常的方便。 我们选择非归档模式,后面详细的讲述如何启用自动归档。闪回区一定要选择共享存储,而且必须是集群文件系统(因为是目录,因此不能选择使用裸设备,ASM是最好的选择)。注意:spfile也会放在ASM磁盘组里面。 默认都不配置。 选择建立数据库。 点击OK开始。 开始建立数据库。数据库建立完成以后,会启动集群 数据库。启动集群数据库的实质就是启动所有的实例。 在指定的目录中,会有所有的建库日志,可以使用tail –f进行监控。 [oracle@rac1 admin]$ ll /u01/oracle/product/database/cfgtoollogs/dbca/rac total 524 -rw-r----- 1 oracle dba 11408 Jun 18 09:18 context.log -rw-r----- 1 oracle dba 0 Jun 18 09:38 CreateClustDBViews.log -rw-r----- 1 oracle dba 291287 Jun 18 09:14 CreateDBCatalog.log -rw-r----- 1 oracle dba 0 Jun 18 09:05 CreateDBFiles.log -rw-r----- 1 oracle dba 285 Jun 18 09:05 CreateDB.log -rw-r----- 1 oracle dba 36140 Jun 18 09:29 cwmlite.log -rw-r----- 1 oracle dba 74845 Jun 18 09:43 emConfig.log -rw-r----- 1 oracle dba 45748 Jun 18 09:38 emRepository.log -rw-r----- 1 oracle dba 3952 Jun 18 09:26 interMedia.log -rw-r----- 1 oracle dba 3103 Jun 18 09:17 JServer.log -rw-r----- 1 oracle dba 139 Jun 18 09:38 lockAccount.log -rw-r----- 1 oracle dba 4110 Jun 18 09:18 odm.log -rw-r----- 1 oracle dba 562 Jun 18 09:20 ordinst.log -rw-r----- 1 oracle dba 0 Jun 18 09:38 postDBCreation.log -rw-r----- 1 oracle dba 14557 Jun 18 09:33 spatial.log -rw-r----- 1 oracle db
显示全部