如何在Windows平台用Cygwin支持SSH来做Agent Push

June 3rd, 2010 No comments

大家都知道在win平台上默认是不支持SSH的,而通过GC的GUI来给target主机安装agent(也叫agent push)是必须要用SSH的,因此必须得在windows上装一个工具Cygwin。下面是详细步骤

Read more…

为实现EM中CRS rolling upgrade如何设置sudo以及sudo环境变量

September 29th, 2009 No comments

今天在EM dbconsole 11.2环境里给11gR2的CRS打rolling patch时碰到不少关于sudo的问题,特此记录以免忘记。

因为EM都是通过Agent来进行操作的,所有不可能拥有root权限,而打有些patch的时候又不得不用root权限,所以有必要为grid(Grid Infra的user,就是以前的Clusterware),oracle(RAC database的user)两个用户设置sudo。下面以grid用户为例,说明一下。

Read more…

alter system set event和set events的区别

June 12th, 2009 3 comments

今天按照Oracle Support的建议设置event的时候发现set event和set events这两种写法效果不一样,防止忘记先记下来。

1. alter system set event :此方法对spfile生效,无法对memory生效

Read more…

Categories: Knowledge, Tuning Tags: , ,

Solaris10 X86下安装Oracle 10gR2

June 11th, 2009 1 comment

1. 安装Solaris10

我的硬件选择的是30G空间,1G内存,2核(台式机是4核,闲着那么多核也没啥用)

这个步骤最简单,从SUN网站上下载后直接在VM里面设置为ISO启动就行了,其他的基本一路NEXT而已。(注意下硬盘分区,我删除了默认的/export/home,把20多G分给了根目录/,swap给了2048M)

Read more…

[原创] Schema级双向Streams构建笔记

June 9th, 2009 2 comments

1. Prepare


In this Streams test environment, there are two databases called “strm1” and “strm2”, whose global name are “strm1.com” and “strm2.com” respectively. The source side is “strm1”, and target side is “strm2”. The synchronization level is SCHEMA level and double-directions replication.

1.1 Init parameter prerequisite (Both db)

a) global_names should be true . global_name =db_name+”.”+domain_name

ALTER system SET global_names=true;

Read more…

Categories: Streams Tags: ,

验证BUG:现有表级单向复制环境下,增加新的表级单向rule时CREATE TABLE出错

June 3rd, 2009 No comments

oracle说这是个bug,从9i开始所有平台都会涉及,验证一下
环境是上一篇的http://www.orafan.net/blog/78.html
Read more…

Categories: Streams Tags: , ,

[试验] NOLOGGING table在streams环境中能否顺利复制

June 1st, 2009 1 comment

源:strm1
目标:strm2
DBAUSR schema级别的复制环境
Read more…

Categories: Streams Tags: , ,

[笔记] 单向Table级streams环境搭建

May 28th, 2009 1 comment

以后再整理,先写上
1. Prepare
1.1 Init parameter prerequisite (Both db)
Read more…

Categories: Streams Tags: ,