神州天勤HA安装过程.docx
文本预览下载声明
一、JBOSS服务器
1、停止redhat cluster(在两台机器上都操作)
先在cluster管理界面disable服务,然后停止rgmanager、cman服务
#/etc/init.d/rgmanager stop
#/etc/init.d/cman stop
#/etc/init.d/modclusterd stop
#chkconfig rgmanager off
#chkconfig cman off
#chkconfig modclusterd off
注释掉/etc/rc.local里面的cman、rgmanager启动行。
#service cman start
#sleep 5
#service rgmanager start
2、检查iptables和selinux都是禁用的
[root@server14 ~]# cat /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
[root@server14 ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
3、修改/etc/hosts文件
[root@server15 ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
#::1 localhost6.localdomain6 localhost6
192.168.10.14 server14.localdomain server14
192.168.10.15 server15.localdomain server15
10.10.5.14 node14
10.10.5.15 node15
4、安装skygeha软件
[root@server14 ~]#mkdir iso
[root@server14 ~]#mount skygeha-6.0-x86_64-Fenghuo.iso iso –o loop
[root@server14 ~]#cd iso
[root@server14 iso]#./install_ha.sh
5、配置skygeha
[root@server14 iso]# su -
[root@server14 ~]# skygeha_admin
------------------------------------------------------------------------
SKYGE HA 6.0 Configuration Utility Tools
------------------------------------------------------------------
显示全部