中国IDC产业年度大典指定存储网站 第二届中国IDC产业年度大典(北京 2008年1月16日) 中国IT实验室旗下网站
存储世界
 热门搜索:SAN 虚拟化 RAID 容灾 ILM 分层存储 iSCSI SAS
搜索:
 您现在的位置: 中国IT实验室 >> 存储 >> 存储技术 >> 硬盘|阵列 >> 正文
安装Veritas Cluster Server 4.0
来源:ChinaItLab 时间:2006-3-22 保存本文 作者:www.51ct… 收藏本站

 

    Mount data_mnt (

    MountPoint = "/opt/oracle/data"

    BlockDevice = "/dev/vx/dsk/hlrdg/oradata_vol"

    FSType = vxfs

    FsckOpt = "-y"

    )

    Mount hlr_mnt (

    MountPoint = "/opt/hlr"

    BlockDevice = "/dev/vx/dsk/hlrdg/hlr_vol"

    FSType = vxfs

    FsckOpt = "-y"

    )

    Mount redo_mnt (

    MountPoint = "/opt/oracle/redo"

    BlockDevice = "/dev/vx/dsk/hlrdg/oraredo_vol"

    FSType = vxfs

    FsckOpt = "-y"

    )

    NIC csgnic (

    Device = eri0

    )

    VRTSWebApp VCSweb (

    Critical = 0

    AppName = vcs

    InstallDir = "/opt/VRTSweb/VERITAS"

    TimeForOnline = 5

    RestartLimit = 3

    )

    VCSweb requires webip

    arch_mnt requires hlr_mnt

    data_mnt requires redo_mnt

    hlr_mnt requires hlrdg

    redo_mnt requires arch_mnt

    webip requires csgnic

    修改完毕,使用如下命令进行语法检查:

    root@uulab-s22 # hacf -verify /etc/VRTSvcs/conf/config

    十。 测试VCS

    配置完成以后,同时重新启动两台机器,启动完毕,使用如下命令检查VCS是否运行正常。

    root@uulab-s22 # hares -display -group ClusterService

    正常情况应该如下显示:

    #Resource Attribute System Value

    VCSweb Group global ClusterService

    VCSweb Type global VRTSWebApp

    VCSweb AutoStart global 1

    VCSweb Critical global 0

    VCSweb Enabled global 1

    VCSweb LastOnline global uulab-s22

    VCSweb MonitorOnly global 0

    VCSweb ResourceOwner global unknown

    VCSweb TriggerEvent global 0

    VCSweb ArgListValues uulab-s22 vcs /opt/VRTSweb/VERITAS 5

    VCSweb ArgListValues uulab-s23 vcs /opt/VRTSweb/VERITAS 5

    VCSweb ConfidenceLevel uulab-s22 100

    VCSweb ConfidenceLevel uulab-s23 0

    VCSweb Flags uulab-s22

    VCSweb Flags uulab-s23

    VCSweb IState uulab-s22 not waiting

    VCSweb IState uulab-s23 not waiting

    VCSweb Probed uulab-s22 1

    VCSweb Probed uulab-s23 1

    VCSweb Start uulab-s22 1

    VCSweb Start uulab-s23 0

    VCSweb State uulab-s22 ONLINE

    VCSweb State uulab-s23 OFFLINE

    VCSweb AppName global vcs

    VCSweb ComputeStats global 0

    VCSweb InstallDir global /opt/VRTSweb/VERITAS

    VCSweb ResourceInfo global State Valid Msg TS

    VCSweb RestartLimit global 3

    VCSweb TimeForOnline global 5

    VCSweb MonitorTimeStats uulab-s22 Avg 0 TS

    VCSweb MonitorTimeStats uulab-s23 Avg 0 TS

    #

    …………

    也可以使用df命令检查是否所有需要挂载的文件系统都已正确挂载在Node1上,而在Node2上则无法看到。

    做切换测试:

    root@uulab-s22 # hagrp -switch ClusterService -to uulab-s23

    正常情况大概是5秒左右,所有的资源包括IP,文件系统加载点都会转移到Node2上。

    十一。 附录

    解决方法1:

    root@uulab-s22 # vxdiskadm

    Volume Manager Support Operations

    Menu: VolumeManager/Disk

    1 Add or initialize one or more disks

    2 Encapsulate one or more disks

    3 Remove a disk

    4 Remove a disk for replacement

    5 Replace a failed or removed disk

    6 Mirror volumes on a disk

    7 Move volumes from a disk

    8 Enable access to (import) a disk group

    9 Remove access to (deport) a disk group

    10 Enable (online) a disk device

    11 Disable (offline) a disk device

    12 Mark a disk as a spare for a disk group

    13 Turn off the spare flag on a disk

    14 Unrelocate subdisks back to a disk

    15 Exclude a disk from hot-relocation use

    16 Make a disk available for hot-relocation use

    17 Prevent multipathing/Suppress devices from VxVM's view

    18 Allow multipathing/Unsuppress devices from VxVM's view

    19 List currently suppressed/non-multipathed devices

    20 Change the disk naming scheme

    21 Get the newly connected/zoned disks in VxVM view

    22 Change/Display the default disk layouts

    23 Mark a disk as allocator-reserved for a disk group

    24 Turn off the allocator-reserved flag on a disk

    list List disk information

    ? Display help about menu

    ?? Display help about the menuing system

    q Exit from menus

    Select an operation to perform: 17

    Exclude Devices

    Menu: VolumeManager/Disk/ExcludeDevices

    VxVM INFO V-5-2-1239

    This operation might lead to some devices being suppressed from VxVM's view

    or prevent them from being multipathed by vxdmp (This operation can be

    reversed using the vxdiskadm command)。

    Do you want to continue ? [y,n,q,?] (default: y) y

    Volume Manager Device Operations

    Menu: VolumeManager/Disk/ExcludeDevices

    1 Suppress all paths through a controller from VxVM's view

    2 Suppress a path from VxVM's view

    3 Suppress disks from VxVM's view by specifying a VID:PID combination

    4 Suppress all but one paths to a disk

    5 Prevent multipathing of all disks on a controller by VxVM

    6 Prevent multipathing of a disk by VxVM

    7 Prevent multipathing of disks by specifying a VID:PID combination

    8 List currently suppressed/non-multipathed devices

    ? Display help about menu

    ?? Display help about the menuing system

    q Exit from menus

    Select an operation to perform: 5

    Exclude controllers from DMP

    Menu: VolumeManager/Disk/ExcludeDevices/CTLR-DMP

    Use this operation to exclude all disks on a controller from being multipathed

    by vxdmp.

    As a result of this operation, all disks having a path through the specified

    controller will be claimed in the OTHER_DISKS category and hence, not

    multipathed by vxdmp. This operation can be reversed using the vxdiskadm

    command.

    VxVM INFO V-5-2-1263

    You can specify a controller name at the prompt. A controller name is of

    the form c#, example c3, c11 etc. Enter 'all' to exclude all paths on all

    the controllers on the host. To see the list of controllers on the system,

    type 'list'.

    Enter a controller name [,all,list,list-exclude,q,?] c4

    VxVM INFO V-5-2-1129

    All disks on the following enclosures will be excluded from DMP ( ie

    claimed in the OTHER_DISKS category and hence not multipathed by vxdmp) as a

    result of this operation :

    Disk OTHER_DISKS

    Continue operation? [y,n,q,?] (default: y) y

    Do you wish to exclude more controllers ? [y,n,q,?] (default: n) n

    Volume Manager Device Operations

    Menu: VolumeManager/Disk/ExcludeDevices

    1 Suppress all paths through a controller from VxVM's view

    2 Suppress a path from VxVM's view

    3 Suppress disks from VxVM's view by specifying a VID:PID combination

    4 Suppress all but one paths to a disk

    5 Prevent multipathing of all disks on a controller by VxVM

    6 Prevent multipathing of a disk by VxVM

    7 Prevent multipathing of disks by specifying a VID:PID combination

    8 List currently suppressed/non-multipathed devices

    ? Display help about menu

    ?? Display help about the menuing system

    q Exit from menus

    Select an operation to perform: q

    VxVM vxdiskadm NOTICE V-5-2-1187 Please wait while the device suppression/unsuppression operations take effect.

上一页  [1] [2] [3] 

【责编:Chuan】
相关文章
Veritas Cluster Server for DB2双机-入门
安装Veritas Cluster Server 4.0
最新文章
·TDK推出加密存储U盘
·中国EMC诉美国EMC商标侵权
·OCZ、Super Talent新款固态硬盘联合测
·BUFFALO内置硬盘最大降幅55%
·WD发布2.5英寸万转企业级SATA硬盘
·博科将先进性能和数据中心网络功能扩
·Solutia通过WAN优化削减开支
 文章评论
 精彩友情推荐
·Asp源码 PHP源码
·CGI源码 JSP源码
·建站书籍教程
·服务器软件 .net源码
·建站工具软件
·IDC资讯大全
·机房品质万里行
·IDC托管必备知识
·全国IDC报价
·网站推广优化
行业信息关注  

HDS存储研发体系与

2008电脑展盘点:
·TDK推出加密存储U盘
·中国EMC诉美国EMC商标侵权
·OCZ、Super Talent新款固态硬盘联
·BUFFALO内置硬盘最大降幅55%
·WD发布2.5英寸万转企业级SATA硬盘
·博科将先进性能和数据中心网络功
特别推荐  
08版网络测试工具新鲜出炉
《IT实验室周报》征稿启事
中文Traceroute,路由信息一目了然
10大城市2万个热门IT职位等着您!
讲述从网管到外企IT经理的成长经历
中文授权Alexa网站排名查询
存储技术  
  数年以前,我们总在谈论XXXX年,但当我们谈论XXXX年的时候,往往离这些技术走向应用还有一段距离...
·Solutia通过WAN优化削减开支
·Qbisys QC-VTL 3000 企业级的虚拟磁带库
·英特尔推新SoC技术产品 可用于存储
·探索虚拟磁带库的真正价值
·存储高手速成:存储虚拟化详解
·高级事务数据库应用中固态硬盘性能比拼
·重复数据删除技术的弱点分析
·五大提高NetApp 存储弹性的鲜为人知的技
产品专区  
·购买低端存储系统的品牌选择
·SMB存储革命 联想“3E”存储SMS100首测
·Infortrend EonStor B12S磁盘阵列评测
·独占鳌头 Adaptec 5805阵列卡RAID5测试
·飞康连续数据保护器 完整保护 瞬间恢复
·ProStor发布500GB RDX 挑战传统磁带备份
·Infortrend发布新一代磁盘阵列系统
·选购RAID应该考虑哪些因素?
·博科推出8Gb交换机和HBA
·如何为NAS创建RFP
 Chinaitlab Group 旗下网站:  中国IT实验室 | 中国IDC圈 | 存储世界 | 数字网校 | 21世纪IT人才网
关于我们 | 广告服务| 成功客户 | 合作媒体 | 网站历史 | 联系我们 | 招聘信息 | 免责声明 | 社区之歌
Copyright © 2001 - 2007 All Rights Reserved
粤ICP备05089709