Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5613485
  • 博文数量: 745
  • 博客积分: 10075
  • 博客等级: 上将
  • 技术积分: 7716
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-29 12:09
文章分类

全部博文(745)

文章存档

2019年(1)

2016年(1)

2010年(31)

2009年(88)

2008年(129)

2007年(155)

2006年(197)

2005年(143)

分类:

2007-10-09 21:55:44

第一步,手工设置启动/关闭脚本,如下所示:

# cd /usr/sbin/cluster/events
vi startsvc
date >> /usr/sbin/cluster/events/start.log
banner " start app1 " >> /tmp/hacmp.out

vi stopsvc
date >> /usr/sbin/cluster/events/stop.log
banner "stop app1 " >> /tmp/hacmp.out

# rcp /usr/sbin/cluster/events/startsvc ibm1:/usr/sbin/cluster/events/
# rcp /usr/sbin/cluster/events/stopsvc ibm1:/usr/sbin/cluster/events/
# chmod 777 startsvc
# chmod 777 stopsvc

在这里要注意给启动/关闭脚本赋予执行权限,否则在双机同步的过程中会报错。

 

第二步,配置应用服务器:

 

 

 

 

第三步,增加资源组:

 

 

第四步,配置资源组:

 

 

 

阅读(2647) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~