免费注册 查看新帖 |

Chinaunix

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

sun cluster 实验证明 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-08-21 17:18 |只看该作者 |倒序浏览
实验目的:证明两台主机操作系统一样,而update版本不一样,(如一台solaris10u9,另一台solarisu8)也可以做cluster,

主机系统:一台solaris10u9 x86,另一台solaris10u8 x86
sun cluster版本:cluster3.2u3
实验环境:vmware workstation 7
共享存储:starwind5.7

实验结果:证明两台主机操作系统一样,而update版本不一样,也是可以做sun cluster。

日志如下:
第一台:
-bash-3.00# uname -a
SunOS sunu8 5.10 Generic_141445-09 i86pc i386 i86pc
-bash-3.00# more /etc/release
                       Solaris 10 10/09 s10x_u8wos_08a X86
           Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                           Assembled 16 September 2009
-bash-3.00# scinstall -pv
Solaris Cluster 3.2u3 for Solaris 10 i386

第二台:
-bash-3.00# uname -a
SunOS sunb 5.10 Generic_142910-17 i86pc i386 i86pc
-bash-3.00# more /etc/release
                    Oracle Solaris 10 9/10 s10x_u9wos_14a X86
     Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
                            Assembled 11 August 2010
-bash-3.00# scinstall -pv
Solaris Cluster 3.2u3 for Solaris 10 i386

资源切换前:
-bash-3.00# scstat
------------------------------------------------------------------

-- Cluster Nodes --

                    Node name           Status
                    ---------           ------
  Cluster node:     sunb                Online
  Cluster node:     sunu8               Online

------------------------------------------------------------------

-- Cluster Transport Paths --

                    Endpoint               Endpoint               Status
                    --------               --------               ------
  Transport path:   sunb:e1000g3           sunu8:e1000g3          faulted
  Transport path:   sunb:e1000g2           sunu8:e1000g2          Path online

------------------------------------------------------------------

-- Quorum Summary from latest node reconfiguration --

  Quorum votes possible:      3
  Quorum votes needed:        2
  Quorum votes present:       3


-- Quorum Votes by Node (current status) --

                    Node Name           Present Possible Status
                    ---------           ------- -------- ------
  Node votes:       sunb                1        1       Online
  Node votes:       sunu8               1        1       Online


-- Quorum Votes by Device (current status) --

                    Device Name         Present Possible Status
                    -----------         ------- -------- ------
  Device votes:     /dev/did/rdsk/d5s2  1        1       Online

------------------------------------------------------------------

-- Device Group Servers --

                         Device Group        Primary             Secondary
                         ------------        -------             ---------
  Device group servers:  csset               sunu8               sunb


-- Device Group Status --

                              Device Group        Status              
                              ------------        ------              
  Device group status:        csset               Online


-- Multi-owner Device Groups --

                              Device Group        Online Status
                              ------------        -------------

------------------------------------------------------------------

-- Resource Groups and Resources --

            Group Name     Resources
            ----------     ---------
Resources: orarg          suncls datars


-- Resource Groups --

            Group Name     Node Name                State          Suspended
            ----------     ---------                -----          ---------
     Group: orarg          sunu8                    Online         No
     Group: orarg          sunb                     Offline        No


-- Resources --

            Resource Name  Node Name                State          Status Message
            -------------  ---------                -----          --------------
  Resource: suncls         sunu8                    Online         Online - LogicalHostname online.
  Resource: suncls         sunb                     Offline        Offline

  Resource: datars         sunu8                    Online         Online
  Resource: datars         sunb                     Offline        Offline

------------------------------------------------------------------

-- IPMP Groups --

              Node Name           Group   Status         Adapter   Status
              ---------           -----   ------         -------   ------
  IPMP Group: sunb                ipmp1   Online         e1000g1   Online
  IPMP Group: sunb                ipmp1   Online         e1000g0   Online

  IPMP Group: sunu8               ipmp1   Online         e1000g1   Online
  IPMP Group: sunu8               ipmp1   Online         e1000g0   Online


-- IPMP Groups in Zones --

              Zone Name           Group   Status         Adapter   Status
              ---------           -----   ------         -------   ------
------------------------------------------------------------------

资源切换后:
-bash-3.00# scswitch -z -g orarg -h sunb        #没有报错

-bash-3.00# scstat
------------------------------------------------------------------

-- Cluster Nodes --

                    Node name           Status
                    ---------           ------
  Cluster node:     sunb                Online
  Cluster node:     sunu8               Online

------------------------------------------------------------------

