免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3851 | 回复: 6
打印 上一主题 下一主题

集群问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-02-13 13:11 |只看该作者 |倒序浏览
今天集群突然出问题了,后来又好看但是状态有问题,但是还能用,问问是这么回事?
================================================================

data1# cmviewcl -v

CLUSTER      STATUS      
cluster1     up           

  NODE         STATUS       STATE        
  data1        up           running      

    Network_Parameters:
    INTERFACE    STATUS       PATH                NAME         
    PRIMARY      up           1/0/1/0/0/4/0       lan0         
    PRIMARY      up           1/0/6/0/0           lan1         
    STANDBY      up           1/0/14/0/0          lan2         

  NODE         STATUS       STATE        
  data2        up           running      

    Network_Parameters:
    INTERFACE    STATUS       PATH                NAME         
    PRIMARY      up           1/0/1/0/0/4/0       lan0         
    PRIMARY      up           1/0/6/0/0           lan1         
    STANDBY      up           1/0/14/0/0          lan2         

UNOWNED_PACKAGES

    PACKAGE      STATUS       STATE        AUTO_RUN     NODE         
    jnora        down         halted       disabled     unowned      

      Policy_Parameters:
      POLICY_NAME     CONFIGURED_VALUE
      Failover        configured_node
      Failback        manual

      Script_Parameters:
      ITEM       STATUS   NODE_NAME    NAME
      Subnet     up       data1        192.168.1.0
      Subnet     up       data2        192.168.1.0

      Node_Switching_Parameters:
      NODE_TYPE    STATUS       SWITCHING    NAME                     
      Primary      up           disabled     data1                     
      Alternate    up           disabled     data2   

============================================================
***data2的syslong日志 ,**
Jan 10 17:42:01 data2 xntpd[1085]: synchronized to 192.168.2.81, stratum=11
Jan 10 17:42:01 data2 xntpd[1085]: time reset (step) 0.467268 s
Jan 10 17:42:01 data2 xntpd[1085]: synchronisation lost
Jan 10 17:47:21 data2 xntpd[1085]: synchronized to 192.168.2.81, stratum=11
Jan 16 15:01:22 data2 LVM[24371]: lvlnboot -v
Feb 13 09:50:38 data2 cmcld: (data1) Halted package jnora on node data1.
Feb 13 09:50:38 data2 cmcld: Request from node data1 to disable global switching for package jnora.
Feb 13 09:58:05 data2 CM-CMD[27602]: cmhaltcl -f
Feb 13 09:58:05 data2 cmcld: Request from root on node data2 to halt the cluster on this node.
Feb 13 09:58:05 data2 cmcld: Request from node data1 to disable node switching for package jnora on node data2.
Feb 13 09:58:58 data2 CM-CMD[27616]: cmruncl -v
Feb 13 12:18:03 data2 CM-CMD[29647]: cmruncl
Feb 13 12:20:04 data2 CM-CMD[29674]: cmrunpkg
Feb 13 12:24:22 data2 CM-CMD[29730]: cmrunpkg
Feb 13 12:25:53 data2 CM-CMD[29752]: cmrunpkg jnora
==============================================================
**data1的syslog日志,原来包的运行节点**
Feb 13 09:49:32 data1 cmcld: Service jnora terminated due to an exit(1).
Feb 13 09:49:32 data1 cmcld: Service jnora in package jnora has gone down.
Feb 13 09:49:32 data1 cmcld: Disabled node data1 from running package jnora.
Feb 13 09:49:32 data1 cmcld: Executing '/etc/cmcluster/pkg1/control.sh  stop' for package jnora, as service PKG*35329.
Feb 13 09:50:34 data1 CM-jnora[10432]: cmhaltserv jnora
Feb 13 09:50:34 data1 su: + tty?? root-oracle
Feb 13 09:50:37 data1 CM-jnora[10481]: cmmodnet -r -i 192.168.2.85 192.168.2.0
Feb 13 09:50:38 data1 cmcld: Service PKG*35329 terminated due to an exit(1).
Feb 13 09:50:38 data1 cmcld: Halted package jnora on node data1.
Feb 13 09:50:35 data1 su: + tty?? root-oracle
Feb 13 09:50:38 data1 cmcld: Package jnora halt script exited with NO_RESTART.
Feb 13 09:50:38 data1 cmcld: Examine the file /etc/cmcluster/pkg1/control.sh.log for more details.
Feb 13 09:50:38 data1 cmcld: Switching disabled on package jnora.
Feb 13 09:50:38 data1 cmcld: Request from node data1 to disable global switching for package jnora.
Feb 13 09:50:38 data1 cmcld: Disabled switching for package jnora.
Feb 13 09:58:05 data1 cmcld: Request from root on node data2 to halt the cluster on this node.
Feb 13 09:58:05 data1 cmcld: Disabled package jnora on node data2.
Feb 13 09:58:05 data1 cmtaped[2159]: cmtaped terminating. (ATS 1.14)
Feb 13 09:58:06 data1 cmlvmd: Volume group vgdata1 is still active.
Feb 13 10:01:42 data1 CM-CMD[10678]: cmruncl -f
Feb 13 10:13:39 data1 ftpd[11116]: FTP LOGIN FROM 192.168.9.33 [192.168.9.33], oracle
Feb 13 10:34:26 data1 ftpd[11116]: FTP session closed
Feb 13 11:07:43 data1 CM-CMD[12072]: cmrunpkg -n data1 jnora
Feb 13 11:07:43 data1 cmcld: Unable to start package jnora. Node data1 not enabled to run it.
Feb 13 12:25:53 data1 cmcld: Unable to start package jnora. Node data2 not enabled to run it.

论坛徽章:
0
2 [报告]
发表于 2009-02-13 15:24 |只看该作者
检查pkg log

论坛徽章:
0
3 [报告]
发表于 2009-02-13 16:00 |只看该作者

回复 #2 leelangco 的帖子

########### Node "data1": Halting package at Fri Feb 13 09:50:34 EAT 2009 ###########
Feb 13 09:50:34 - Node "data1": Halting service jnora
cmhaltserv : Service name jnora is not running.
ttytype: couldn't open /dev/tty for reading
stty: : Not a typewriter
(c)Copyright 1983-2000 Hewlett-Packard Co.,  All Rights Reserved.
(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
(c)Copyright 1980, 1984, 1986 Novell, Inc.
(c)Copyright 1986-1992 Sun Microsystems, Inc.
(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
(c)Copyright 1989-1993  The Open Software Foundation, Inc.
(c)Copyright 1986 Digital Equipment Corp.
(c)Copyright 1990 Motorola, Inc.
(c)Copyright 1990, 1991, 1992 Cornell University
(c)Copyright 1989-1991 The University of Maryland
(c)Copyright 1988 Carnegie Mellon University
(c)Copyright 1991-2000 Mentat Inc.
(c)Copyright 1996 Morning Star Technologies, Inc.
(c)Copyright 1996 Progressive Systems, Inc.
(c)Copyright 1991-2000 Isogon Corporation, All Rights Reserved.


                           RESTRICTED RIGHTS LEGEND
Use, duplication, or disclosure by the U.S. Government is subject to
restrictions as set forth in sub-paragraph (c)(1)(ii) of the Rights in
Technical Data and Computer Software clause in DFARS 252.227-7013.

                           Hewlett-Packard Company
                           3000 Hanover Street
                           Palo Alto, CA 94304 U.S.A.

Rights for non-DOD U.S. Government Departments and Agencies are as set
forth in FAR 52.227-19(c)(1,2).
Not a terminal
stty: : Not a typewriter
stty: : Not a typewriter
        ^[2     ^[2     ^[2     ^[2     ^[2     ^[2     ^[2     ^[2     ^[2     ^[2     ^[2     ^[2     ^[2     ^[2     ^[2     ^[
2       ^[2     ^[2     ^[2     ^[2                                                                        
LSNRCTL for HPUX: Version 8.1.7.4.0 - Production on 13-FEB-2009 09:50:35

(c) Copyright 1998 Oracle Corporation.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.2.85)(PORT=1521)))
The command completed successfully
ttytype: couldn't open /dev/tty for reading
stty: : Not a typewriter
(c)Copyright 1983-2000 Hewlett-Packard Co.,  All Rights Reserved.
(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
(c)Copyright 1980, 1984, 1986 Novell, Inc.
(c)Copyright 1986-1992 Sun Microsystems, Inc.
(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
(c)Copyright 1989-1993  The Open Software Foundation, Inc.
(c)Copyright 1986 Digital Equipment Corp.
(c)Copyright 1990 Motorola, Inc.
(c)Copyright 1990, 1991, 1992 Cornell University
(c)Copyright 1989-1991 The University of Maryland
(c)Copyright 1988 Carnegie Mellon University
(c)Copyright 1991-2000 Mentat Inc.
(c)Copyright 1996 Morning Star Technologies, Inc.
(c)Copyright 1996 Progressive Systems, Inc.
(c)Copyright 1991-2000 Isogon Corporation, All Rights Reserved.


                           RESTRICTED RIGHTS LEGEND
Use, duplication, or disclosure by the U.S. Government is subject to
restrictions as set forth in sub-paragraph (c)(1)(ii) of the Rights in
Technical Data and Computer Software clause in DFARS 252.227-7013.

                           Hewlett-Packard Company
                           3000 Hanover Street
                           Palo Alto, CA 94304 U.S.A.

Rights for non-DOD U.S. Government Departments and Agencies are as set
forth in FAR 52.227-19(c)(1,2).
Not a terminal
stty: : Not a typewriter
stty: : Not a typewriter
        ^[2     ^[2     ^[2     ^[2     ^[2     ^[2     ^[2     ^[2     ^[2     ^[2     ^[2     ^[2     ^[2     ^[2     ^[2     ^[
2       ^[2     ^[2     ^[2     ^[2                                                                        
Oracle Server Manager Release 3.1.7.0.0 - Production

Copyright (c) 1997, 1999, Oracle Corporation.  All Rights Reserved.

Oracle8i Enterprise Edition Release 8.1.7.4.0 - 64bit Production
With the Partitioning option
JServer Release 8.1.7.4.0 - 64bit Production

SVRMGR> Connected.
SVRMGR> ORA-00443: background process "" did not start
SVRMGR>
Server Manager complete.
Database "ora817" shut down.
Feb 13 09:50:37 - Node "data1": Remove IP address 192.168.2.85 from subnet 192.168.2.0
cmmodnet : IP address 192.168.2.85 is not configured on the subnet.
cmmodnet : Or IP address 192.168.2.85 is not valid.
cmmodnet : Use the "netstat -in" command to check the configured IP addresses
for the subnet.
        ERROR:  Function remove_ip_address
        ERROR:  Failed to remove 192.168.2.85
Feb 13 09:50:37 - Node "data1": Deactivating volume group vgdata1
vgchange: Couldn't deactivate volume group "vgdata1":
Device busy
        ERROR:  Function deactivate_volume_group
        ERROR:  Failed to deactivate vgdata1
Feb 13 09:50:38 - Node "data1": Deactivating volume group vgdata2
vgchange: Couldn't deactivate volume group "vgdata2":
Device busy
        ERROR:  Function deactivate_volume_group
        ERROR:  Failed to deactivate vgdata2

        ########### Node "data1": Package halt failed at Fri Feb 13 09:50:38 EAT 2009 ###########
control.sh.log: END

论坛徽章:
0
4 [报告]
发表于 2009-02-13 21:38 |只看该作者
有问题直接联系我吧

[ 本帖最后由 leelangco 于 2009-2-16 09:32 编辑 ]

论坛徽章:
0
5 [报告]
发表于 2009-02-18 08:08 |只看该作者
跪求指点

论坛徽章:
0
6 [报告]
发表于 2009-02-18 09:12 |只看该作者
后台oracle没有起来,把信息贴的全一点,可以找原因

论坛徽章:
0
7 [报告]
发表于 2009-02-27 15:06 |只看该作者
检查你的起停脚本吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP