DB2在HA环境中安装 [英] DB2 Install in HA environment

查看:78
本文介绍了DB2在HA环境中安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




地球上(或其他地方;-))是否有人知道如何安装

DB2 V9.1数据库引擎高可用性集群环境?


我需要特定点的帮助。


祝你好运,

Bruno LIVERNAIS

解决方案

5月2日上午7:01,Bruno LIVERNAIS< brunoN ... @ Mlivernais.orgwrote:





地球上(或其他地方;-))是否有人知道如何安装

在高可用性集群环境中的DB2 V9.1数据库引擎?


我在这一点上需要帮助。


祝你好运,

Bruno LIVERNAIS



你必须明确说明你的意思High

可用性集群环境 ;


这可能会有所不同,具体取决于您使用的是HACMP,HADR,VCS等,




Mark Aaécrit:


你要去必须明确说明你的意思高

可用性集群环境


这取决于你使用的是HACMP,HADR,VCS,等等,



我的环境是hp MC / ServiceGuard。这个HA集群是一个共享的

没有配置一个包(a.k.a。资源)。所以它是一个

主动/被动配置。


我已经在第一个节点上安装了DB2 ESE V9.1,并且没有db2setup但没有

创建一个实例。然后我在另一个节点上复制了配置文件(passwd,group,

服务等等)。之后我在另一个节点上安装了DB2 ESE

V9.1,就像我在上一个节点上做的那样。


然后我''已在第一个节点上创建了一个实例,并检查

db2start / db2stop是否正常工作。但是当我停止第一个节点上的DB2(db2stop)时,请在另一个节点上切换包。我不能用这条消息启动DB2(db2)




[root @ node2~] #su db2r01 -c / db2 / R01 / sqllib / adm / db2start

SQL1092N" DB2R01"没有权力执行

请求的命令。


这就是诀窍......请帮助!!


谢谢


Bruno LIVERNAIS写道:


>

然后我在第一个节点上创建了一个实例并检查

db2start / db2stop是否正常工作。但是当我停止第一个节点上的DB2(db2stop)时,请在另一个节点上切换包。我不能用这条消息启动DB2(db2)




[root @ node2~] #su db2r01 -c / db2 / R01 / sqllib / adm / db2start

SQL1092N" DB2R01"没有权限执行

请求的命令。



我不熟悉HP / UX或ServiceGuard。但是,我假设它是

负责所有必要的文件系统的失败(即

切换包)。


鉴于此,你可以先手动启动DB2,首先登录为db2r01

(su - db2r01)然后运行''db2start''?


Hi,

Is there someone on earth (or elsewhere ;-)) who knows how to install a
DB2 V9.1 database engine in a High Availability cluster environment?

I need help on that particular point.

Best regards,
Bruno LIVERNAIS

解决方案

On May 2, 7:01 am, Bruno LIVERNAIS <brunoN...@Mlivernais.orgwrote:

Hi,

Is there someone on earth (or elsewhere ;-)) who knows how to install a
DB2 V9.1 database engine in a High Availability cluster environment?

I need help on that particular point.

Best regards,
Bruno LIVERNAIS

You are going to have to clarify exactly what you mean by "High
Availability cluster environment"

This could vary depending on if you are using HACMP, HADR, VCS, etc,
etc.


Mark A a écrit :

You are going to have to clarify exactly what you mean by "High
Availability cluster environment"

This could vary depending on if you are using HACMP, HADR, VCS, etc,
etc.

My environment is hp MC/ServiceGuard. This HA cluster is a shared
nothing config with one package (a.k.a. resource). So it''s an
active/passive config.

I''ve installed DB2 ESE V9.1 on the first node, with db2setup but without
creating an instance. Then I''ve copied config files (passwd, group,
services, etc...) on the other node. After that I''ve installed DB2 ESE
V9.1 on the other node, just like I''ve done on previous node.

Then I''ve created an instance on the first node and check that
db2start/db2stop is correctly working. But when I stop DB2 (db2stop) on
the first node, switch the package on the other. I can''t start DB2 (db2)
with that message :

[root@node2 ~]# su db2r01 -c /db2/R01/sqllib/adm/db2start
SQL1092N "DB2R01 " does not have the authority to perform the
requested command.

That''s the trick... Please help!!

Thanks


Bruno LIVERNAIS wrote:

>
Then I''ve created an instance on the first node and check that
db2start/db2stop is correctly working. But when I stop DB2 (db2stop) on
the first node, switch the package on the other. I can''t start DB2 (db2)
with that message :

[root@node2 ~]# su db2r01 -c /db2/R01/sqllib/adm/db2start
SQL1092N "DB2R01 " does not have the authority to perform the
requested command.

I''m not familiar with HP/UX or ServiceGuard. But, I''m assuming that it
takes care of failing over all of the necessary file systems (i.e.
"switching the package").

Given this, can you start DB2 manually by first logging in as db2r01
(su - db2r01) and then running ''db2start'' ?


这篇关于DB2在HA环境中安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