-- Cluster Transport Paths --

                    Endpoint               Endpoint               Status
                    --------               --------               ------
  Transport path:   sunb:e1000g3           sunu8:e1000g3          faulted
  Transport path:   sunb:e1000g2           sunu8:e1000g2          Path online

------------------------------------------------------------------

-- Quorum Summary from latest node reconfiguration --

  Quorum votes possible:      3
  Quorum votes needed:        2
  Quorum votes present:       3


-- Quorum Votes by Node (current status) --

                    Node Name           Present Possible Status
                    ---------           ------- -------- ------
  Node votes:       sunb                1        1       Online
  Node votes:       sunu8               1        1       Online


-- Quorum Votes by Device (current status) --

                    Device Name         Present Possible Status
                    -----------         ------- -------- ------
  Device votes:     /dev/did/rdsk/d5s2  1        1       Online

------------------------------------------------------------------

-- Device Group Servers --

                         Device Group        Primary             Secondary
                         ------------        -------             ---------
  Device group servers:  csset               sunb                sunu8


-- Device Group Status --

                              Device Group        Status              
                              ------------        ------              
  Device group status:        csset               Online


-- Multi-owner Device Groups --

                              Device Group        Online Status
                              ------------        -------------

------------------------------------------------------------------

-- Resource Groups and Resources --

            Group Name     Resources
            ----------     ---------
Resources: orarg          suncls datars


-- Resource Groups --

            Group Name     Node Name                State          Suspended
            ----------     ---------                -----          ---------
     Group: orarg          sunu8                    Offline        No
     Group: orarg          sunb                     Online         No


-- Resources --

            Resource Name  Node Name                State          Status Message
            -------------  ---------                -----          --------------
  Resource: suncls         sunu8                    Offline        Offline - LogicalHostname offline.
  Resource: suncls         sunb                     Online         Online - LogicalHostname online.

  Resource: datars         sunu8                    Offline        Offline
  Resource: datars         sunb                     Online         Online

------------------------------------------------------------------

-- IPMP Groups --

              Node Name           Group   Status         Adapter   Status
              ---------           -----   ------         -------   ------
  IPMP Group: sunb                ipmp1   Online         e1000g1   Online
  IPMP Group: sunb                ipmp1   Online         e1000g0   Online

  IPMP Group: sunu8               ipmp1   Online         e1000g1   Online
  IPMP Group: sunu8               ipmp1   Online         e1000g0   Online


-- IPMP Groups in Zones --

              Zone Name           Group   Status         Adapter   Status
              ---------           -----   ------         -------   ------
------------------------------------------------------------------

论坛徽章:
1
19周年集字徽章-19
日期:2020-01-08 15:08:20
2 [报告]
发表于 2011-08-21 19:29 |只看该作者
这样做有什么意义呢?用可能是没有问题,但是出了问题排除起来就会很麻烦。何必给自己找麻烦呢?

论坛徽章:
0
3 [报告]
发表于 2011-08-21 23:44 |只看该作者
可以练练手,熟悉下环境也不错。

论坛徽章:
1
射手座
日期:2014-03-17 10:50:20
4 [报告]
发表于 2011-08-22 09:58 |只看该作者
练练手还可以,恐怕没有人愿意在生产环境上这样做吧!

论坛徽章:
0
5 [报告]
发表于 2011-08-22 10:16 |只看该作者
恩,鼓励lz,不过生产系统的话原则上是绝对不允许这么折腾

论坛徽章:
0
6 [报告]
发表于 2011-08-22 10:20 |只看该作者
做这个实验也是想和大家一起研究cluster,个人认为这样做是没什么问题的,

毕竟我们以后遇到的问题多种多样,

论坛徽章:
0
7 [报告]
发表于 2011-08-22 10:45 |只看该作者
回复 6# liusu_520


    部署生产系统的首要思路就是尽可能的减少潜在的威胁

论坛徽章:
0
8 [报告]
发表于 2011-08-22 11:35 |只看该作者
还有一个,你这个是一两天的试验,生产系统是需要成年累月的运行的,路遥知马力,跑久了,也许这种不兼容的情况就会慢慢显现出来了。

论坛徽章:
0
9 [报告]
发表于 2011-08-24 13:59 |只看该作者
回复 8# zhmzhouming


    还有一种情况就是: 某些配置不被certified,并不是根本就无法work,只是 没做完整的test,出问题厂商不负任何责任。

论坛徽章:
1
技术图书徽章
日期:2014-04-24 15:56:22
10 [报告]
发表于 2011-08-24 21:27 |只看该作者
没意义
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP