﻿<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.6.1" -->
<rss version="0.92">
<channel>
	<title>OracleBlog.cn -天堂向左 DBA向右</title>
	<link>http://www.oracleblog.cn</link>
	<description>一个dba的平凡生活</description>
	<lastBuildDate>Wed, 03 Mar 2010 04:17:59 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>解决Legato问题，相信LTT吧！</title>
		<description>最近遇到某省的legato备份问题，这个问题在春节后一来就遇到了。在legato界面，我们看到的报错是：
[coolcode lang="xml" linenum="off"]
……
02/24/10 12:01:00 nsrd: savegroup info: starting  db_arch (with 1 client(s))
02/24/10 12:01:15 nsrd: Jukebox 'msl6000' failed: Input/output error
02/24/10 12:01:15 nsrd: Jukebox 'msl6000' failed: Input/output error
02/24/10 12:01:53 nsrd: Jukebox 'msl6000' failed: No such file or directory
02/24/10 12:01:53 nsrd: Jukebox 'msl6000' failed: No such file or directory
02/24/10 12:01:54 nsrd: media ...</description>
		<link>http://www.oracleblog.cn/working-case/deal-with-legato-trust-ltt/</link>
			</item>
	<item>
		<title>操作系统内核参数限制导致ora-4030</title>
		<description>最近同事遇到一个问题，某个报表程序报错ora-4030的错误：
[coolcode lang="xml" linenum="off"]
错误信息：[Error] **** Dbupdate.sqlUpdateSubs Function:begin ? := trt_subs_1_i_update_target (?, ?, ?, ?, ?); end;, Execute GD:1li run finished with error, errcode:-4030,errmsg:ORA-04030: out of process memory when trying to allocate 16408 bytes (koh-kghu call ,pmucalm coll),errlog:GD_1li TableA_S.(SCS or ADS) Update TableP_S, circle= 2. 
[/coolcode]

通过trace，发现是以下语句的问题：
[coolcode lang="xml" linenum="on"]
declare
  type subs_mobile_no_arr is ...</description>
		<link>http://www.oracleblog.cn/working-case/limit-of-os-cause-ora-4030/</link>
			</item>
	<item>
		<title>新版本的opatch使用lsinventory报错</title>
		<description>今天在给一个省打一个9208侦听内存泄漏的patch，打的时候，没有报错，但是在opatch lsinventory的时候，却报错了：
[coolcode lang="xml" linenum="off"]
oracle@tj_dc01:/oracle/app/oracle/product/9.2.0 > opatch lsinventory

Oracle Interim Patch Installer version 1.0.0.0.63
Copyright (c) 2009 Oracle Corporation. All Rights Reserved..

Oracle recommends you to use the latest OPatch version
and read the OPatch documentation available in the OPatch/docs
directory for usage. For information about the latest OPatch and
other support-related issues, refer to document ID ...</description>
		<link>http://www.oracleblog.cn/working-case/new-opatch-lsinventory-error/</link>
			</item>
	<item>
		<title>在hp pa 11.23上安装9206patch</title>
		<description>    hp pa算是一个比较老版本的hpux操作系统，目前hp已经不出hp pa的版本，只出hp ia的版本。目前ia的os版本为11.23和11.31，在之前的hp pa的主要os版本是11.00和11.11。
    这次在某省安装的机器比较奇怪，是hp pa的机器，却是安装11.23的操作系统版本。在正常安装完成9201的基线版本后在升级9206的patch，遇到报错了：
[coolcode lang="xml" linenum="off"]
$ cd D*1
$ ls
install, patchnote.htm, response, runInstaller, stage
$ export DISPLAY=192.168.0.4:0.0
$ ./runInstaller
Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be B.11.00 or B.11.11.    Actual B.11.23
       ...</description>
		<link>http://www.oracleblog.cn/working-case/install-9206-on-hp-pa-1123/</link>
			</item>
	<item>
		<title>修改vmware rac的IP网段</title>
		<description>    之前在vmware上搭了一个rac，在配置rac的时候，由于当时的电脑是接在路由器上的，因此将public和vip配置在了需要连接路由器的IP上，用的是bridge的连接方式。但是也造成了一个不便，就是在没有连接路由的情况下，public和vip无法连接，因此我希望用host only而不是bridge的连接方式，将rac的vip改为vmware的虚拟网卡的IP。

    改造之前：
[coolcode lang="xml" linenum="off"]
192.168.190.131	rac1
192.168.1.31	rac1-vip
10.10.10.31	rac1-priv
192.168.190.132	rac2
192.168.1.32	rac2-vip
10.10.10.32	rac2-priv
192.168.190.133	rac3
192.168.1.33	rac3-vip
10.10.10.33	rac3-priv

其中rac1的2块网卡，rac2和rac3的类似：
eth0 192.168.1.131 用bridge连接
eth1 10.10.10.31   用host only连接
[/coolcode]


另外，vmware的虚拟网卡，在这次改造中不做变化：
[coolcode lang="xml" linenum="off"]
VMware Network Adapter VMnet1：192.168.190.1
VMware Network Adapter VMnet8：192.168.174.1

路由器的网关地址：192.168.1.200
[/coolcode]

改造后：
[coolcode lang="xml" linenum="off"]
192.168.190.131	rac1
192.168.190.31	rac1-vip
10.10.10.31	rac1-priv
192.168.190.132	rac2
192.168.190.32	rac2-vip
10.10.10.32	rac2-priv
192.168.190.133	rac3
192.168.190.33	rac3-vip
10.10.10.33	rac3-priv

其中rac1的2块网卡，rac2和rac3的类似：
eth0 192.168.190.131 用host only连接
eth1 10.10.10.31   用host only连接
[/coolcode]

修改步骤：
1.停数据库和crs：
[coolcode lang="xml" linenum="off"]
只在一个节点上运行：
crs_stop -all
检查：
rac1-> crs_stat -t
Name         ...</description>
		<link>http://www.oracleblog.cn/study-note/change-rac-ip-on-vmware/</link>
			</item>
</channel>
</rss>
