当前位置 : 主页 > 操作系统 > centos >

RHEL6 部署HA集群-RHCS

来源:互联网 收集:自由互联 发布时间:2022-06-20
一、测试环境   主机列表规划 主机名 主机IP     rhcs-mgr.cluster.example.com 172.16.30.11 172.16.40.11   rhcs-node1.cluster.example.com 172.16.30.12 172.16.40.12 172.16.50.12 rhcs-node2.cluster.example.com 172.16.30.13 17
一、测试环境

RHEL6 部署HA集群-RHCS_RHCS

 

主机列表规划

主机名

主机IP

 

 

rhcs-mgr.cluster.example.com

172.16.30.11

172.16.40.11

 

rhcs-node1.cluster.example.com

172.16.30.12

172.16.40.12

172.16.50.12

rhcs-node2.cluster.example.com

172.16.30.13

172.16.40.13

172.16.50.13

rhcs-storage.cluster.example.com

172.16.30.14

 

 

 

二、测试步骤

1、RHEL6.8系统安装步骤

  

1.1、   如图,选择安装系统

 

RHEL6 部署HA集群-RHCS_HA集群_02

  

1.2、   如图,选择“skip”

 

RHEL6 部署HA集群-RHCS_RHCS_03

  

1.3、   如图,点击“Next”

 

RHEL6 部署HA集群-RHCS_GFS_04

  

1.4、   选择“English(English)”,点击“Next”

 

RHEL6 部署HA集群-RHCS_RHCS_05

  

1.5、   如图,选择键盘格局“U.S.English”,点击“Next”

 

RHEL6 部署HA集群-RHCS_RHCS_06

  

1.6、   如图,选择“Basic Storage Devices”,点击”Next“

 

RHEL6 部署HA集群-RHCS_GFS_07

  

1.7、   如图,设置主机名,点击“Next”

 

RHEL6 部署HA集群-RHCS_RHCS_08

  

1.8、   如图,设置时区“Asia/Shanghai”,点击”Next“

 

RHEL6 部署HA集群-RHCS_RHCS_09

  

1.9、   如图,设置root用户密码,点击“Next“

 

RHEL6 部署HA集群-RHCS_EHEL6_10

  

1.10、 如图,选择手动分区

 

RHEL6 部署HA集群-RHCS_HA集群_11

  

1.11、 分区设置忽略,根据服务器实际配置设定分区

 

1.12、 如图:选择安装系统软件包“Minimal”,点击”Next”

 

RHEL6 部署HA集群-RHCS_EHEL6_12

  

1.13、 如图,点击“Reboot”

 

RHEL6 部署HA集群-RHCS_HA集群_13

 

 

1.14、说明:这里已管理端(rhcs-mgr)为例,其他三台系统安装设置和管理端相同。

   

2、系统初始化设置

  

2.1、主机名、IP地址

 

 

主机名

IP:eth0

IP:eth1

IP:eth2

rhcs-mgr.cluster.example.com

172.16.30.11

172.16.40.11

 

rhcs-node1.cluster.example.com

172.16.30.12

172.16.40.12

172.16.50.12

rhcs-node2.cluster.example.com

172.16.30.13

172.16.40.13

172.16.50.13

rhcs-storage.cluster.example.com

172.16.30.14

 

 

  

rhcs-mgr配置如图:

 

RHEL6 部署HA集群-RHCS_HA集群_14

  

rhcs-node1配置如图

 

RHEL6 部署HA集群-RHCS_RHCS_15

  

rhcs-node2配置如图

 

RHEL6 部署HA集群-RHCS_HA集群_16

  

rhcs-storage配置如图

 

RHEL6 部署HA集群-RHCS_RHCS_17

  

2.2、主机hosts配置,(rhcs-mgr,rhcs-node1,rhcs-node2配置相同)

 

RHEL6 部署HA集群-RHCS_EHEL6_18

  

2.3、主机yum仓库配置,(rhcs-mgr,rhcs-node1,rhcs-node2配置相同)

 

RHEL6 部署HA集群-RHCS_GFS_19

[root@rhcs-mgr ~]# more /etc/yum.repos.d/rhel6-dvd.repo

[rhel-dvd]

name=Red Hat Enterprise Linux $releasever - $basearch - dvd

baseurl=file:///media

enabled=1

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-Server]

name=Red Hat Enterprise Linux $releasever - $basearch - Server

baseurl=file:///media/Server

enabled=1

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-LoadBalancer]

name=Red Hat Enterprise Linux $releasever - $basearch - LoadBalancer

baseurl=file:///media/LoadBalancer

enabled=1

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-HighAvailability]

name=Red Hat Enterprise Linux $releasever - $basearch - HighAvailability

baseurl=file:///media/HighAvailability

enabled=1

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-ResilientStorage]

name=Red Hat Enterprise Linux $releasever - $basearch - ResilientStorage

baseurl=file:///media/ResilientStorage

enabled=1

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-ScalableFileSystem]

name=Red Hat Enterprise Linux $releasever - $basearch - ScalableFileSystem

baseurl=file:///media/ScalableFileSystem

enabled=1

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

  

2.4、设置selinux,iptables,(rhcs-mgr,rhcs-node1,rhcs-node2配置相同)

 

RHEL6 部署HA集群-RHCS_HA集群_20

 

3、配置NTP

3.1、安装NTP服务,(rhcs-mgr上配置)

[root@rhcs-mgr ~]# yum install -y ntp

Loaded plugins: product-id, search-disabled-repos, subscription-manager

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package ntp.x86_64 0:4.2.6p5-10.el6 will be installed

--> Processing Dependency: ntpdate = 4.2.6p5-10.el6 for package: ntp-4.2.6p5-10.el6.x86_64

--> Processing Dependency: libedit.so.0()(64bit) for package: ntp-4.2.6p5-10.el6.x86_64

--> Running transaction check

---> Package libedit.x86_64 0:2.11-4.20080712cvs.1.el6 will be installed

---> Package ntpdate.x86_64 0:4.2.6p5-10.el6 will be installed

--> Finished Dependency Resolution

 

Dependencies Resolved

 

==============================================================================================================

 Package             Arch               Version                                 Repository               Size

==============================================================================================================

Installing:

 ntp                 x86_64             4.2.6p5-10.el6                          rhel-Server             598 k

Installing for dependencies:

 libedit             x86_64             2.11-4.20080712cvs.1.el6                rhel-Server              74 k

 ntpdate             x86_64             4.2.6p5-10.el6                          rhel-Server              78 k

 

Transaction Summary

==============================================================================================================

Install       3 Package(s)

 

Total download size: 750 k

Installed size: 1.9 M

Downloading Packages:

--------------------------------------------------------------------------------------------------------------

Total19 MB/s | 750 kB     00:00    

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

  Installing : ntpdate-4.2.6p5-10.el6.x86_641/3

  Installing : libedit-2.11-4.20080712cvs.1.el6.x86_642/3

  Installing : ntp-4.2.6p5-10.el6.x86_643/3

  Verifying: libedit-2.11-4.20080712cvs.1.el6.x86_64                                                    1/3

  Verifying: ntpdate-4.2.6p5-10.el6.x86_642/3

  Verifying: ntp-4.2.6p5-10.el6.x86_643/3

 

Installed:

  ntp.x86_64 0:4.2.6p5-10.el6

 

Dependency Installed:

  libedit.x86_64 0:2.11-4.20080712cvs.1.el6ntpdate.x86_64 0:4.2.6p5-10.el6                

 

Complete!

[root@rhcs-mgr ~]#

 

3.2、设定配置文件

[root@rhcs-mgr ~]# cat /etc/ntp.conf |grep -v '^#'|grep -v '^$'

driftfile /var/lib/ntp/drift

restrict default kod nomodify notrap nopeer noquery

restrict 172.16.30.0 mask 255.255.255.0 nomodify notrap

server 127.127.1.0

fudge 127.127.1.0 stratum 10

includefile /etc/ntp/crypto/pw

keys /etc/ntp/keys

 

3.3、启动服务

 

[root@rhcs-mgr ~]# service ntpd start

Starting ntpd:[  OK  ]

[root@rhcs-mgr ~]# chkconfig ntpd on

  

3.4、客户端配置,(rhcs-node1,rhcs-node2,rhcs-storage上配置)

  

[root@rhcs-node1 ~]# yum install -y ntp

Loaded plugins: product-id, search-disabled-repos, subscription-manager

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Setting up Install Process

Bad id for repo: root@rhcs-mgr ~, byte = @ 4

Resolving Dependencies

--> Running transaction check

---> Package ntp.x86_64 0:4.2.6p5-10.el6 will be installed

--> Processing Dependency: ntpdate = 4.2.6p5-10.el6 for package: ntp-4.2.6p5-10.el6.x86_64

--> Processing Dependency: libedit.so.0()(64bit) for package: ntp-4.2.6p5-10.el6.x86_64

--> Running transaction check

---> Package libedit.x86_64 0:2.11-4.20080712cvs.1.el6 will be installed

---> Package ntpdate.x86_64 0:4.2.6p5-10.el6 will be installed

--> Finished Dependency Resolution

 

Dependencies Resolved

 

==============================================================================================================

 Package             Arch               Version                                 Repository               Size

==============================================================================================================

Installing:

 ntp                 x86_64             4.2.6p5-10.el6                          rhel-Server             598 k

Installing for dependencies:

 libedit             x86_64             2.11-4.20080712cvs.1.el6                rhel-Server              74 k

 ntpdate             x86_64             4.2.6p5-10.el6                          rhel-Server              78 k

 

Transaction Summary

==============================================================================================================

Install       3 Package(s)

 

Total download size: 750 k

Installed size: 1.9 M

Downloading Packages:

--------------------------------------------------------------------------------------------------------------

Total27 MB/s | 750 kB     00:00    

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

  Installing : ntpdate-4.2.6p5-10.el6.x86_641/3

  Installing : libedit-2.11-4.20080712cvs.1.el6.x86_642/3

  Installing : ntp-4.2.6p5-10.el6.x86_64                                                                  3/3

  Verifying: libedit-2.11-4.20080712cvs.1.el6.x86_641/3

  Verifying: ntpdate-4.2.6p5-10.el6.x86_64          2/3

  Verifying: ntp-4.2.6p5-10.el6.x86_643/3

 

Installed:

  ntp.x86_64 0:4.2.6p5-10.el6

 

Dependency Installed:

  libedit.x86_64 0:2.11-4.20080712cvs.1.el6ntpdate.x86_64 0:4.2.6p5-10.el6                

 

Complete!

 

[root@rhcs-node1 ~]# cat /etc/ntp.conf |grep -v '^#'|grep -v '^$'

driftfile /var/lib/ntp/drift

restrict default kod nomodify notrap nopeer noquery

restrict -6 default kod nomodify notrap nopeer noquery

restrict 127.0.0.1

restrict -6 ::1

server 172.16.30.11 iburst

includefile /etc/ntp/crypto/pw

keys /etc/ntp/keys

 

[root@rhcs-node1 ~]# service ntpd start

Starting ntpd:[  OK  ]

[root@rhcs-node1 ~]# chkconfig ntpd on

 

4、集群安装

 

4.1、安装luci(rhcs-mgr安装)

  

[root@rhcs-mgr ~]# yum install luci -y

Loaded plugins: product-id, search-disabled-repos, subscription-manager

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package luci.x86_64 0:0.26.0-78.el6 will be installed

--> Processing Dependency: python-paste >= 1.7.2-5 for package: luci-0.26.0-78.el6.x86_64

--> Processing Dependency: TurboGears2 for package: luci-0.26.0-78.el6.x86_64

--> Processing Dependency: python-repoze-who-friendlyform for package: luci-0.26.0-78.el6.x86_64

--> Running transaction check

---> Package TurboGears2.noarch 0:2.0.3-4.el6 will be installed

--> Processing Dependency: python-genshi >= 0.5.1 for package: TurboGears2-2.0.3-4.el6.noarch

--> Processing Dependency: python-pylons >= 0.9.7 for package: TurboGears2-2.0.3-4.el6.noarch

