[root@db2-node02 ~]# lssam
Online IBM.ResourceGroup:db2_db2inst2_db2-node01_0-rg Nominal=Online
'- Online IBM.Application:db2_db2inst2_db2-node01_0-rs
'- Online IBM.Application:db2_db2inst2_db2-node01_0-rs:db2-node01
Online IBM.ResourceGroup:db2_db2inst2_db2-node02_0-rg Nominal=Online
'- Online IBM.Application:db2_db2inst2_db2-node02_0-rs
'- Online IBM.Application:db2_db2inst2_db2-node02_0-rs:db2-node02
Online IBM.ResourceGroup:db2_db2inst2_db2inst2_GHAN-rg Nominal=Online
|- Online IBM.Application:db2_db2inst2_db2inst2_GHAN-rs
|- Online IBM.Application:db2_db2inst2_db2inst2_GHAN-rs:db2-node01
'- Offline IBM.Application:db2_db2inst2_db2inst2_GHAN-rs:db2-node02
'- Online IBM.ServiceIP:db2ip_108_88_3_107-rs
|- Online IBM.ServiceIP:db2ip_108_88_3_107-rs:db2-node01
'- Offline IBM.ServiceIP:db2ip_108_88_3_107-rs:db2-node02
Online IBM.Equivalency:db2_db2inst2_db2-node01_0-rg_group-equ
'- Online IBM.PeerNode:db2-node01:db2-node01
Online IBM.Equivalency:db2_db2inst2_db2-node02_0-rg_group-equ
'- Online IBM.PeerNode:db2-node02:db2-node02
Online IBM.Equivalency:db2_db2inst2_db2inst2_GHAN-rg_group-equ
|- Online IBM.PeerNode:db2-node01:db2-node01
'- Online IBM.PeerNode:db2-node02:db2-node02
Online IBM.Equivalency:db2_private_network_0
|- Online IBM.NetworkInterface:eth1:db2-node02
'- Online IBM.NetworkInterface:eth1:db2-node01
Online IBM.Equivalency:db2_public_network_0
|- Online IBM.NetworkInterface:eth0:db2-node01
'- Online IBM.NetworkInterface:eth0:db2-node02
(lsrsrc-api) /usr/sbin/rsct/bin/lsrsrc-api:2612-023 找不到资源。
lssam:出现意外的 RMC 错误。RMC 返回码为 1。
[root@db2-node02 ~]#
[root@db2-node02 ~]# rgreq -n db2-node01 -o move db2_db2inst2_db2inst2_GHAN-rg
资源组 "db2_db2inst2_db2inst2_GHAN-rg" 上的操作返回标记“0xba1c2e688031ca3ea1f27b56eaba0100”。
[root@db2-node02 ~]# lssam
Online IBM.ResourceGroup:db2_db2inst2_db2-node01_0-rg Nominal=Online
'- Online IBM.Application:db2_db2inst2_db2-node01_0-rs
'- Online IBM.Application:db2_db2inst2_db2-node01_0-rs:db2-node01
Online IBM.ResourceGroup:db2_db2inst2_db2-node02_0-rg Nominal=Online
'- Online IBM.Application:db2_db2inst2_db2-node02_0-rs
'- Online IBM.Application:db2_db2inst2_db2-node02_0-rs:db2-node02
Pending offline IBM.ResourceGroup:db2_db2inst2_db2inst2_GHAN-rg Request=Move Nominal=Online
|- Pending offline IBM.Application:db2_db2inst2_db2inst2_GHAN-rs
|- Pending offline IBM.Application:db2_db2inst2_db2inst2_GHAN-rs:db2-node01
'- Offline IBM.Application:db2_db2inst2_db2inst2_GHAN-rs:db2-node02
'- Offline IBM.ServiceIP:db2ip_108_88_3_107-rs Control=StartInhibited
|- Offline IBM.ServiceIP:db2ip_108_88_3_107-rs:db2-node01
'- Offline IBM.ServiceIP:db2ip_108_88_3_107-rs:db2-node02
Online IBM.Equivalency:db2_db2inst2_db2-node01_0-rg_group-equ
'- Online IBM.PeerNode:db2-node01:db2-node01
Online IBM.Equivalency:db2_db2inst2_db2-node02_0-rg_group-equ
'- Online IBM.PeerNode:db2-node02:db2-node02
Online IBM.Equivalency:db2_db2inst2_db2inst2_GHAN-rg_group-equ
|- Online IBM.PeerNode:db2-node01:db2-node01
'- Online IBM.PeerNode:db2-node02:db2-node02
Online IBM.Equivalency:db2_private_network_0
|- Online IBM.NetworkInterface:eth1:db2-node02
'- Online IBM.NetworkInterface:eth1:db2-node01
Online IBM.Equivalency:db2_public_network_0
|- Online IBM.NetworkInterface:eth0:db2-node01
'- Online IBM.NetworkInterface:eth0:db2-node02
(lsrsrc-api) /usr/sbin/rsct/bin/lsrsrc-api:2612-023 找不到资源。
lssam:出现意外的 RMC 错误。RMC 返回码为 1。
[root@db2-node02 ~]# lssam
Online IBM.ResourceGroup:db2_db2inst2_db2-node01_0-rg Nominal=Online
'- Online IBM.Application:db2_db2inst2_db2-node01_0-rs
'- Online IBM.Application:db2_db2inst2_db2-node01_0-rs:db2-node01
Online IBM.ResourceGroup:db2_db2inst2_db2-node02_0-rg Nominal=Online
'- Online IBM.Application:db2_db2inst2_db2-node02_0-rs
'- Online IBM.Application:db2_db2inst2_db2-node02_0-rs:db2-node02
Online IBM.ResourceGroup:db2_db2inst2_db2inst2_GHAN-rg Nominal=Online
|- Online IBM.Application:db2_db2inst2_db2inst2_GHAN-rs
|
- Offline IBM.Application:db2_db2inst2_db2inst2_GHAN-rs:db2-node01
'- Online IBM.Application:db2_db2inst2_db2inst2_GHAN-rs:db2-node02
'- Online IBM.ServiceIP:db2ip_108_88_3_107-rs
|- Offline IBM.ServiceIP:db2ip_108_88_3_107-rs:db2-node01
'- Online IBM.ServiceIP:db2ip_108_88_3_107-rs:db2-node02
Online IBM.Equivalency:db2_db2inst2_db2-node01_0-rg_group-equ
'- Online IBM.PeerNode:db2-node01:db2-node01
Online IBM.Equivalency:db2_db2inst2_db2-node02_0-rg_group-equ
'- Online IBM.PeerNode:db2-node02:db2-node02
Online IBM.Equivalency:db2_db2inst2_db2inst2_GHAN-rg_group-equ
|- Online IBM.PeerNode:db2-node01:db2-node01
'- Online IBM.PeerNode:db2-node02:db2-node02
Online IBM.Equivalency:db2_private_network_0
|- Online IBM.NetworkInterface:eth1:db2-node02
'- Online IBM.NetworkInterface:eth1:db2-node01
Online IBM.Equivalency:db2_public_network_0
|- Online IBM.NetworkInterface:eth0:db2-node01
'- Online IBM.NetworkInterface:eth0:db2-node02
(lsrsrc-api) /usr/sbin/rsct/bin/lsrsrc-api:2612-023 找不到资源。
lssam:出现意外的 RMC 错误。RMC 返回码为 1。
[root@db2-node02 ~]#
[root@db2-node02 ~]# lssam
Offline IBM.ResourceGroup:db2_db2inst2_db2-node01_0-rg Control=Undefined Nominal=Online
'
- Failed offline IBM.Application:db2_db2inst2_db2-node01_0-rs Control=Undefined
'- Failed offline IBM.Application:db2_db2inst2_db2-node01_0-rs:db2-node01
Offline IBM.ResourceGroup:db2_db2inst2_db2-node02_0-rg Control=Undefined Nominal=Online
'- Online IBM.Application:db2_db2inst2_db2-node02_0-rs Control=Undefined
'- Online IBM.Application:db2_db2inst2_db2-node02_0-rs:db2-node02
Offline IBM.ResourceGroup:db2_db2inst2_db2inst2_GHAN-rg Control=Undefined Nominal=Online
|- Offline IBM.Application:db2_db2inst2_db2inst2_GHAN-rs Control=Undefined
|- Failed offline IBM.Application:db2_db2inst2_db2inst2_GHAN-rs:db2-node01
'- Offline IBM.Application:db2_db2inst2_db2inst2_GHAN-rs:db2-node02
'- Offline IBM.ServiceIP:db2ip_108_88_3_107-rs Control=Undefined
|- Failed offline IBM.ServiceIP:db2ip_108_88_3_107-rs:db2-node01
'- Offline IBM.ServiceIP:db2ip_108_88_3_107-rs:db2-node02
Online IBM.Equivalency:db2_db2inst2_db2-node01_0-rg_group-equ
Online IBM.Equivalency:db2_db2inst2_db2-node02_0-rg_group-equ
Online IBM.Equivalency:db2_db2inst2_db2inst2_GHAN-rg_group-equ
Online IBM.Equivalency:db2_private_network_0
Online IBM.Equivalency:db2_public_network_0
(lsrsrc-api) /usr/sbin/rsct/bin/lsrsrc-api:2612-023 找不到资源。
lssam:出现意外的 RMC 错误。RMC 返回码为 1。
[root@db2-node02 ~]#
[root@db2-node02 ~]# lssam
Failed offline IBM.ResourceGroup:db2_db2inst2_db2-node01_0-rg Nominal=Online
'- Failed offline IBM.Application:db2_db2inst2_db2-node01_0-rs
'- Failed offline IBM.Application:db2_db2inst2_db2-node01_0-rs:db2-node01 Node=Offline
Online IBM.ResourceGroup:db2_db2inst2_db2-node02_0-rg Nominal=Online
'- Online IBM.Application:db2_db2inst2_db2-node02_0-rs
'- Online IBM.Application:db2_db2inst2_db2-node02_0-rs:db2-node02
Online IBM.ResourceGroup:db2_db2inst2_db2inst2_GHAN-rg Request=Lock Nominal=Online
|- Online IBM.Application:db2_db2inst2_db2inst2_GHAN-rs Control=SuspendedPropagated
|- Failed offline IBM.Application:db2_db2inst2_db2inst2_GHAN-rs:db2-node01 Node=Offline
'
- Online IBM.Application:db2_db2inst2_db2inst2_GHAN-rs:db2-node02
'- Online IBM.ServiceIP:db2ip_108_88_3_107-rs Control=SuspendedPropagated
|- Failed offline IBM.ServiceIP:db2ip_108_88_3_107-rs:db2-node01 Node=Offline
'- Online IBM.ServiceIP:db2ip_108_88_3_107-rs:db2-node02
Online IBM.Equivalency:db2_db2inst2_db2-node01_0-rg_group-equ
'- Offline IBM.PeerNode:db2-node01:db2-node01 Node=Offline
Online IBM.Equivalency:db2_db2inst2_db2-node02_0-rg_group-equ
'- Online IBM.PeerNode:db2-node02:db2-node02
Online IBM.Equivalency:db2_db2inst2_db2inst2_GHAN-rg_group-equ
|- Offline IBM.PeerNode:db2-node01:db2-node01 Node=Offline
'- Online IBM.PeerNode:db2-node02:db2-node02
Online IBM.Equivalency:db2_private_network_0
|- Offline IBM.NetworkInterface:eth1:db2-node02
'- Offline IBM.NetworkInterface:eth1:db2-node01 Node=Offline
Online IBM.Equivalency:db2_public_network_0
|- Offline IBM.NetworkInterface:eth0:db2-node01 Node=Offline
'- Online IBM.NetworkInterface:eth0:db2-node02
(lsrsrc-api) /usr/sbin/rsct/bin/lsrsrc-api:2612-023 找不到资源。
lssam:出现意外的 RMC 错误。RMC 返回码为 1
[root@db2-node02 ~]# su - db2inst2
[db2inst2@db2-node02 ~]$ db2 connect to ghan
数据库连接信息
数据库服务器 = DB2/LINUXX8664 9.7.5
SQL 授权标识 = DB2INST2
本地数据库别名 = GHAN
[db2inst2@db2-node02 ~]$ exit