网站首页
本站精华
免费下载
游客:
注册
|
登录
|
会员
|
搜索
|
帮助
LoveUnix
»
培训认证 行业入门
» 求助HACMP5.4不能手动offline资源组的问题
‹‹ 上一主题
|
下一主题 ››
投票
交易
悬赏
活动
打印
|
推荐
|
订阅
|
收藏
标题: 求助HACMP5.4不能手动offline资源组的问题
heyse
LU新生
UID 105429
精华 0
积分 2
帖子 4
活跃指数 2
LU金币 6 个
LU金条 0 个
阅读权限 10
注册 2008-4-17
#1
大
中
小
使用道具
发表于 2008-4-17 09:11
资料
个人空间
短消息
加为好友
求助HACMP5.4不能手动offline资源组的问题
我配置的HACMP5.4不能offline资源组;手工切换,拔网线倒换、异常掉电倒换,杀进程倒换等测试都是正常的,请各位老兄帮忙看看,哪儿存在问题
Broadcast message from root@VMS-PA1-A1 (tty) at 01:26:42 ...
HACMP/ES for AIX on VMS-PA1-A1 shutting down.
Please exit any cluster applications...
0513-044 the clinfoES subsystem was requested to stop
查看资源组的状态显示为online状态,但双机的服务已经为inoperative状态了,如下:
Status of the RSCT subsystems used by HACMP:
Subsystem Group PID Status
topsvcs topsvcs inoperative
grpsvcs grpsvcs inoperative
grpglsm grpsvcs inoperative
emsvcs emsvcs inoperative
emaixos emsvcs inoperative
ctrmc rsct 458984 active
Status of the HACMP subsystems:
Subsystem Group PID Status
clcomdES clcomdES 471050 active
clstrmgrES cluster 479288 active
Status of the optional HACMP subsystems:
Subsystem Group PID Status
clinfoES cluster inoperative
以下为HACMP5.4的配置过程(其中有图片,现在省掉了,请见凉)
安装前的准备:
先配置好boot、standby网卡的IP地址。
然后修改相关的文件
#cat /etc/hosts --hosts配置为下面的格式:
127.0.0.1 loopback localhost # loopback (lo0) name/address
192.168.2.137 scp1_boot scp1
192.168.3.137 scp1_stb scp1
192.168.2.138 scp2_boot scp2
192.168.3.138 scp2_stb scp2
10.60.121.133 scp_svc scp
10.60.121.135 smt_svc smt
# cat /.rhosts --root用户的.rhosts文件配置为下面的格式:
scp
10.60.121.133
smt
10.60.121.135
scp1
192.168.2.137
192.168.3.137
scp2
192.168.2.138
192.168.3.138
编辑HACMP双机软件的rhosts文件,格式如下:
# cd /usr/es/sbin/cluster/etc
# pwd
/usr/es/sbin/cluster/etc
# cat rhosts
192.168.2.137
192.168.3.137
192.168.2.138
192.168.3.138
10.60.121.133
10.60.121.135
scp1_boot
scp1_stb
scp2_boot
scp2_stb
scp_svc
smt_svc
scp
smt
编辑HACMP双机软件的clhosts文件,在最后增加浮动IP。
#vi /usr/es/sbin/cluster/etc/clhosts
10.60.121.133
10.60.121.135
创建RS232 TTY
按照下列步骤,分别在主、备机上创建RS232TTY。
1. 以root用户登录AIX操作系统。
2. 创建RS232TTY。
3. 选择[tty rs232 Asynchronous Terminal]项。
4. 按<F4>键,从列表中选择COM口(注意其编号,然后选择如:sa0 Available 01-S4 Standard I/O Serial Port,一般为选项的最后一个COM口)。
5. 在创建界面中全部用缺省选项,
6. 按<ENTER>键创建。
检查双机间串口的连通性
按照下列步骤检查双机间的连通性。
1. 以root用户登录node1。
2. 检查连通性。
# cat < /dev/tty0
3. 以root用户登录node2。
4. 检查连通性。
# cat /etc/hosts > /dev/tty0
# cat < /dev/tty0
5. 以root用户登录node1。
6. 检查连通性。
# cat /etc/hosts > /dev/tty0
结果
node1上应该显示node2上的/etc/hosts文件的内容,不应该有乱码出现。
同理node2上应该显示node1上的/etc/hosts文件内容,不应该有乱码出现。
HACMP配置:
配置Cluster name
#smitty hacmp
----> Extended Configuration
----> Extended Topology Configuration
----> Configure an HACMP Cluster
----> Add/Change/Show an HACMP Cluster
配置双机节点
#smitty hacmp
Extended Configuration
----> Extended Topology Configuration
----> Configure HACMP Nodes
----> Add a Node to the HACMP Cluster
在Node Name中输入主机名scp1,在Communication Path to Node中通过F4/Esc4显示的IP列表中选择主机名scp1对应IP行scp1_boot。
然后同样加入另一个节点scp2。
使用discover读出磁盘等相关配置
配置Cluster网络
a、增加网络名
#smitty hacmp
---- > Extended Configuration"
---- > Extended Topology Configuration
---- > Configure HACMP Networks
---- > Add a Network to the HACMP
在弹出的对话框中选中 # Pre-defined IP-based Network Types中的ether后:
在Network name栏中会默认生成一个网络名,保持默认如上图中的所有内容。
b、给刚才增加的网络名分配网卡。
#smitty hacmp
---- > Extended Configuration
---- > Extended Topology Configuration
---->Configure HACMP Communication Interfaces/Devices
---- > Add Communication Interfaces/Devices
Add discovered communication interface and devices
选择communication interfaces
选择创建的网络名net_ether_01,按回车键。
选择主、备机的boot、standby网络配置信息。
c、增加串口,心跳资源。
#smitty hacmp
---- > Extended Configuration
---- > Extended Topology Configuration
---->Configure HACMP Communication Interfaces/Devices
---- > Add Communication Interfaces/Devices
Add discovered communication interface and devices
选择communication devices
选择主、备机使用的串口
双机资源配置
#smitty hacmp
---- > Extended Configuration
---- > Extended Resource Configuration
---- >HACMP Extended Resource Configuration
a、配置应用服务
#smitty hacmp
---- > Extended Configuration
---- > Extended Resource Configuration
----> HACMP Extended Resources Configuration
---- > Configure HACMP Applications
----> Configure HACMP Application Servers
---->Add an Application Server
输入应用服务名,启动、关闭脚本的路径。
创建第二个应用服务:app_scp和app_smtransf。
配置浮动IP(业务ip)
#smitty hacmp
---- > Extended Configuration
---- > Extended Resource Configuration
----> HACMP Extended Resources Configuration
---- > Configure HACMP Service IP Labels/Addresses
----> Add a Service IP Label/Address
Configurable on Multiple Nodes
在IP Laberl/Address栏按F4键,选择scp_svc。
创建第二个资源组的浮动ip:scp_svc和smt_svc。
配置资源组
smitty hacmp
---- > Extended Configuration
---- > Extended Resource Configuration
---->HACMP Extended Resource Group Configuration
---- >Add a Resource Group
输入要创建的资源组名g_scp,包含的节点scp1、scp2,以及运行的策略如上图。
创建两个资源组rg_scp和rg_smtransf。
修改资源组
smitty hacmp
---- > Extended Configuration
---- > Extended Resource Configuration
---->HACMP Extended Resource Group Configuration
---->Change/show resources and attributes for a resource group
修改rg_scp资源组:
在service IP_Labels/addresses栏中(按F4键),选择创建的浮动IP,在application servers栏中选择创建的应用服务app_scp,在volume Groups栏中选择要使用的卷组vgsybase,其它保持默认,如上图。
修改rg_smtransf资源组:
在service IP_Labels/addresses栏中(按F4键),选择创建的浮动IP(smt_svc),在application servers栏中选择创建的应用服务app_smtransf,其它保持默认,如上图
双机配置资源同步
#smitty hacmp
---- > Extended Configuration
---->Extended Verification and Synchronization
在automatically correct errors found during栏中选择interactively,表示发现错误后,系统自动纠错。
至此双机配置完毕,
,后面的工作就是启动双机,测试双机倒换等工作了。
横不见底,纵不见边--思维很重要
heyse
LU新生
UID 105429
精华 0
积分 2
帖子 4
活跃指数 2
LU金币 6 个
LU金条 0 个
阅读权限 10
注册 2008-4-17
#2
大
中
小
使用道具
发表于 2008-4-17 09:22
资料
个人空间
短消息
加为好友
IBM P55A双机+EMC300磁阵
AIX 5.3 补丁打到了5300-06
HACMP为5.4
横不见底,纵不见边--思维很重要
投票
交易
悬赏
活动
LoveUnix
专项技术区
> AIX -IBM UNIX
> 其他UNIX & Linux
> i5 (AS400) & IBM大机
> PC Server & HPC
> 存储设备
> 备份软件
> 网络 & 安全
> 编程开发 & Rational
> DB2 & Informix
> ORACLE等数据库
> 中间件技术
行业综合区
> 职业咨询 前程无忧
> 培训认证 行业入门
> 行业应用 项目实施
> 产品信息 商务交流
> Free download下载
交流灌水区
> 蓝色太平洋
> 墨香雅韵
> 共建家园
> 博客专区
当前时区 GMT+8, 现在时间是 2008-7-9 22:14
乐悠LoveUnix论坛-京ICP备05005823号
Thanks to
Discuz!
© 2001-2007 Power by
LoveUnix.net
Processed in 0.077561 second(s), 6 queries , Gzip enabled
TOP
清除 Cookies
-
联系我们
-
乐悠LoveUnix
-
Archiver
-
WAP
界面风格
----------
Discuz! 5 Default
新DISCUZ风格
控制面板首页
编辑个人资料
积分交易
公众用户组
好友列表
升级个人空间
基本概况
流量统计
客户软件
发帖量记录
论坛排行
主题排行
发帖排行
积分排行
在线时间
管理团队
管理统计