免费注册 查看新帖 |

Chinaunix

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

[HACMP集群] hacmp disk method /etc. with hdlm [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-01-21 22:21 |只看该作者 |倒序浏览
6 注册HACMP脚本
6.1 When the resource group processing order is a sequential order
     Add a custom cluster event or custom disk methods.
6.2 When the resource group processing order is a parallel order
    Add custom disk methods.
6.3 Add a custom cluster event
#smitty hacmp
选择Extended Configuration,
Extended Event Configuration, Configure Pre/Post-Event Commands, 最终选择Add a Custom Cluster Event.
在Add a Custom Cluster Event窗口, 指定以下项:
Cluster event name: dlm_hacmp_disk_available
Cluster event description: dlm_hacmp_disk_available
Script file name for the cluster event: /usr/DynamicLinkManager/cluster/dlm_hacmp_disk_available
Communications Applications and Services, HACMP for AIX, Extended Configuration,Extended Event Configuration, and finally choose Change/Show Predefined HACMP Events.
在Extended Event Configuration window, 选择下列event:
Name to Change:
get_disk_vg_fs
The Change/Show Cluster Events window appears.
在Pre-event Command列表框, 指定dlm_hacmp_disk_available.
#smitty hacmp
选择Extended Configuration,选择Extended Verification and Synchronization.
6.4 Add custom disk methods.
#smitty hacmp
Communications Applications and Services, HACMP for AIX, Extended Configuration, Extended Resource Configuration, HACMP Extended Resource Configuration, Configure Custom Disk Methods, 选择Add Custom Disk Methods.
需要设置的项目:
– 如果是Fibre Channel连接
更改以下custom disk method 设置:
Disk Type (PdDvLn field from CuDv):
disk/fcp/dlmfdrv
Method to identify ghost disks:
/usr/DynamicLinkManager/cluster/dlm_hacmp_gdisk_check
Method to determine if a reserve is held:
/usr/DynamicLinkManager/cluster/dlm_hacmp_gdisk_reserve_check
Method to break a reserve:
TARGET
Break reserves in parallel:
false
Method to make the disk available:
MKDEV
--如果是SCSI连接
更改以下custom disk method 设置:
- Disk Type (PdDvLn field from CuDv)
disk/scsi/dlmfdrv
- Method to identify ghost disks
/usr/DynamicLinkManager/cluster/dlm_hacmp_gdisk_check
- Method to determine if a reservation is held
/usr/DynamicLinkManager/cluster/dlm_hacmp_gdisk_reserve_check
- Method to break a reservation
TARGET
- Method to break reservations in parallel
false
- Method to make the disk available
MKDEV
最后,将hacmp进行同步。
#smitty hacmp
Communications Applications and Services, HACMP for AIX, Extended Configuration,Extended Verification and Synchronization.
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/6408/showart_2156631.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP