16. C-SPOC cluster single point of control
单点控制工具
DARE dynamic reconfiguration
动态配置(拓扑、资源)
TaskGuides 辅助建立共享卷组的图形工具
HaView netview的远程cluster 监控
Clverify The cluster verification utility
软件和配置检测
Clstat The cluster status utility
图形化显示cluster工具Hacmp的软件工具
31. IBM其它的高可用性产品HACWS
high availability for sp control workstation
HACMP-ES
对于SP架构可支持32node的cluster
HANFS
high availability for network filesystem
不能与HACMP兼容使用
HAGEO
geographically dispersed clusters
异地镜像的容灾
60. Hacmp结构Clstrmgr cluster manager daemon
cluster管理核心
Clsmuxpd cluster snmp user extension daemon
网络信息交互
Cllockd cluster lock manager daemon
并发访问的锁管理
Clinfo cluster information daemon
C-spoc cluster single point of control
Haview extension to tme 10 netwiew for aix
76. Hacmp –smit 菜单Smit hacmpHacmp for aix
Cluster configration
Cluster service
Cluster system management..
Cluster recovery aids
Ras supportCluster configuration
Cluster topology
Cluster security
Cluster resources..
Cluster snapshots
Cluster verification
Cluster custom modification
Restore system default configruation form activeSmit cm_config_menuSmit cm_cfg_top_menuCluster topology
Configure cluster
Configure node
Configure adapter
Configure network modules
Synchronize cluster topologySmit cm_cfg_res_menuCluster resources
Define resource group
Define application servers
Chenge/show resources for a resource group
Synchronize cluster resources
77. Cluster拓扑Add cluster nodes
*node name [servera serverb]
Cluster nodes (smit cm_config_nodes.add)adapter (smit cm_config_adapters.add)Add an adapter
*adapter ip label [servera]
*network type [ether]
*network name [ethernet_one]
*network attribute public
*adapter function serviceadapter identifier []
Adapter hardware address []
Node name [servera]Adapter ip label内容要求所有的node中的/etc/hosts文件中都有相同描述service
78. Cluster 拓扑smit cm_config_adapters.addAdd an adapter
*adapter ip label [servera_stby]
*network type [ether]
*network name [ethernet_one]
*network attribute public
*adapter function standbyadapter identifier []
Adapter hardware address []
Node name [servera]smit cm_config_adapters.addAdd an adapter
*adapter ip label [servera_tty]
*network type [rs232]
*network name [ethernet_one]
*network attribute serial
*adapter function serviceadapter identifier [/dev/tty0]
Adapter hardware address []
Node name [servera]Network attribute 一定要配置为serial
Adapter ip label可以不配置在/etc/hosts中standbyserial
79. Cluster拓扑smit configchk.dialogSynchronize cluster topology
Ignore cluster verification errors? [no]
*emulate or actual? [actual]显示拓扑smit cm_show_menuShow cluster topology
Show cluster topology
Show cluster definitions
Show topology information by node
Show topology information by network name
Show topology information by network adapter拓扑同步#cllsif
81. 配置application serversmit claddserv.dialogAdd an appliciation server
*server name [data_app]
*statrt script [/usr/local/startapp]
*stop script [/usr/local/stopapp]Cluster会检测是不是所有的节点都有启动和停止脚本
Cluster只检测文件是否存在,不检测内容的一致性
82. 配置资源组1、定义资源组
资源组名字
节点联系(cascading rotating concurrent)
参加到资源组的节点名字
2、配置资源组的资源
磁盘,卷组,文件系统,nfs 文件系统
网络ip地址
应用
3、配置运行时间参数
4、同步cluster资源smit cm_run_time.selectChange/show run time parameters
Node name servera
Debug level high
Host uses nis or name server false
83. Cluster 资源-资源smit cm_cfg_res.selectConfigure resource for a resource group
Resource group name test_rg
Node relationship cascading
Participating servera serverb
Server ip label []
Filesystems [/sharefs]
Filesystems consistency check fsck
Filesystems to export []
Filesystems to nfs mount []
Volume group []
Concurrent volume group []
Application server []
Inactive takeover activated false
84. 实现ipat1、smit chinet把service ip 地址改为root
2、配置boot adapter并且同步拓扑
3、配置ip service label并且同步资源
如果要求硬件地址takeover应配置hw addressSmit clsyncnode.dialogSynchronize cluster resources
Ignore cluster verification errors? [no]
Un/configure cluster resource? [yes]
*emulate or actual? [actual]同步资源
86. 判断和选择Ipat是cascading 资源组可选择的
Ipat是rotating资源组必选的
一个网络的rotating资源组数目最多为节点数减一
一个节点的service ip label是资源组中必选的资源
下列哪项不属于cluster 拓扑?
a cluster runtime parameters
b cluster id
c cluster name
下列哪项不属于cluster资源
a filesystem consistency check
b inactive takeover falg
c adapter definition√√√×√√
91. 使用c-spoc启动hacmpSmit cl_clstart.dialogStart cluster services
*start now on system restart or both now
*start on these nodes [servera serverb]
Broadcast message at startup? Ture
Start cluster lock services false
Start cluster information daemon falseSmit cl_clstop.dialogStop cluster services
*stop now,on system restart or both now
Stop cluster services on these nodes [servera serverb]
Broadcast cluster shutdown ture
*shutdown mode graceful
(graceful or graceful with takeover ,forced)
99. 增加错误通知方法Smit cm_add_notifymeth.dialogAdd a notify method
*notification object name []
*persist across system restart no +
Process ID for use by notify method [] +
Select error class none +
Select error type none +
Match alertable errors none +
Select error label [] +
Resource name [all]
Resource class [all]
Resource type [all]
Notify method [] errordeviceaction[ssa_adapter]
Yes
[]
Hardware
Perm
None
[]
[Ssa0]
[All]
[All]
[halt -q]Smit hacmp
Ras support
Error notification