--> Processing Dependency: python-repoze-tm2 >= 1.0-0.a4 for package: TurboGears2-2.0.3-4.el6.noarch

--> Processing Dependency: python-repoze-what-pylons >= 1.0-0.rc3 for package: TurboGears2-2.0.3-4.el6.noarch

--> Processing Dependency: python-toscawidgets >= 0.9.4 for package: TurboGears2-2.0.3-4.el6.noarch

--> Processing Dependency: python-turbojson >= 1.2.1 for package: TurboGears2-2.0.3-4.el6.noarch

--> Processing Dependency: python-weberror >= 0.10.1 for package: TurboGears2-2.0.3-4.el6.noarch

--> Processing Dependency: python-webflash >= 0.1-0.a8 for package: TurboGears2-2.0.3-4.el6.noarch

--> Processing Dependency: python-zope-sqlalchemy for package: TurboGears2-2.0.3-4.el6.noarch

---> Package python-paste.noarch 0:1.7.4-2.el6 will be installed

---> Package python-repoze-who-friendlyform.noarch 0:1.0-0.3.b3.el6 will be installed

--> Processing Dependency: python-repoze-who >= 1.0 for package: python-repoze-who-friendlyform-1.0-0.3.b3.el6.noarch

--> Processing Dependency: python-zope-interface for package: python-repoze-who-friendlyform-1.0-0.3.b3.el6.noarch

--> Running transaction check

---> Package python-genshi.x86_64 0:0.5.1-7.1.el6 will be installed

--> Processing Dependency: python-babel >= 0.8 for package: python-genshi-0.5.1-7.1.el6.x86_64

---> Package python-pylons.noarch 0:0.9.7-2.el6 will be installed

--> Processing Dependency: python-beaker >= 1.3.1-5 for package: python-pylons-0.9.7-2.el6.noarch

--> Processing Dependency: python-decorator >= 2.3.2 for package: python-pylons-0.9.7-2.el6.noarch

--> Processing Dependency: python-formencode >= 1.2.1 for package: python-pylons-0.9.7-2.el6.noarch

--> Processing Dependency: python-mako >= 0.2.4 for package: python-pylons-0.9.7-2.el6.noarch

--> Processing Dependency: python-myghty >= 1.1 for package: python-pylons-0.9.7-2.el6.noarch

--> Processing Dependency: python-nose >= 0.10.4 for package: python-pylons-0.9.7-2.el6.noarch

--> Processing Dependency: python-paste-deploy >= 1.3.3 for package: python-pylons-0.9.7-2.el6.noarch

--> Processing Dependency: python-paste-script >= 1.7.3 for package: python-pylons-0.9.7-2.el6.noarch

--> Processing Dependency: python-routes >= 1.10.3 for package: python-pylons-0.9.7-2.el6.noarch

--> Processing Dependency: python-simplejson >= 2.0.8 for package: python-pylons-0.9.7-2.el6.noarch

--> Processing Dependency: python-tempita >= 0.2 for package: python-pylons-0.9.7-2.el6.noarch

--> Processing Dependency: python-webhelpers >= 0.6.4 for package: python-pylons-0.9.7-2.el6.noarch

--> Processing Dependency: python-webob >= 0.9.6.1 for package: python-pylons-0.9.7-2.el6.noarch

--> Processing Dependency: python-webtest >= 1.1 for package: python-pylons-0.9.7-2.el6.noarch

---> Package python-repoze-tm2.noarch 0:1.0-0.5.a4.el6 will be installed

--> Processing Dependency: python-transaction for package: python-repoze-tm2-1.0-0.5.a4.el6.noarch

---> Package python-repoze-what-pylons.noarch 0:1.0-4.el6 will be installed

--> Processing Dependency: python-repoze-what >= 1.0.4 for package: python-repoze-what-pylons-1.0-4.el6.noarch

---> Package python-repoze-who.noarch 0:1.0.18-1.el6 will be installed

--> Processing Dependency: python-setuptools for package: python-repoze-who-1.0.18-1.el6.noarch

---> Package python-toscawidgets.noarch 0:0.9.8-1.el6 will be installed

---> Package python-turbojson.noarch 0:1.2.1-8.1.el6 will be installed

--> Processing Dependency: python-prioritized-methods > 0.2 for package: python-turbojson-1.2.1-8.1.el6.noarch

--> Processing Dependency: python-peak-rules >= 0.5a1.dev-0.2555 for package: python-turbojson-1.2.1-8.1.el6.noarch

---> Package python-weberror.noarch 0:0.10.2-2.el6 will be installed

--> Processing Dependency: python-pygments for package: python-weberror-0.10.2-2.el6.noarch

---> Package python-webflash.noarch 0:0.1-0.2.a9.el6 will be installed

---> Package python-zope-interface.x86_64 0:3.5.2-2.1.el6 will be installed

--> Processing Dependency: python-zope-filesystem for package: python-zope-interface-3.5.2-2.1.el6.x86_64

---> Package python-zope-sqlalchemy.noarch 0:0.4-3.el6 will be installed

--> Processing Dependency: python-sqlalchemy >= 0.4.7 for package: python-zope-sqlalchemy-0.4-3.el6.noarch

--> Running transaction check

---> Package python-babel.noarch 0:0.9.4-5.1.el6 will be installed

---> Package python-beaker.noarch 0:1.3.1-7.el6 will be installed

---> Package python-decorator.noarch 0:3.0.1-3.1.el6 will be installed

---> Package python-formencode.noarch 0:1.2.2-2.1.el6 will be installed

---> Package python-mako.noarch 0:0.3.4-1.el6 will be installed

--> Processing Dependency: python-markupsafe for package: python-mako-0.3.4-1.el6.noarch

---> Package python-myghty.noarch 0:1.1-11.el6 will be installed

---> Package python-nose.noarch 0:0.10.4-3.1.el6 will be installed

---> Package python-paste-deploy.noarch 0:1.3.3-2.1.el6 will be installed

---> Package python-paste-script.noarch 0:1.7.3-5.el6_3 will be installed

--> Processing Dependency: python-cheetah for package: python-paste-script-1.7.3-5.el6_3.noarch

---> Package python-peak-rules.noarch 0:0.5a1.dev-9.2582.1.el6 will be installed

--> Processing Dependency: python-decoratortools >= 1.7 for package: python-peak-rules-0.5a1.dev-9.2582.1.el6.noarch

--> Processing Dependency: python-peak-util-addons >= 0.6 for package: python-peak-rules-0.5a1.dev-9.2582.1.el6.noarch

--> Processing Dependency: python-peak-util-assembler >= 0.3 for package: python-peak-rules-0.5a1.dev-9.2582.1.el6.noarch

--> Processing Dependency: python-peak-util-extremes >= 1.1 for package: python-peak-rules-0.5a1.dev-9.2582.1.el6.noarch

---> Package python-prioritized-methods.noarch 0:0.2.1-5.1.el6 will be installed

---> Package python-pygments.noarch 0:1.1.1-1.el6 will be installed

---> Package python-repoze-what.noarch 0:1.0.8-6.el6 will be installed

--> Processing Dependency: python-repoze-who-testutil for package: python-repoze-what-1.0.8-6.el6.noarch

---> Package python-routes.noarch 0:1.10.3-2.el6 will be installed

---> Package python-setuptools.noarch 0:0.6.10-3.el6 will be installed

---> Package python-simplejson.x86_64 0:2.0.9-3.1.el6 will be installed

---> Package python-sqlalchemy.noarch 0:0.5.5-3.el6_2 will be installed

---> Package python-tempita.noarch 0:0.4-2.el6 will be installed

---> Package python-transaction.noarch 0:1.0.1-1.el6 will be installed

---> Package python-webhelpers.noarch 0:0.6.4-4.el6 will be installed

---> Package python-webob.noarch 0:0.9.6.1-3.el6 will be installed

---> Package python-webtest.noarch 0:1.2-2.el6 will be installed

---> Package python-zope-filesystem.x86_64 0:1-5.el6 will be installed

--> Running transaction check

---> Package python-cheetah.x86_64 0:2.4.1-1.el6 will be installed

--> Processing Dependency: python-markdown for package: python-cheetah-2.4.1-1.el6.x86_64

---> Package python-decoratortools.noarch 0:1.7-4.1.el6 will be installed

---> Package python-markupsafe.x86_64 0:0.9.2-4.el6 will be installed

---> Package python-peak-util-addons.noarch 0:0.6-4.1.el6 will be installed

---> Package python-peak-util-assembler.noarch 0:0.5.1-1.el6 will be installed

--> Processing Dependency: python-peak-util-symbols >= 1.0 for package: python-peak-util-assembler-0.5.1-1.el6.noarch

---> Package python-peak-util-extremes.noarch 0:1.1-4.1.el6 will be installed

---> Package python-repoze-who-testutil.noarch 0:1.0-0.4.rc1.el6 will be installed

--> Running transaction check

---> Package python-markdown.noarch 0:2.0.1-3.1.el6 will be installed

---> Package python-peak-util-symbols.noarch 0:1.0-4.1.el6 will be installed

--> Finished Dependency Resolution

 

Dependencies Resolved

 

==============================================================================================================

 Package                             Arch        Version                     Repository                  Size

==============================================================================================================

Installing:

 luci                                x86_64      0.26.0-78.el6               rhel-HighAvailability      590 k

Installing for dependencies:

 TurboGears2                         noarch      2.0.3-4.el6                 rhel-Server                150 k

 python-babel                        noarch      0.9.4-5.1.el6               rhel-Server                1.4 M

 python-beaker                       noarch1.3.1-7.el6rhel-Server                 72 k

 python-cheetah                      x86_64      2.4.1-1.el6                 rhel-Server                364 k

 python-decorator                    noarch      3.0.1-3.1.el6               rhel-Server                 14 k

 python-decoratortools               noarch      1.7-4.1.el6                 rhel-Server                 27 k

 python-formencode                   noarch      1.2.2-2.1.el6               rhel-Server                245 k

 python-genshi                       x86_64      0.5.1-7.1.el6               rhel-Server                429 k

 python-mako                         noarch      0.3.4-1.el6                 rhel-Server                223 k

 python-markdown                     noarch2.0.1-3.1.el6rhel-Server                118 k

 python-markupsafe                   x86_64      0.9.2-4.el6                 rhel-Server                 22 k

 python-myghty                       noarch      1.1-11.el6                  rhel-Server                519 k

 python-nose                         noarch      0.10.4-3.1.el6              rhel-Server                220 k

 python-paste                        noarch      1.7.4-2.el6                 rhel-Server                758 k

 python-paste-deploy                 noarch      1.3.3-2.1.el6               rhel-Server                 50 k

 python-paste-script                 noarch      1.7.3-5.el6_3               rhel-Server                205 k

 python-peak-rules                   noarch0.5a1.dev-9.2582.1.el6rhel-Server                126 k

 python-peak-util-addons             noarch      0.6-4.1.el6                 rhel-Server                 21 k

 python-peak-util-assembler          noarch      0.5.1-1.el6                 rhel-Server                 50 k

 python-peak-util-extremes           noarch      1.1-4.1.el6                 rhel-Server                9.0 k

 python-peak-util-symbols            noarch      1.0-4.1.el6                 rhel-Server                8.6 k

 python-prioritized-methods          noarch      0.2.1-5.1.el6               rhel-Server                 12 k

 python-pygments                     noarch      1.1.1-1.el6                 rhel-Server                561 k

 python-pylons                       noarch      0.9.7-2.el6                 rhel-Server                181 k

 python-repoze-tm2                   noarch      1.0-0.5.a4.el6              rhel-Server                 16 k

 python-repoze-what                  noarch      1.0.8-6.el6                 rhel-Server                 33 k

 python-repoze-what-pylons           noarch      1.0-4.el6                   rhel-Server                 14 k

 python-repoze-who                   noarch      1.0.18-1.el6                rhel-Server                 95 k

 python-repoze-who-friendlyform      noarch      1.0-0.3.b3.el6              rhel-HighAvailability       13 k

 python-repoze-who-testutil          noarch1.0-0.4.rc1.el6rhel-Server                 12 k

 python-routes                       noarch      1.10.3-2.el6                rhel-Server                 72 k

 python-setuptools                   noarch      0.6.10-3.el6                rhel-Server                336 k

 python-simplejson                   x86_64      2.0.9-3.1.el6               rhel-Server                126 k

 python-sqlalchemy                   noarch      0.5.5-3.el6_2               rhel-Server                1.3 M

 python-tempita                      noarch      0.4-2.el6                   rhel-Server                 37 k

 python-toscawidgets                 noarch      0.9.8-1.el6                 rhel-Server                123 k

 python-transaction                  noarch1.0.1-1.el6rhel-Server                 57 k

 python-turbojson                    noarch      1.2.1-8.1.el6               rhel-Server                 19 k

 python-weberror                     noarch      0.10.2-2.el6                rhel-Server                110 k

 python-webflash                     noarch      0.1-0.2.a9.el6              rhel-Server                 14 k

 python-webhelpers                   noarch      0.6.4-4.el6                 rhel-Server                318 k

 python-webob                        noarch      0.9.6.1-3.el6               rhel-Server                146 k

 python-webtest                      noarch      1.2-2.el6                   rhel-Server                 55 k

 python-zope-filesystem              x86_641-5.el6rhel-Server                5.5 k

 python-zope-interface               x86_64      3.5.2-2.1.el6               rhel-Server                116 k

 python-zope-sqlalchemy              noarch      0.4-3.el6                   rhel-Server                 23 k

 

Transaction Summary

==============================================================================================================

Install      47 Package(s)

 

Total download size: 9.3 M

Installed size: 42 M

Downloading Packages:

--------------------------------------------------------------------------------------------------------------

Total58 MB/s | 9.3 MB     00:00    

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

  Installing : python-paste-1.7.4-2.el6.noarch1/47

  Installing : python-simplejson-2.0.9-3.1.el6.x86_64                                                2/47

  Installing : python-setuptools-0.6.10-3.el6.noarch3/47

  Installing : python-webob-0.9.6.1-3.el6.noarch                                                         4/47

  Installing : python-paste-deploy-1.3.3-2.1.el6.noarch5/47

  Installing : python-decoratortools-1.7-4.1.el6.noarch6/47

  Installing : python-pygments-1.1.1-1.el6.noarch7/47

  Installing : python-decorator-3.0.1-3.1.el6.noarch8/47

  Installing : python-routes-1.10.3-2.el6.noarch9/47

  Installing : python-tempita-0.4-2.el6.noarch10/47

  Installing : python-weberror-0.10.2-2.el6.noarch                                                      11/47

  Installing : python-beaker-1.3.1-7.el6.noarch12/47

  Installing : python-webhelpers-0.6.4-4.el6.noarch13/47

  Installing : python-peak-util-addons-0.6-4.1.el6.noarch14/47

  Installing : python-webtest-1.2-2.el6.noarch15/47

  Installing : python-toscawidgets-0.9.8-1.el6.noarch16/47

  Installing : python-nose-0.10.4-3.1.el6.noarch17/47

  Installing : python-formencode-1.2.2-2.1.el6.noarch                                                   18/47

  Installing : python-webflash-0.1-0.2.a9.el6.noarch19/47

  Installing : python-sqlalchemy-0.5.5-3.el6_2.noarch20/47

  Installing : python-markdown-2.0.1-3.1.el6.noarch21/47

  Installing : python-cheetah-2.4.1-1.el6.x86_6422/47

  Installing : python-paste-script-1.7.3-5.el6_3.noarch23/47

  Installing : python-peak-util-extremes-1.1-4.1.el6.noarch24/47

  Installing : python-peak-util-symbols-1.0-4.1.el6.noarch25/47

  Installing : python-peak-util-assembler-0.5.1-1.el6.noarch26/47

  Installing : python-peak-rules-0.5a1.dev-9.2582.1.el6.noarch                                          27/47

  Installing : python-prioritized-methods-0.2.1-5.1.el6.noarch                                          28/47

  Installing : python-turbojson-1.2.1-8.1.el6.noarch                                                    29/47

  Installing : python-markupsafe-0.9.2-4.el6.x86_6430/47

  Installing : python-mako-0.3.4-1.el6.noarch  31/47

  Installing : python-babel-0.9.4-5.1.el6.noarch32/47

  Installing : python-genshi-0.5.1-7.1.el6.x86_6433/47

  Installing : python-zope-filesystem-1-5.el6.x86_6434/47

  Installing : python-zope-interface-3.5.2-2.1.el6.x86_6435/47

  Installing : python-repoze-who-1.0.18-1.el6.noarch                                             36/47

  Installing : python-transaction-1.0.1-1.el6.noarch37/47

  Installing : python-zope-sqlalchemy-0.4-3.el6.noarch                                                  38/47

  Installing : python-repoze-tm2-1.0-0.5.a4.el6.noarch39/47

  Installing : python-repoze-who-friendlyform-1.0-0.3.b3.el6.noarch                                     40/47

  Installing : python-repoze-who-testutil-1.0-0.4.rc1.el6.noarch                                        41/47

  Installing : python-repoze-what-1.0.8-6.el6.noarch42/47

  Installing : python-myghty-1.1-11.el6.noarch                                                          43/47

  Installing : python-pylons-0.9.7-2.el6.noarch44/47

  Installing : python-repoze-what-pylons-1.0-4.el6.noarch                                               45/47

  Installing : TurboGears2-2.0.3-4.el6.noarch46/47

  Installing : luci-0.26.0-78.el6.x86_6447/47

  Verifying: python-myghty-1.1-11.el6.noarch1/47

  Verifying: luci-0.26.0-78.el6.x86_642/47

  Verifying: python-zope-filesystem-1-5.el6.x86_643/47

  Verifying: python-repoze-what-1.0.8-6.el6.noarch4/47

  Verifying: python-babel-0.9.4-5.1.el6.noarch                                                         5/47

  Verifying: python-repoze-who-friendlyform-1.0-0.3.b3.el6.noarch                                      6/47

  Verifying: python-repoze-who-1.0.18-1.el6.noarch7/47

  Verifying: python-peak-util-addons-0.6-4.1.el6.noarch8/47

  Verifying: python-webtest-1.2-2.el6.noarch9/47

  Verifying: python-toscawidgets-0.9.8-1.el6.noarch10/47

  Verifying: python-markupsafe-0.9.2-4.el6.x86_64                                                     11/47

  Verifying: TurboGears2-2.0.3-4.el6.noarch12/47

  Verifying: python-simplejson-2.0.9-3.1.el6.x86_64  13/47

  Verifying: python-pygments-1.1.1-1.el6.noarch14/47

  Verifying: python-pylons-0.9.7-2.el6.noarch15/47

  Verifying: python-webflash-0.1-0.2.a9.el6.noarch16/47

  Verifying: python-transaction-1.0.1-1.el6.noarch17/47

  Verifying: python-nose-0.10.4-3.1.el6.noarch                                                        18/47

  Verifying: python-beaker-1.3.1-7.el6.noarch19/47

  Verifying: python-weberror-0.10.2-2.el6.noarch                                                      20/47

  Verifying: python-tempita-0.4-2.el6.noarch21/47

  Verifying: python-paste-1.7.4-2.el6.noarch22/47

  Verifying: python-mako-0.3.4-1.el6.noarch23/47

  Verifying: python-repoze-who-testutil-1.0-0.4.rc1.el6.noarch                                        24/47

  Verifying: python-peak-util-symbols-1.0-4.1.el6.noarch25/47

  Verifying: python-cheetah-2.4.1-1.el6.x86_6426/47

  Verifying: python-routes-1.10.3-2.el6.noarch                                                        27/47

  Verifying: python-peak-util-extremes-1.1-4.1.el6.noarch28/47

  Verifying: python-repoze-what-pylons-1.0-4.el6.noarch29/47

  Verifying: python-webhelpers-0.6.4-4.el6.noarch30/47

  Verifying: python-markdown-2.0.1-3.1.el6.noarch31/47

  Verifying: python-paste-script-1.7.3-5.el6_3.noarch32/47

  Verifying: python-setuptools-0.6.10-3.el6.noarch33/47

  Verifying: python-decoratortools-1.7-4.1.el6.noarch                                                 34/47

  Verifying: python-zope-sqlalchemy-0.4-3.el6.noarch35/47

  Verifying: python-peak-util-assembler-0.5.1-1.el6.noarch36/47

  Verifying: python-zope-interface-3.5.2-2.1.el6.x86_6437/47

  Verifying: python-formencode-1.2.2-2.1.el6.noarch38/47

  Verifying: python-paste-deploy-1.3.3-2.1.el6.noarch39/47

  Verifying: python-turbojson-1.2.1-8.1.el6.noarch                                                    40/47

  Verifying: python-genshi-0.5.1-7.1.el6.x86_6441/47

  Verifying: python-peak-rules-0.5a1.dev-9.2582.1.el6.noarch                                          42/47

  Verifying: python-prioritized-methods-0.2.1-5.1.el6.noarch                                          43/47

  Verifying: python-repoze-tm2-1.0-0.5.a4.el6.noarch44/47

  Verifying: python-webob-0.9.6.1-3.el6.noarch45/47

  Verifying: python-decorator-3.0.1-3.1.el6.noarch46/47

  Verifying: python-sqlalchemy-0.5.5-3.el6_2.noarch                                                   47/47

 

Installed:

  luci.x86_64 0:0.26.0-78.el6

 

Dependency Installed:

  TurboGears2.noarch 0:2.0.3-4.el6                        python-babel.noarch 0:0.9.4-5.1.el6                

  python-beaker.noarch 0:1.3.1-7.el6                      python-cheetah.x86_64 0:2.4.1-1.el6                

  python-decorator.noarch 0:3.0.1-3.1.el6                 python-decoratortools.noarch 0:1.7-4.1.el6         

  python-formencode.noarch 0:1.2.2-2.1.el6                python-genshi.x86_64 0:0.5.1-7.1.el6               

  python-mako.noarch 0:0.3.4-1.el6                        python-markdown.noarch 0:2.0.1-3.1.el6             

  python-markupsafe.x86_64 0:0.9.2-4.el6                  python-myghty.noarch 0:1.1-11.el6                  

  python-nose.noarch 0:0.10.4-3.1.el6                     python-paste.noarch 0:1.7.4-2.el6                  

  python-paste-deploy.noarch 0:1.3.3-2.1.el6              python-paste-script.noarch 0:1.7.3-5.el6_3         

  python-peak-rules.noarch 0:0.5a1.dev-9.2582.1.el6python-peak-util-addons.noarch 0:0.6-4.1.el6       

  python-peak-util-assembler.noarch 0:0.5.1-1.el6python-peak-util-extremes.noarch 0:1.1-4.1.el6     

  python-peak-util-symbols.noarch 0:1.0-4.1.el6python-prioritized-methods.noarch 0:0.2.1-5.1.el6  

  python-pygments.noarch 0:1.1.1-1.el6                    python-pylons.noarch 0:0.9.7-2.el6                 

  python-repoze-tm2.noarch 0:1.0-0.5.a4.el6python-repoze-what.noarch 0:1.0.8-6.el6            

  python-repoze-what-pylons.noarch 0:1.0-4.el6python-repoze-who.noarch 0:1.0.18-1.el6            

  python-repoze-who-friendlyform.noarch 0:1.0-0.3.b3.el6python-repoze-who-testutil.noarch 0:1.0-0.4.rc1.el6

  python-routes.noarch 0:1.10.3-2.el6                     python-setuptools.noarch 0:0.6.10-3.el6            

  python-simplejson.x86_64 0:2.0.9-3.1.el6                python-sqlalchemy.noarch 0:0.5.5-3.el6_2           

  python-tempita.noarch 0:0.4-2.el6python-toscawidgets.noarch 0:0.9.8-1.el6           

  python-transaction.noarch 0:1.0.1-1.el6                 python-turbojson.noarch 0:1.2.1-8.1.el6             

  python-weberror.noarch 0:0.10.2-2.el6                   python-webflash.noarch 0:0.1-0.2.a9.el6            

  python-webhelpers.noarch 0:0.6.4-4.el6                  python-webob.noarch 0:0.9.6.1-3.el6                

  python-webtest.noarch 0:1.2-2.el6python-zope-filesystem.x86_64 0:1-5.el6            

  python-zope-interface.x86_64 0:3.5.2-2.1.el6python-zope-sqlalchemy.noarch 0:0.4-3.el6          

 

Complete!

[root@rhcs-mgr ~]#

  

4.2、启动服务

 

[root@rhcs-mgr ~]# service luci start

Adding following auto-detected host IDs (IP addresses/domain names), corresponding to `rhcs-mgr.cluster.example.com' address, to the configuration of self-managed certificate `/var/lib/luci/etc/cacert.config' (you can change them by editing `/var/lib/luci/etc/cacert.config', removing the generated certificate `/var/lib/luci/certs/host.pem' and restarting luci):

    (none suitable found, you can still do it manually as mentioned above)

 

Generating a 2048 bit RSA private key

writing new private key to '/var/lib/luci/certs/host.pem'

Starting saslauthd:                                        [  OK  ]

Start luci...[  OK  ]

Point your web browser to https://rhcs-mgr.cluster.example.com:8084 (or equivalent) to access luci

[root@rhcs-mgr ~]# chkconfig luci on

[root@rhcs-mgr ~]#

 

4.3、测试

 

RHEL6 部署HA集群-RHCS_RHCS_21

 

4.4、输入root用户名、密码,登录

 

RHEL6 部署HA集群-RHCS_RHCS_22

 

4.5、安装ricci,cman、rgmanager,(rhcs-node1,rhcs-node2上配置)

[root@rhcs-node1 ~]# yum install -y ricci cman rgmanager

Loaded plugins: product-id, search-disabled-repos, subscription-manager

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Setting up Install Process

Bad id for repo: root@rhcs-mgr ~, byte = @ 4

Resolving Dependencies

--> Running transaction check

---> Package cman.x86_64 0:3.0.12.1-78.el6 will be installed

--> Processing Dependency: clusterlib = 3.0.12.1-78.el6 for package: cman-3.0.12.1-78.el6.x86_64

--> Processing Dependency: corosync >= 1.4.1-10 for package: cman-3.0.12.1-78.el6.x86_64

--> Processing Dependency: fence-agents >= 3.1.5-1 for package: cman-3.0.12.1-78.el6.x86_64

--> Processing Dependency: fence-virt >= 0.2.3-1 for package: cman-3.0.12.1-78.el6.x86_64

--> Processing Dependency: modcluster >= 0.15.0-3 for package: cman-3.0.12.1-78.el6.x86_64

--> Processing Dependency: openais >= 1.1.1-1 for package: cman-3.0.12.1-78.el6.x86_64

--> Processing Dependency: libSaCkpt.so.3(OPENAIS_CKPT_B.01.01)(64bit) for package: cman-3.0.12.1-78.el6.x86_64

--> Processing Dependency: libconfdb.so.4(COROSYNC_CONFDB_1.0)(64bit) for package: cman-3.0.12.1-78.el6.x86_64

--> Processing Dependency: libcpg.so.4(COROSYNC_CPG_1.0)(64bit) for package: cman-3.0.12.1-78.el6.x86_64

--> Processing Dependency: libSaCkpt.so.3()(64bit) for package: cman-3.0.12.1-78.el6.x86_64

--> Processing Dependency: libccs.so.3()(64bit) for package: cman-3.0.12.1-78.el6.x86_64

--> Processing Dependency: libcman.so.3()(64bit) for package: cman-3.0.12.1-78.el6.x86_64

--> Processing Dependency: libconfdb.so.4()(64bit) for package: cman-3.0.12.1-78.el6.x86_64

--> Processing Dependency: libcpg.so.4()(64bit) for package: cman-3.0.12.1-78.el6.x86_64

--> Processing Dependency: libdlm.so.3()(64bit) for package: cman-3.0.12.1-78.el6.x86_64

--> Processing Dependency: libdlmcontrol.so.3()(64bit) for package: cman-3.0.12.1-78.el6.x86_64

--> Processing Dependency: libfence.so.4()(64bit) for package: cman-3.0.12.1-78.el6.x86_64

--> Processing Dependency: libfenced.so.3()(64bit) for package: cman-3.0.12.1-78.el6.x86_64

--> Processing Dependency: liblogthread.so.3()(64bit) for package: cman-3.0.12.1-78.el6.x86_64

---> Package rgmanager.x86_64 0:3.0.12.1-26.el6 will be installed

--> Processing Dependency: resource-agents >= 3.9.1-1 for package: rgmanager-3.0.12.1-26.el6.x86_64

--> Processing Dependency: dbus for package: rgmanager-3.0.12.1-26.el6.x86_64

---> Package ricci.x86_64 0:0.16.2-86.el6 will be installed

--> Processing Dependency: oddjob for package: ricci-0.16.2-86.el6.x86_64

--> Processing Dependency: parted for package: ricci-0.16.2-86.el6.x86_64

--> Running transaction check

---> Package clusterlib.x86_64 0:3.0.12.1-78.el6 will be installed

---> Package corosync.x86_64 0:1.4.7-5.el6 will be installed

--> Processing Dependency: libnetsnmp.so.20()(64bit) for package: corosync-1.4.7-5.el6.x86_64

---> Package corosynclib.x86_64 0:1.4.7-5.el6 will be installed

--> Processing Dependency: libibverbs.so.1(IBVERBS_1.0)(64bit) for package: corosynclib-1.4.7-5.el6.x86_64

--> Processing Dependency: libibverbs.so.1(IBVERBS_1.1)(64bit) for package: corosynclib-1.4.7-5.el6.x86_64

--> Processing Dependency: librdmacm.so.1(RDMACM_1.0)(64bit) for package: corosynclib-1.4.7-5.el6.x86_64

--> Processing Dependency: libibverbs.so.1()(64bit) for package: corosynclib-1.4.7-5.el6.x86_64

--> Processing Dependency: librdmacm.so.1()(64bit) for package: corosynclib-1.4.7-5.el6.x86_64

---> Package dbus.x86_64 1:1.2.24-8.el6_6 will be installed

---> Package fence-agents.x86_64 0:4.0.15-12.el6 will be installed

--> Processing Dependency: /usr/bin/ipmitool for package: fence-agents-4.0.15-12.el6.x86_64

--> Processing Dependency: /usr/bin/virsh for package: fence-agents-4.0.15-12.el6.x86_64

--> Processing Dependency: gnutls-utils for package: fence-agents-4.0.15-12.el6.x86_64

--> Processing Dependency: net-snmp-utils for package: fence-agents-4.0.15-12.el6.x86_64

--> Processing Dependency: openssh-clients for package: fence-agents-4.0.15-12.el6.x86_64

--> Processing Dependency: perl(Net::Telnet) for package: fence-agents-4.0.15-12.el6.x86_64

--> Processing Dependency: perl-Net-Telnet for package: fence-agents-4.0.15-12.el6.x86_64

--> Processing Dependency: pexpect for package: fence-agents-4.0.15-12.el6.x86_64

--> Processing Dependency: python-suds for package: fence-agents-4.0.15-12.el6.x86_64

--> Processing Dependency: sg3_utils for package: fence-agents-4.0.15-12.el6.x86_64

--> Processing Dependency: telnet for package: fence-agents-4.0.15-12.el6.x86_64

---> Package fence-virt.x86_64 0:0.2.3-19.el6 will be installed

---> Package modcluster.x86_64 0:0.16.2-35.el6 will be installed

---> Package oddjob.x86_64 0:0.30-6.el6 will be installed

---> Package openais.x86_64 0:1.1.1-7.el6 will be installed

---> Package openaislib.x86_64 0:1.1.1-7.el6 will be installed

---> Package parted.x86_64 0:2.1-29.el6 will be installed

---> Package resource-agents.x86_64 0:3.9.5-34.el6 will be installed

--> Processing Dependency: /sbin/mount.cifs for package: resource-agents-3.9.5-34.el6.x86_64

--> Processing Dependency: /sbin/mount.nfs for package: resource-agents-3.9.5-34.el6.x86_64

--> Processing Dependency: /sbin/mount.nfs4 for package: resource-agents-3.9.5-34.el6.x86_64

--> Processing Dependency: /sbin/quotacheck for package: resource-agents-3.9.5-34.el6.x86_64

--> Processing Dependency: /sbin/quotaon for package: resource-agents-3.9.5-34.el6.x86_64

--> Processing Dependency: /sbin/rpc.statd for package: resource-agents-3.9.5-34.el6.x86_64

--> Processing Dependency: /usr/sbin/rpc.mountd for package: resource-agents-3.9.5-34.el6.x86_64

--> Processing Dependency: /usr/sbin/rpc.nfsd for package: resource-agents-3.9.5-34.el6.x86_64

--> Running transaction check

---> Package cifs-utils.x86_64 0:4.8.1-20.el6 will be installed

--> Processing Dependency: keyutils for package: cifs-utils-4.8.1-20.el6.x86_64

--> Processing Dependency: libtalloc.so.2(TALLOC_2.0.2)(64bit) for package: cifs-utils-4.8.1-20.el6.x86_64

--> Processing Dependency: libtalloc.so.2()(64bit) for package: cifs-utils-4.8.1-20.el6.x86_64

--> Processing Dependency: libwbclient.so.0()(64bit) for package: cifs-utils-4.8.1-20.el6.x86_64

---> Package gnutls-utils.x86_64 0:2.8.5-19.el6_7 will be installed

--> Processing Dependency: gnutls = 2.8.5-19.el6_7 for package: gnutls-utils-2.8.5-19.el6_7.x86_64

--> Processing Dependency: libgnutls-extra.so.26(GNUTLS_1_4)(64bit) for package: gnutls-utils-2.8.5-19.el6_7.x86_64

--> Processing Dependency: libgnutls.so.26(GNUTLS_1_4)(64bit) for package: gnutls-utils-2.8.5-19.el6_7.x86_64

--> Processing Dependency: libgnutls.so.26(GNUTLS_2_10)(64bit) for package: gnutls-utils-2.8.5-19.el6_7.x86_64

--> Processing Dependency: libgnutls.so.26(GNUTLS_2_8)(64bit) for package: gnutls-utils-2.8.5-19.el6_7.x86_64

--> Processing Dependency: libgnutls.so.26(GNUTLS_PRIVATE)(64bit) for package: gnutls-utils-2.8.5-19.el6_7.x86_64

--> Processing Dependency: libgnutls-extra.so.26()(64bit) for package: gnutls-utils-2.8.5-19.el6_7.x86_64

--> Processing Dependency: libgnutls.so.26()(64bit) for package: gnutls-utils-2.8.5-19.el6_7.x86_64

---> Package ipmitool.x86_64 0:1.8.15-2.el6 will be installed

--> Processing Dependency: gettext for package: ipmitool-1.8.15-2.el6.x86_64

---> Package libibverbs.x86_64 0:1.1.8-4.el6 will be installed

---> Package librdmacm.x86_64 0:1.0.21-0.el6 will be installed

---> Package libvirt-client.x86_64 0:0.10.2-60.el6 will be installed

--> Processing Dependency: cyrus-sasl-md5 for package: libvirt-client-0.10.2-60.el6.x86_64

--> Processing Dependency: libnuma.so.1(libnuma_1.1)(64bit) for package: libvirt-client-0.10.2-60.el6.x86_64

--> Processing Dependency: libnuma.so.1(libnuma_1.2)(64bit) for package: libvirt-client-0.10.2-60.el6.x86_64

--> Processing Dependency: nc for package: libvirt-client-0.10.2-60.el6.x86_64

--> Processing Dependency: pm-utils for package: libvirt-client-0.10.2-60.el6.x86_64

--> Processing Dependency: libavahi-client.so.3()(64bit) for package: libvirt-client-0.10.2-60.el6.x86_64

--> Processing Dependency: libavahi-common.so.3()(64bit) for package: libvirt-client-0.10.2-60.el6.x86_64

--> Processing Dependency: libnuma.so.1()(64bit) for package: libvirt-client-0.10.2-60.el6.x86_64

--> Processing Dependency: libyajl.so.1()(64bit) for package: libvirt-client-0.10.2-60.el6.x86_64

---> Package net-snmp-libs.x86_64 1:5.5-57.el6 will be installed

--> Processing Dependency: libsensors.so.4()(64bit) for package: 1:net-snmp-libs-5.5-57.el6.x86_64

---> Package net-snmp-utils.x86_64 1:5.5-57.el6 will be installed

---> Package nfs-utils.x86_64 1:1.2.3-70.el6 will be installed

--> Processing Dependency: libtirpc >= 0.2.1-11 for package: 1:nfs-utils-1.2.3-70.el6.x86_64

--> Processing Dependency: nfs-utils-lib >= 1.1.0-3 for package: 1:nfs-utils-1.2.3-70.el6.x86_64

--> Processing Dependency: libevent for package: 1:nfs-utils-1.2.3-70.el6.x86_64

--> Processing Dependency: libgssglue for package: 1:nfs-utils-1.2.3-70.el6.x86_64

--> Processing Dependency: libgssglue.so.1(libgssapi_CITI_2)(64bit) for package: 1:nfs-utils-1.2.3-70.el6.x86_64

--> Processing Dependency: python-argparse for package: 1:nfs-utils-1.2.3-70.el6.x86_64

--> Processing Dependency: rpcbind for package: 1:nfs-utils-1.2.3-70.el6.x86_64

--> Processing Dependency: libevent-1.4.so.2()(64bit) for package: 1:nfs-utils-1.2.3-70.el6.x86_64

--> Processing Dependency: libgssglue.so.1()(64bit) for package: 1:nfs-utils-1.2.3-70.el6.x86_64

--> Processing Dependency: libnfsidmap.so.0()(64bit) for package: 1:nfs-utils-1.2.3-70.el6.x86_64

--> Processing Dependency: libtirpc.so.1()(64bit) for package: 1:nfs-utils-1.2.3-70.el6.x86_64

---> Package openssh-clients.x86_64 0:5.3p1-117.el6 will be installed

---> Package perl-Net-Telnet.noarch 0:3.03-11.el6 will be installed

---> Package pexpect.noarch 0:2.3-6.el6 will be installed

---> Package python-suds.noarch 0:0.4.1-3.el6 will be installed

---> Package quota.x86_64 1:3.17-23.el6 will be installed

--> Processing Dependency: tcp_wrappers for package: 1:quota-3.17-23.el6.x86_64

---> Package sg3_utils.x86_64 0:1.28-12.el6 will be installed

--> Processing Dependency: sg3_utils-libs = 1.28-12.el6 for package: sg3_utils-1.28-12.el6.x86_64

--> Processing Dependency: libsgutils2.so.2()(64bit) for package: sg3_utils-1.28-12.el6.x86_64

---> Package telnet.x86_64 1:0.17-48.el6 will be installed

--> Running transaction check

---> Package avahi-libs.x86_64 0:0.6.25-15.el6 will be installed

---> Package cyrus-sasl-md5.x86_64 0:2.1.23-15.el6_6.2 will be installed

---> Package gettext.x86_64 0:0.17-18.el6 will be installed

--> Processing Dependency: cvs for package: gettext-0.17-18.el6.x86_64

--> Processing Dependency: libgomp.so.1(GOMP_1.0)(64bit) for package: gettext-0.17-18.el6.x86_64

--> Processing Dependency: libgomp.so.1()(64bit) for package: gettext-0.17-18.el6.x86_64

---> Package gnutls.x86_64 0:2.8.5-19.el6_7 will be installed

---> Package keyutils.x86_64 0:1.4-5.el6 will be installed

---> Package libevent.x86_64 0:1.4.13-4.el6 will be installed

---> Package libgssglue.x86_64 0:0.1-11.el6 will be installed

---> Package libtalloc.x86_64 0:2.1.5-1.el6_7 will be installed

---> Package libtirpc.x86_64 0:0.2.1-11.el6 will be installed

---> Package lm_sensors-libs.x86_64 0:3.1.1-17.el6 will be installed

---> Package nc.x86_64 0:1.84-24.el6 will be installed

---> Package nfs-utils-lib.x86_64 0:1.1.5-11.el6 will be installed

---> Package numactl.x86_64 0:2.0.9-2.el6 will be installed

---> Package pm-utils.x86_64 0:1.2.5-11.el6 will be installed

--> Processing Dependency: hal for package: pm-utils-1.2.5-11.el6.x86_64

--> Processing Dependency: hdparm for package: pm-utils-1.2.5-11.el6.x86_64

---> Package python-argparse.noarch 0:1.2.1-2.1.el6 will be installed

---> Package rpcbind.x86_64 0:0.2.0-12.el6 will be installed

---> Package samba-winbind-clients.x86_64 0:3.6.23-33.el6 will be installed

--> Processing Dependency: samba-winbind = 3.6.23-33.el6 for package: samba-winbind-clients-3.6.23-33.el6.x86_64

--> Processing Dependency: libtdb.so.1(TDB_1.2.1)(64bit) for package: samba-winbind-clients-3.6.23-33.el6.x86_64

--> Processing Dependency: libtdb.so.1(TDB_1.2.2)(64bit) for package: samba-winbind-clients-3.6.23-33.el6.x86_64

--> Processing Dependency: libtdb.so.1(TDB_1.2.5)(64bit) for package: samba-winbind-clients-3.6.23-33.el6.x86_64

--> Processing Dependency: libtevent.so.0(TEVENT_0.9.9)(64bit) for package: samba-winbind-clients-3.6.23-33.el6.x86_64

--> Processing Dependency: libtdb.so.1()(64bit) for package: samba-winbind-clients-3.6.23-33.el6.x86_64

--> Processing Dependency: libtevent.so.0()(64bit) for package: samba-winbind-clients-3.6.23-33.el6.x86_64

---> Package sg3_utils-libs.x86_64 0:1.28-12.el6 will be installed

---> Package tcp_wrappers.x86_64 0:7.6-58.el6 will be installed

---> Package yajl.x86_64 0:1.0.7-3.el6 will be installed

--> Running transaction check

---> Package cvs.x86_64 0:1.11.23-16.el6 will be installed

---> Package hal.x86_64 0:0.5.14-14.el6 will be installed

--> Processing Dependency: hal-libs = 0.5.14-14.el6 for package: hal-0.5.14-14.el6.x86_64

--> Processing Dependency: ConsoleKit >= 0.2.0 for package: hal-0.5.14-14.el6.x86_64

--> Processing Dependency: cryptsetup-luks >= 1.0.1-2 for package: hal-0.5.14-14.el6.x86_64

--> Processing Dependency: hal-info for package: hal-0.5.14-14.el6.x86_64

--> Processing Dependency: libhal-storage.so.1()(64bit) for package: hal-0.5.14-14.el6.x86_64

--> Processing Dependency: libhal.so.1()(64bit) for package: hal-0.5.14-14.el6.x86_64

---> Package hdparm.x86_64 0:9.43-4.el6 will be installed

---> Package libgomp.x86_64 0:4.4.7-17.el6 will be installed

---> Package libtdb.x86_64 0:1.3.8-1.el6_7 will be installed

---> Package libtevent.x86_64 0:0.9.26-2.el6_7 will be installed

---> Package samba-winbind.x86_64 0:3.6.23-33.el6 will be installed

--> Processing Dependency: samba-common = 3.6.23-33.el6 for package: samba-winbind-3.6.23-33.el6.x86_64

--> Running transaction check

---> Package ConsoleKit.x86_64 0:0.4.1-6.el6 will be installed

--> Processing Dependency: libck-connector.so.0()(64bit) for package: ConsoleKit-0.4.1-6.el6.x86_64

--> Processing Dependency: libpolkit-gobject-1.so.0()(64bit) for package: ConsoleKit-0.4.1-6.el6.x86_64

---> Package cryptsetup-luks.x86_64 0:1.2.0-11.el6 will be installed

--> Processing Dependency: cryptsetup-luks-libs = 1.2.0-11.el6 for package: cryptsetup-luks-1.2.0-11.el6.x86_64

--> Processing Dependency: libcryptsetup.so.1(CRYPTSETUP_1.0)(64bit) for package: cryptsetup-luks-1.2.0-11.el6.x86_64

--> Processing Dependency: libcryptsetup.so.1()(64bit) for package: cryptsetup-luks-1.2.0-11.el6.x86_64

---> Package hal-info.noarch 0:20090716-5.el6 will be installed

---> Package hal-libs.x86_64 0:0.5.14-14.el6 will be installed

---> Package samba-common.x86_64 0:3.6.23-33.el6 will be installed

--> Running transaction check

---> Package ConsoleKit-libs.x86_64 0:0.4.1-6.el6 will be installed

---> Package cryptsetup-luks-libs.x86_64 0:1.2.0-11.el6 will be installed

---> Package polkit.x86_64 0:0.96-11.el6 will be installed

--> Processing Dependency: libeggdbus-1.so.0()(64bit) for package: polkit-0.96-11.el6.x86_64

--> Running transaction check

---> Package eggdbus.x86_64 0:0.6-3.el6 will be installed

--> Finished Dependency Resolution

 

Dependencies Resolved

 

==============================================================================================================

 Package                       Arch           Version                     Repository                     Size

==============================================================================================================

Installing:

 cman                          x86_64         3.0.12.1-78.el6             rhel-HighAvailability         453 k

 rgmanager                     x86_64         3.0.12.1-26.el6             rhel-HighAvailability         188 k

 ricci                         x86_64         0.16.2-86.el6               rhel-HighAvailability         633 k

Installing for dependencies:

 ConsoleKit                    x86_64         0.4.1-6.el6                 rhel-Server                    83 k

 ConsoleKit-libs               x86_64         0.4.1-6.el6                 rhel-Server                    18 k

 avahi-libs                    x86_64         0.6.25-15.el6               rhel-Server                    55 k

 cifs-utils                    x86_64         4.8.1-20.el6                rhel-Server                    65 k

 clusterlib                    x86_64         3.0.12.1-78.el6             rhel-HighAvailability         108 k

 corosync                      x86_64         1.4.7-5.el6                 rhel-HighAvailability         216 k

 corosynclib                   x86_64         1.4.7-5.el6                 rhel-HighAvailability         194 k

 cryptsetup-luks               x86_64         1.2.0-11.el6                rhel-Server                    95 k

 cryptsetup-luks-libs          x86_64         1.2.0-11.el6                rhel-Server                    51 k

 cvs                           x86_64         1.11.23-16.el6              rhel-Server                   712 k

 cyrus-sasl-md5                x86_64         2.1.23-15.el6_6.2           rhel-Server                    47 k

 dbus                          x86_64         1:1.2.24-8.el6_6            rhel-Server                   207 k

 eggdbus                       x86_64         0.6-3.el6                   rhel-Server                    91 k

 fence-agents                  x86_64         4.0.15-12.el6               rhel-Server                   192 k

 fence-virt                    x86_64         0.2.3-19.el6                rhel-HighAvailability          38 k

 gettext                       x86_64         0.17-18.el6                 rhel-Server                   1.8 M

 gnutls                        x86_64         2.8.5-19.el6_7              rhel-Server                   347 k

 gnutls-utils                  x86_64         2.8.5-19.el6_7              rhel-Server                   101 k

 hal                           x86_64         0.5.14-14.el6               rhel-Server                   375 k

 hal-info                      noarch         20090716-5.el6              rhel-Server                    56 k

 hal-libs                      x86_64         0.5.14-14.el6               rhel-Server                    69 k

 hdparm                        x86_64         9.43-4.el6                  rhel-Server                    81 k

 ipmitool                      x86_64         1.8.15-2.el6                rhel-Server                   465 k

 keyutils                      x86_64         1.4-5.el6                   rhel-Server                    39 k

 libevent                      x86_64         1.4.13-4.el6                rhel-Server                    66 k

 libgomp                       x86_64         4.4.7-17.el6                rhel-Server                   134 k

 libgssglue                    x86_64         0.1-11.el6                  rhel-Server                    23 k

 libibverbs                    x86_64         1.1.8-4.el6                 rhel-Server                    53 k

 librdmacm                     x86_641.0.21-0.el6rhel-Server                    60 k

 libtalloc                     x86_64         2.1.5-1.el6_7               rhel-Server                    26 k

 libtdb                        x86_64         1.3.8-1.el6_7               rhel-Server                    43 k

 libtevent                     x86_64         0.9.26-2.el6_7              rhel-Server                    29 k

 libtirpc                      x86_64         0.2.1-11.el6                rhel-Server                    82 k

 libvirt-client                x86_64         0.10.2-60.el6               rhel-Server                   4.1 M

 lm_sensors-libs               x86_64         3.1.1-17.el6                rhel-Server                    38 k

 modcluster                    x86_64         0.16.2-35.el6               rhel-HighAvailability         210 k

 nc                            x86_64         1.84-24.el6                 rhel-Server                    57 k

 net-snmp-libs                 x86_64         1:5.5-57.el6                rhel-Server                   1.5 M

 net-snmp-utils                x86_64         1:5.5-57.el6                rhel-Server                   177 k

 nfs-utils                     x86_64         1:1.2.3-70.el6              rhel-Server                   334 k

 nfs-utils-lib                 x86_64         1.1.5-11.el6                rhel-Server                    68 k

 numactl                       x86_64         2.0.9-2.el6                 rhel-Server                    74 k

 oddjob                        x86_64         0.30-6.el6                  rhel-Server                    60 k

 openais                       x86_64         1.1.1-7.el6                 rhel-HighAvailability         192 k

 openaislib                    x86_64         1.1.1-7.el6                 rhel-HighAvailability          82 k

 openssh-clients               x86_64         5.3p1-117.el6               rhel-Server                   442 k

 parted                        x86_64         2.1-29.el6                  rhel-Server                   608 k

 perl-Net-Telnet               noarch         3.03-11.el6                 rhel-Server                    55 k

 pexpect                       noarch         2.3-6.el6                   rhel-Server                   147 k

 pm-utils                      x86_64         1.2.5-11.el6                rhel-Server                   108 k

 polkit                        x86_64         0.96-11.el6                 rhel-Server                   162 k

 python-argparse               noarch         1.2.1-2.1.el6               rhel-Server                    48 k

 python-suds                   noarch         0.4.1-3.el6                 rhel-Server                   218 k

 quota                         x86_64         1:3.17-23.el6               rhel-Server                   202 k

 resource-agents               x86_64         3.9.5-34.el6                rhel-HighAvailability         386 k

 rpcbind                       x86_64         0.2.0-12.el6                rhel-Server                    51 k

 samba-common                  x86_64         3.6.23-33.el6               rhel-Server                    10 M

 samba-winbind                 x86_64         3.6.23-33.el6               rhel-Server                   2.2 M

 samba-winbind-clients         x86_643.6.23-33.el6rhel-Server                   2.0 M

 sg3_utils                     x86_64         1.28-12.el6                 rhel-Server                   498 k

 sg3_utils-libs                x86_64         1.28-12.el6                 rhel-Server                    54 k

 tcp_wrappers                  x86_64         7.6-58.el6                  rhel-Server                    70 k

 telnet                        x86_64         1:0.17-48.el6               rhel-Server                    58 k

 yajl                          x86_64         1.0.7-3.el6                 rhel-Server                    27 k

 

Transaction Summary

==============================================================================================================

Install      67 Package(s)

 

Total download size: 31 M

Installed size: 105 M

Downloading Packages:

--------------------------------------------------------------------------------------------------------------

Total                                                                          64 MB/s |  31 MB00:00    

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

  Installing : 1:dbus-1.2.24-8.el6_6.x86_64         1/67

  Installing : libtalloc-2.1.5-1.el6_7.x86_642/67

  Installing : libgssglue-0.1-11.el6.x86_643/67

  Installing : libtevent-0.9.26-2.el6_7.x86_644/67

  Installing : libtdb-1.3.8-1.el6_7.x86_645/67

  Installing : samba-winbind-3.6.23-33.el6.x86_64                                                        6/67

  Installing : samba-winbind-clients-3.6.23-33.el6.x86_647/67

  Installing : samba-common-3.6.23-33.el6.x86_64                                                         8/67

  Installing : libtirpc-0.2.1-11.el6.x86_649/67

  Installing : gnutls-2.8.5-19.el6_7.x86_6410/67

  Installing : gnutls-utils-2.8.5-19.el6_7.x86_6411/67

  Installing : oddjob-0.30-6.el6.x86_6412/67

dbus-daemon: no process killed

  Installing : keyutils-1.4-5.el6.x86_6413/67

  Installing : libibverbs-1.1.8-4.el6.x86_6414/67

  Installing : librdmacm-1.0.21-0.el6.x86_6415/67

  Installing : cifs-utils-4.8.1-20.el6.x86_6416/67

  Installing : rpcbind-0.2.0-12.el6.x86_6417/67

  Installing : ConsoleKit-libs-0.4.1-6.el6.x86_6418/67

  Installing : hal-libs-0.5.14-14.el6.x86_64                                                            19/67

  Installing : lm_sensors-libs-3.1.1-17.el6.x86_6420/67

  Installing : 1:net-snmp-libs-5.5-57.el6.x86_64  21/67

  Installing : corosync-1.4.7-5.el6.x86_6422/67

  Installing : corosynclib-1.4.7-5.el6.x86_6423/67

  Installing : clusterlib-3.0.12.1-78.el6.x86_6424/67

  Installing : modcluster-0.16.2-35.el6.x86_6425/67

  Installing : openais-1.1.1-7.el6.x86_64                                                               26/67

  Installing : openaislib-1.1.1-7.el6.x86_6427/67

  Installing : 1:net-snmp-utils-5.5-57.el6.x86_64                                                       28/67

  Installing : nc-1.84-24.el6.x86_6429/67

  Installing : yajl-1.0.7-3.el6.x86_6430/67

  Installing : pexpect-2.3-6.el6.noarch31/67

  Installing : python-argparse-1.2.1-2.1.el6.noarch32/67

  Installing : hdparm-9.43-4.el6.x86_64                                                                 33/67

  Installing : 1:telnet-0.17-48.el6.x86_6434/67

  Installing : perl-Net-Telnet-3.03-11.el6.noarch                                                       35/67

  Installing : fence-virt-0.2.3-19.el6.x86_6436/67

  Installing : cvs-1.11.23-16.el6.x86_6437/67

  Installing : cryptsetup-luks-libs-1.2.0-11.el6.x86_6438/67

  Installing : cryptsetup-luks-1.2.0-11.el6.x86_6439/67

  Installing : tcp_wrappers-7.6-58.el6.x86_6440/67

  Installing : 1:quota-3.17-23.el6.x86_6441/67

  Installing : avahi-libs-0.6.25-15.el6.x86_64                                                          42/67

  Installing : eggdbus-0.6-3.el6.x86_6443/67

  Installing : ConsoleKit-0.4.1-6.el6.x86_6444/67

  Installing : polkit-0.96-11.el6.x86_6445/67

  Installing : pm-utils-1.2.5-11.el6.x86_6446/67

  Installing : hal-info-20090716-5.el6.noarch47/67

  Installing : hal-0.5.14-14.el6.x86_64                                                                 48/67

  Installing : sg3_utils-libs-1.28-12.el6.x86_6449/67

  Installing : sg3_utils-1.28-12.el6.x86_64  50/67

  Installing : python-suds-0.4.1-3.el6.noarch51/67

  Installing : libevent-1.4.13-4.el6.x86_6452/67

  Installing : nfs-utils-lib-1.1.5-11.el6.x86_6453/67

  Installing : 1:nfs-utils-1.2.3-70.el6.x86_6454/67

  Installing : resource-agents-3.9.5-34.el6.x86_64                                             55/67

  Installing : numactl-2.0.9-2.el6.x86_6456/67

  Installing : parted-2.1-29.el6.x86_64           57/67

  Installing : ricci-0.16.2-86.el6.x86_6458/67

  Installing : openssh-clients-5.3p1-117.el6.x86_6459/67

  Installing : libgomp-4.4.7-17.el6.x86_6460/67

  Installing : gettext-0.17-18.el6.x86_6461/67

  Installing : ipmitool-1.8.15-2.el6.x86_64                                                             62/67

  Installing : cyrus-sasl-md5-2.1.23-15.el6_6.2.x86_6463/67

  Installing : libvirt-client-0.10.2-60.el6.x86_64                                                      64/67

  Installing : fence-agents-4.0.15-12.el6.x86_6465/67

Stopping kdump:[  OK  ]

Starting kdump:[  OK  ]

  Installing : cman-3.0.12.1-78.el6.x86_64                                                              66/67

  Installing : rgmanager-3.0.12.1-26.el6.x86_6467/67

  Verifying: rpcbind-0.2.0-12.el6.x86_64 1/67

  Verifying: libibverbs-1.1.8-4.el6.x86_642/67

  Verifying: gnutls-utils-2.8.5-19.el6_7.x86_643/67

  Verifying: cyrus-sasl-md5-2.1.23-15.el6_6.2.x86_644/67

  Verifying: libgomp-4.4.7-17.el6.x86_645/67

  Verifying: 1:quota-3.17-23.el6.x86_646/67

  Verifying: 1:nfs-utils-1.2.3-70.el6.x86_647/67

  Verifying: libvirt-client-0.10.2-60.el6.x86_64                                                       8/67

  Verifying: sg3_utils-1.28-12.el6.x86_649/67

  Verifying: samba-winbind-clients-3.6.23-33.el6.x86_64                                               10/67

  Verifying: cryptsetup-luks-1.2.0-11.el6.x86_6411/67

  Verifying: cman-3.0.12.1-78.el6.x86_6412/67

  Verifying: hal-0.5.14-14.el6.x86_6413/67

  Verifying: samba-winbind-3.6.23-33.el6.x86_6414/67

  Verifying: libtalloc-2.1.5-1.el6_7.x86_64                                                           15/67

  Verifying: rgmanager-3.0.12.1-26.el6.x86_6416/67

  Verifying: ipmitool-1.8.15-2.el6.x86_64           17/67

  Verifying: openssh-clients-5.3p1-117.el6.x86_6418/67

  Verifying: 1:net-snmp-utils-5.5-57.el6.x86_6419/67

  Verifying: polkit-0.96-11.el6.x86_6420/67

  Verifying: parted-2.1-29.el6.x86_6421/67

  Verifying: corosync-1.4.7-5.el6.x86_64                                                      22/67

  Verifying: corosynclib-1.4.7-5.el6.x86_6423/67

  Verifying: numactl-2.0.9-2.el6.x86_64                                                               24/67

  Verifying: pm-utils-1.2.5-11.el6.x86_6425/67

  Verifying: cifs-utils-4.8.1-20.el6.x86_6426/67

  Verifying: libevent-1.4.13-4.el6.x86_6427/67

  Verifying: nfs-utils-lib-1.1.5-11.el6.x86_6428/67

  Verifying: 1:net-snmp-libs-5.5-57.el6.x86_6429/67

  Verifying: ConsoleKit-0.4.1-6.el6.x86_6430/67

  Verifying: python-suds-0.4.1-3.el6.noarch                                                           31/67

  Verifying: hal-info-20090716-5.el6.noarch32/67

  Verifying: fence-agents-4.0.15-12.el6.x86_6433/67

  Verifying: 1:dbus-1.2.24-8.el6_6.x86_6434/67

  Verifying: libtirpc-0.2.1-11.el6.x86_6435/67

  Verifying: ConsoleKit-libs-0.4.1-6.el6.x86_6436/67

  Verifying: sg3_utils-libs-1.28-12.el6.x86_64                                                        37/67

  Verifying: librdmacm-1.0.21-0.el6.x86_6438/67

  Verifying: eggdbus-0.6-3.el6.x86_64  39/67

  Verifying: avahi-libs-0.6.25-15.el6.x86_6440/67

  Verifying: tcp_wrappers-7.6-58.el6.x86_6441/67

  Verifying: openais-1.1.1-7.el6.x86_6442/67

  Verifying: cryptsetup-luks-libs-1.2.0-11.el6.x86_6443/67

  Verifying: cvs-1.11.23-16.el6.x86_64                                                                44/67

  Verifying: keyutils-1.4-5.el6.x86_6445/67

  Verifying: openaislib-1.1.1-7.el6.x86_64           46/67

  Verifying: fence-virt-0.2.3-19.el6.x86_6447/67

  Verifying: samba-common-3.6.23-33.el6.x86_6448/67

  Verifying: oddjob-0.30-6.el6.x86_6449/67

  Verifying: perl-Net-Telnet-3.03-11.el6.noarch50/67

  Verifying: libtevent-0.9.26-2.el6_7.x86_64                                                      51/67

  Verifying: 1:telnet-0.17-48.el6.x86_6452/67

  Verifying: hdparm-9.43-4.el6.x86_64                                                                 53/67

  Verifying: gettext-0.17-18.el6.x86_6454/67

  Verifying: python-argparse-1.2.1-2.1.el6.noarch55/67

  Verifying: gnutls-2.8.5-19.el6_7.x86_6456/67

  Verifying: pexpect-2.3-6.el6.noarch57/67

  Verifying: modcluster-0.16.2-35.el6.x86_6458/67

  Verifying: clusterlib-3.0.12.1-78.el6.x86_6459/67

  Verifying: yajl-1.0.7-3.el6.x86_64                                                                  60/67

  Verifying: libgssglue-0.1-11.el6.x86_6461/67

  Verifying: nc-1.84-24.el6.x86_6462/67

  Verifying: lm_sensors-libs-3.1.1-17.el6.x86_6463/67

  Verifying: resource-agents-3.9.5-34.el6.x86_6464/67

  Verifying: libtdb-1.3.8-1.el6_7.x86_6465/67

  Verifying: ricci-0.16.2-86.el6.x86_64                                                               66/67

  Verifying: hal-libs-0.5.14-14.el6.x86_6467/67

 

Installed:

  cman.x86_64 0:3.0.12.1-78.el6      rgmanager.x86_64 0:3.0.12.1-26.el6      ricci.x86_64 0:0.16.2-86.el6    

 

Dependency Installed:

  ConsoleKit.x86_64 0:0.4.1-6.el6ConsoleKit-libs.x86_64 0:0.4.1-6.el6             

  avahi-libs.x86_64 0:0.6.25-15.el6                        cifs-utils.x86_64 0:4.8.1-20.el6                  

  clusterlib.x86_64 0:3.0.12.1-78.el6                      corosync.x86_64 0:1.4.7-5.el6                    

  corosynclib.x86_64 0:1.4.7-5.el6                         cryptsetup-luks.x86_64 0:1.2.0-11.el6            

  cryptsetup-luks-libs.x86_64 0:1.2.0-11.el6               cvs.x86_64 0:1.11.23-16.el6                      

  cyrus-sasl-md5.x86_64 0:2.1.23-15.el6_6.2dbus.x86_64 1:1.2.24-8.el6_6                     

  eggdbus.x86_64 0:0.6-3.el6                               fence-agents.x86_64 0:4.0.15-12.el6              

  fence-virt.x86_64 0:0.2.3-19.el6                         gettext.x86_64 0:0.17-18.el6                     

  gnutls.x86_64 0:2.8.5-19.el6_7                           gnutls-utils.x86_64 0:2.8.5-19.el6_7              

  hal.x86_64 0:0.5.14-14.el6                               hal-info.noarch 0:20090716-5.el6                 

  hal-libs.x86_64 0:0.5.14-14.el6                          hdparm.x86_64 0:9.43-4.el6                       

  ipmitool.x86_64 0:1.8.15-2.el6                           keyutils.x86_64 0:1.4-5.el6                      

  libevent.x86_64 0:1.4.13-4.el6                           libgomp.x86_64 0:4.4.7-17.el6                    

  libgssglue.x86_64 0:0.1-11.el6                           libibverbs.x86_64 0:1.1.8-4.el6                  

  librdmacm.x86_64 0:1.0.21-0.el6                          libtalloc.x86_64 0:2.1.5-1.el6_7                 

  libtdb.x86_64 0:1.3.8-1.el6_7                            libtevent.x86_64 0:0.9.26-2.el6_7                 

  libtirpc.x86_64 0:0.2.1-11.el6libvirt-client.x86_64 0:0.10.2-60.el6            

  lm_sensors-libs.x86_64 0:3.1.1-17.el6                    modcluster.x86_64 0:0.16.2-35.el6                

  nc.x86_64 0:1.84-24.el6net-snmp-libs.x86_64 1:5.5-57.el6                

  net-snmp-utils.x86_64 1:5.5-57.el6                       nfs-utils.x86_64 1:1.2.3-70.el6                  

  nfs-utils-lib.x86_64 0:1.1.5-11.el6                      numactl.x86_64 0:2.0.9-2.el6                     

  oddjob.x86_64 0:0.30-6.el6                               openais.x86_64 0:1.1.1-7.el6                     

  openaislib.x86_64 0:1.1.1-7.el6                          openssh-clients.x86_64 0:5.3p1-117.el6           

  parted.x86_64 0:2.1-29.el6perl-Net-Telnet.noarch 0:3.03-11.el6             

  pexpect.noarch 0:2.3-6.el6                               pm-utils.x86_64 0:1.2.5-11.el6                    

  polkit.x86_64 0:0.96-11.el6python-argparse.noarch 0:1.2.1-2.1.el6           

  python-suds.noarch 0:0.4.1-3.el6                         quota.x86_64 1:3.17-23.el6                       

  resource-agents.x86_64 0:3.9.5-34.el6                    rpcbind.x86_64 0:0.2.0-12.el6                    

  samba-common.x86_64 0:3.6.23-33.el6                      samba-winbind.x86_64 0:3.6.23-33.el6             

  samba-winbind-clients.x86_64 0:3.6.23-33.el6             sg3_utils.x86_64 0:1.28-12.el6                   

  sg3_utils-libs.x86_64 0:1.28-12.el6                      tcp_wrappers.x86_64 0:7.6-58.el6                 

  telnet.x86_64 1:0.17-48.el6                              yajl.x86_64 0:1.0.7-3.el6                         

 

Complete!

[root@rhcs-node1 ~]#

 

4.6、设置ricci相同密码认证

 

[root@rhcs-node1 ~]# passwd ricci

Changing password for user ricci.

New password:

BAD PASSWORD: it is based on a dictionary word

Retype new password:

passwd: all authentication tokens updated successfully.

[root@rhcs-node1 ~]#

 

4.7、开启服务

 

[root@rhcs-node1 ~]# passwd ricci

Changing password for user ricci.

New password:

BAD PASSWORD: it is based on a dictionary word

Retype new password:

passwd: all authentication tokens updated successfully.

[root@rhcs-node1 ~]# service ricci start

Starting system message bus:                               [  OK  ]

Starting oddjobd:[  OK  ]

generating SSL certificates...  done

Generating NSS database...  done

Starting ricci:[  OK  ]

[root@rhcs-node1 ~]# service rgmanager start

Starting Cluster Service Manager:                          [  OK  ]

[root@rhcs-node1 ~]# service ricci start

Starting ricci:

[root@rhcs-node1 ~]# service cman start

Starting cluster:

   Checking if cluster has been disabled at boot...        [  OK  ]

   Checking Network Manager...                             [  OK  ]

   Global setup...                                         [  OK  ]

   Loading kernel modules...                               [  OK  ]

   Mounting configfs...                                    [  OK  ]

   Starting cman... xmlconfig cannot find /etc/cluster/cluster.conf

[FAILED]

Stopping cluster:

   Leaving fence domain...                                 [  OK  ]

   Stopping gfs_controld...                                [  OK  ]

   Stopping dlm_controld...                                [  OK  ]

   Stopping fenced...                                      [  OK  ]

   Stopping cman...                                        [  OK  ]

   Unloading kernel modules...                             [  OK  ]

   Unmounting configfs...                                  [  OK  ]

[root@rhcs-node1 ~]# chkconfig cman on

[root@rhcs-node1 ~]# chkconfig ricci on

[root@rhcs-node1 ~]# chkconfig rgmanager on

说明:cman服务第一次启动失败,忽略,在配置集群时会自动启动这个服务

 

5、配置集群

说明:本测试以Apache服务为例,所以在node节点需要安装Apache服务(yum install -y httpd)

 

5.1、创建集群

 

RHEL6 部署HA集群-RHCS_GFS_23

 

RHEL6 部署HA集群-RHCS_HA集群_24

 

5.2、集群创建成功

 

RHEL6 部署HA集群-RHCS_HA集群_25

 

5.3、添加失败切换域

 

RHEL6 部署HA集群-RHCS_RHCS_26

 

5.4、添加资源

 

RHEL6 部署HA集群-RHCS_RHCS_27

 

RHEL6 部署HA集群-RHCS_EHEL6_28

 

5.5、添加集群服务

 

RHEL6 部署HA集群-RHCS_GFS_29

 

RHEL6 部署HA集群-RHCS_HA集群_30

 

RHEL6 部署HA集群-RHCS_EHEL6_31

 

5.6、集群服务运行成功

 

RHEL6 部署HA集群-RHCS_RHCS_32

关掉rhcs-node1,自动切换到rhcs-node2

RHEL6 部署HA集群-RHCS_RHCS_33

 

6、共享存储配置

6.1、安装scsi-target-utils,(rhcs-storage上操作)

[root@rhcs-storage ~]# yum install -y scsi-target-utils

Loaded plugins: product-id, search-disabled-repos, subscription-manager

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Setting up Install Process

Bad id for repo: root@rhcs-mgr ~, byte = @ 4

Resolving Dependencies

--> Running transaction check

---> Package scsi-target-utils.x86_64 0:1.0.24-18.el6 will be installed

--> Processing Dependency: libibverbs.so.1(IBVERBS_1.0)(64bit) for package: scsi-target-utils-1.0.24-18.el6.x86_64

--> Processing Dependency: libibverbs.so.1(IBVERBS_1.1)(64bit) for package: scsi-target-utils-1.0.24-18.el6.x86_64

--> Processing Dependency: librdmacm.so.1(RDMACM_1.0)(64bit) for package: scsi-target-utils-1.0.24-18.el6.x86_64

--> Processing Dependency: lsof for package: scsi-target-utils-1.0.24-18.el6.x86_64

--> Processing Dependency: perl(Config::General) for package: scsi-target-utils-1.0.24-18.el6.x86_64

--> Processing Dependency: sg3_utils for package: scsi-target-utils-1.0.24-18.el6.x86_64

--> Processing Dependency: libibverbs.so.1()(64bit) for package: scsi-target-utils-1.0.24-18.el6.x86_64

--> Processing Dependency: librdmacm.so.1()(64bit) for package: scsi-target-utils-1.0.24-18.el6.x86_64

--> Running transaction check

---> Package libibverbs.x86_64 0:1.1.8-4.el6 will be installed

---> Package librdmacm.x86_64 0:1.0.21-0.el6 will be installed

---> Package lsof.x86_64 0:4.82-5.el6 will be installed

---> Package perl-Config-General.noarch 0:2.52-1.el6 will be installed

---> Package sg3_utils.x86_64 0:1.28-12.el6 will be installed

--> Processing Dependency: sg3_utils-libs = 1.28-12.el6 for package: sg3_utils-1.28-12.el6.x86_64

--> Processing Dependency: libsgutils2.so.2()(64bit) for package: sg3_utils-1.28-12.el6.x86_64

--> Running transaction check

---> Package sg3_utils-libs.x86_64 0:1.28-12.el6 will be installed

--> Finished Dependency Resolution

 

Dependencies Resolved

 

==============================================================================================================

 Package                         Arch               Version                     Repository               Size

==============================================================================================================

Installing:

 scsi-target-utils               x86_64             1.0.24-18.el6               rhel-Server             177 k

Installing for dependencies:

 libibverbs                      x86_64             1.1.8-4.el6                 rhel-Server              53 k

 librdmacm                       x86_64             1.0.21-0.el6                rhel-Server              60 k

 lsof                            x86_64             4.82-5.el6                  rhel-Server             324 k

 perl-Config-General             noarch             2.52-1.el6                  rhel-Server              72 k

 sg3_utils                       x86_64             1.28-12.el6                 rhel-Server             498 k

 sg3_utils-libs                  x86_64             1.28-12.el6                 rhel-Server              54 k

 

Transaction Summary

==============================================================================================================

Install       7 Package(s)

 

Total download size: 1.2 M

Installed size: 3.1 M

Downloading Packages:

--------------------------------------------------------------------------------------------------------------

Total22 MB/s | 1.2 MB     00:00    

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

  Installing : libibverbs-1.1.8-4.el6.x86_641/7

  Installing : librdmacm-1.0.21-0.el6.x86_642/7

  Installing : sg3_utils-libs-1.28-12.el6.x86_643/7

  Installing : sg3_utils-1.28-12.el6.x86_644/7

  Installing : lsof-4.82-5.el6.x86_64                                                                     5/7

  Installing : perl-Config-General-2.52-1.el6.noarch6/7

  Installing : scsi-target-utils-1.0.24-18.el6.x86_64    7/7

  Verifying  : perl-Config-General-2.52-1.el6.noarch1/7

  Verifying  : libibverbs-1.1.8-4.el6.x86_642/7

  Verifying  : lsof-4.82-5.el6.x86_643/7

  Verifying  : sg3_utils-1.28-12.el6.x86_644/7

  Verifying  : sg3_utils-libs-1.28-12.el6.x86_64                                                          5/7

  Verifying  : scsi-target-utils-1.0.24-18.el6.x86_646/7

  Verifying  : librdmacm-1.0.21-0.el6.x86_64             7/7

 

Installed:

  scsi-target-utils.x86_64 0:1.0.24-18.el6

 

Dependency Installed:

  libibverbs.x86_64 0:1.1.8-4.el6         librdmacm.x86_64 0:1.0.21-0.el6 lsof.x86_64 0:4.82-5.el6          

  perl-Config-General.noarch 0:2.52-1.el6 sg3_utils.x86_64 0:1.28-12.el6sg3_utils-libs.x86_64 0:1.28-12.el6

 

Complete!

[root@rhcs-storage ~]#

 

6.2、配置iscsi存储

 

[root@rhcs-storage ~]# cat /etc/tgt/targets.conf |grep -v '#'|grep -v '^$'

default-driver iscsi

<target iqn.2016-11.com.example.cluster:rhcs-storage.target1>

    write-cache off

    vendor_id VMware Inc.

    initiator-address 172.16.30.12

    initiator-address 172.16.30.13

</target>

 

6.3、启动服务

 

[root@rhcs-storage ~]# service tgtd start

Starting SCSI target daemon:                               [  OK  ]

[root@rhcs-storage ~]# chkconfig tgtd on

[root@rhcs-storage ~]# tgt-admin --show

Target 1: iqn.2016-11.com.example.cluster:rhcs-storage.target1

    System information:

        Driver: iscsi

        State: ready

    I_T nexus information:

    LUN information:

        LUN: 0

            Type: controller

            SCSI ID: IET     00010000

            SCSI SN: beaf10

            Size: 0 MB, Block size: 1

            Online: Yes

            Removable media: No

            Prevent removal: No

            Readonly: No

            Backing store type: null

            Backing store path: None

            Backing store flags:

        LUN: 1

            Type: disk

            SCSI ID: IET     00010001

            SCSI SN: beaf11

            Size: 10737 MB, Block size: 512

            Online: Yes

            Removable media: No

            Prevent removal: No

            Readonly: No

            Backing store type: rdwr

            Backing store path: /dev/sdb

            Backing store flags:

    Account information:

    ACL information:

        172.16.30.12

        172.16.30.13

[root@rhcs-storage ~]#

 

6.4、集群节点发现,连接存储,(rhcs-node1,rhcs-node2上配置)

 

[root@rhcs-node1 ~]# yum install -y iscsi-initiator-utils

Loaded plugins: product-id, search-disabled-repos, subscription-manager

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Setting up Install Process

Bad id for repo: root@rhcs-mgr ~, byte = @ 4

rhel-HighAvailability| 4.1 kB     00:00 ...

rhel-LoadBalancer| 4.1 kB     00:00 ...

rhel-ResilientStorage| 4.1 kB     00:00 ...

rhel-ScalableFileSystem| 4.1 kB     00:00 ...

rhel-Server                                                                            | 4.1 kB     00:00 ...

rhel-dvd| 4.1 kB     00:00 ...

Resolving Dependencies

--> Running transaction check

---> Package iscsi-initiator-utils.x86_64 0:6.2.0.873-21.el6 will be installed

--> Finished Dependency Resolution

 

Dependencies Resolved

 

==============================================================================================================

 Package                          Arch              Version                      Repository              Size

==============================================================================================================

Installing:

 iscsi-initiator-utils            x86_64            6.2.0.873-21.el6             rhel-Server            730 k

 

Transaction Summary

==============================================================================================================

Install       1 Package(s)

 

Total download size: 730 k

Installed size: 2.5 M

Downloading Packages:

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

  Installing : iscsi-initiator-utils-6.2.0.873-21.el6.x86_641/1

  Verifying  : iscsi-initiator-utils-6.2.0.873-21.el6.x86_641/1

 

Installed:

  iscsi-initiator-utils.x86_64 0:6.2.0.873-21.el6

 

Complete!

[root@rhcs-node1 ~]#

 

[root@rhcs-node1 ~]# iscsiadm -m discovery -t sendtargets -p 172.16.30.14

Starting iscsid:[  OK  ]

172.16.30.14:3260,1 iqn.2016-11.com.example.cluster:rhcs-storage.target1

[root@rhcs-node1 ~]#

 

[root@rhcs-node1 ~]# iscsiadm -m node -T iqn.2016-11.com.example.cluster:rhcs-storage.target1 -p 172.16.30.14 -l

Logging in to [iface: default, target: iqn.2016-11.com.example.cluster:rhcs-storage.target1, portal: 172.16.30.14,3260] (multiple)

Login to [iface: default, target: iqn.2016-11.com.example.cluster:rhcs-storage.target1, portal: 172.16.30.14,3260] successful.

[root@rhcs-node1 ~]#

 

[root@rhcs-node1 ~]# fdisk -l

 

Disk /dev/sda: 21.5 GB, 21474836480 bytes

255 heads, 63 sectors/track, 2610 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00011950

 

   Device Boot      Start         End      BlocksId  System

/dev/sda1   *           1          26   204800   83Linux

Partition 1 does not end on cylinder boundary.

/dev/sda2              26        261120765696   8e  Linux LVM

 

Disk /dev/mapper/vg_rhcsnode1-root: 10.7 GB, 10737418240 bytes

255 heads, 63 sectors/track, 1305 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000

 

 

Disk /dev/mapper/vg_rhcsnode1-swap: 1073 MB, 1073741824 bytes

255 heads, 63 sectors/track, 130 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000

 

 

Disk /dev/sdb: 10.7 GB, 10737418240 bytes

64 heads, 32 sectors/track, 10240 cylinders

Units = cylinders of 2048 * 512 = 1048576 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000

 

[root@rhcs-node1 ~]#

 

6.5、分区,格式化共享存储,(单个集群节点操作即可)

[root@rhcs-node1 ~]# fdisk /dev/sdb

Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel

Building a new DOS disklabel with disk identifier 0xce91d3ec.

Changes will remain in memory only, until you decide to write them.

After that, of course, the previous content won't be recoverable.

 

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

 

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to

         switch off the mode (command 'c') and change display units to

         sectors (command 'u').

 

Command (m for help): p

 

Disk /dev/sdb: 10.7 GB, 10737418240 bytes

64 heads, 32 sectors/track, 10240 cylinders

Units = cylinders of 2048 * 512 = 1048576 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0xce91d3ec

 

   Device Boot      Start         End      BlocksId  System

 

Command (m for help): n

Command action

   e   extended

   p   primary partition (1-4)

p

Partition number (1-4): 1

First cylinder (1-10240, default 1):

Using default value 1

Last cylinder, +cylinders or +size{K,M,G} (1-10240, default 10240):

Using default value 10240

 

Command (m for help): p

 

Disk /dev/sdb: 10.7 GB, 10737418240 bytes

64 heads, 32 sectors/track, 10240 cylinders

Units = cylinders of 2048 * 512 = 1048576 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0xce91d3ec

 

   Device Boot      Start         End      BlocksId  System

/dev/sdb1               1       1024010485744   83  Linux

 

Command (m for help): w

The partition table has been altered!

 

Calling ioctl() to re-read partition table.

Syncing disks.

[root@rhcs-node1 ~]# partx /dev/sdb

# 1:        32- 20971519 ( 20971488 sectors,  10737 MB)

# 2:         0-       -1 (        0 sectors,      0 MB)

# 3:         0-       -1 (        0 sectors,      0 MB)

# 4:         0-       -1 (        0 sectors,      0 MB)

[root@rhcs-node1 ~]# partx -a /dev/sdb (两个节点都操作一下)

BLKPG: Device or resource busy

error adding partition 1

[root@rhcs-node1 ~]#

 

[root@rhcs-node2 ~]# yum install -y gfs2-utils

Loaded plugins: product-id, search-disabled-repos, subscription-manager

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Setting up Install Process

Bad id for repo: root@rhcs-mgr ~, byte = @ 4

Resolving Dependencies

--> Running transaction check

---> Package gfs2-utils.x86_64 0:3.0.12.1-78.el6 will be installed

--> Finished Dependency Resolution

 

Dependencies Resolved

 

==============================================================================================================

 Package               Arch              Version                       Repository                        Size

==============================================================================================================

Installing:

 gfs2-utils            x86_64            3.0.12.1-78.el6               rhel-ResilientStorage            328 k

 

Transaction Summary

==============================================================================================================

Install       1 Package(s)

 

Total download size: 328 k

Installed size: 882 k

Downloading Packages:

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

  Installing : gfs2-utils-3.0.12.1-78.el6.x86_64        1/1

  Verifying  : gfs2-utils-3.0.12.1-78.el6.x86_641/1

 

Installed:

  gfs2-utils.x86_64 0:3.0.12.1-78.el6

 

Complete!

 

[root@rhcs-node2 ~]# mkfs.gfs2 -t Apache-Cluster:webgfs2 -p lock_dlm -j 2 -J 32 /dev/sdb1

This will destroy any data on /dev/sdb1.

It appears to contain: Linux

 

Are you sure you want to proceed? [y/n] y

 

Device:/dev/sdb1

Blocksize:                 4096

Device Size                10.00 GB (2621436 blocks)

Filesystem Size:           10.00 GB (2621434 blocks)

Journals:                  2

Resource Groups:           40

Locking Protocol:"lock_dlm"

Lock Table:"Apache-Cluster:webgfs2"

UUID:6a6c1471-ec41-7432-5239-5be4f6dcb490

 

6.6、添加GFS2共享存储资源

 

RHEL6 部署HA集群-RHCS_EHEL6_34

 

 

6.7、重新添加集群服务资源

 

RHEL6 部署HA集群-RHCS_RHCS_35

 

RHEL6 部署HA集群-RHCS_EHEL6_36

 

RHEL6 部署HA集群-RHCS_RHCS_37

 

RHEL6 部署HA集群-RHCS_RHCS_38

集群服务当前运行在rhcs1上,查看系统挂载状况

RHEL6 部署HA集群-RHCS_HA集群_39

关闭rhcs1,测试

RHEL6 部署HA集群-RHCS_EHEL6_40

 

 

Done!

测试完毕!

 

【本文由:阿里云代理 http://www.56aliyun.com 复制请保留原URL】
上一篇:如何快速定位程序Core?
下一篇:没有了
网友评论