安裝HA服務
************************************************************************************************************************
* 關閉防火墻等服務 *
************************************************************************************************************************
先做這幾個準備工作
關閉NetworkManager服務(因為會和network相衝突)
[root@rhcs1 ~]# service NetworkManager stop
[root@rhcs1 ~]# chkconfig NetworkManager off
[root@rhcs1 ~]# chkconfig NetworkManager --list
NetworkManager 0:off 1:off 2:off 3:off 4:off 5:off 6:off
關閉iptables服務
[root@rhcs1 ~]# service iptables stop
[root@rhcs1 ~]# chkconfig iptables off
[root@rhcs1 ~]# chkconfig iptables --list
iptables 0:off 1:off 2:off 3:off 4:off 5:off 6:off
關閉ip6tables
[root@rhcs1 ~]# service ip6tables stop
ip6tables: Setting chains to policy ACCEPT: filter [ OK ]
ip6tables: Flushing firewall rules: [ OK ]
ip6tables: Unloading modules: [ OK ]
[root@rhcs1 ~]# service ip6tables status
ip6tables: Firewall is not running.
[root@rhcs1 ~]# chkconfig ip6tables off
[root@rhcs1 ~]# chkconfig ip6tables --list
ip6tables 0:off 1:off 2:off 3:off 4:off 5:off 6:off
修改SElinux配置文件SELINUX=disable
[root@rhcs1 ~]# 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 - No SELinux policy is loaded.
SELINUX=disable
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
************************************************************************************************************************
* 網卡設置 *
************************************************************************************************************************
[root@rhcs1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
BOOTPROTO=none
IPADDR=xx.xx.xx.xx
NETMASK=255.255.255.0
GATEWAY=xx.xx.xx.xx
TYPE=Ethernet
PEERDNS=yes
ONBOOT=yes
USERCTL=no
[root@rhcs1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=00:26:55:E3:7C:A0
TYPE=Ethernet
UUID=fe357b75-9e22-436f-b3a3-3a59f51e0973
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
PEERDNS=yes
IPV6INIT=no
[root@rhcs1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth2
DEVICE=eth2
HWADDR=00:26:55:E3:81:8A
TYPE=Ethernet
UUID=d47d8c70-2a5e-4ab4-9630-4ddc63e2fb68
ONBOOT=no
NM_CONTROLLED=yes
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
PEERDNS=yes
IPV6INIT=no
查看當前啟動的網卡
[root@rhcs1 ~]# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)
Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: eth0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:26:55:e3:7c:a0
Slave queue ID: 0
Slave Interface: eth2
MII Status: down
Speed: Unknown
Duplex: Unknown
Link Failure Count: 0
Permanent HW addr: 00:26:55:e3:81:8a
Slave queue ID: 0
這裡因為我的Eth2沒有插網線。注意速度是1000MB
編輯/etc/modprobe.d/dist.conf添加最後一行
[root@rhcs1 ~]# tail /etc/modprobe.d/dist.conf
alias rpc_svc_gss_pipefs sunrpc
install eth1394 /bin/true
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && /sbin/modprobe snd-emu10k1-synth
alias gre0 ip_gre
alias char-major-89-* i2c-dev
alias bond0 bonding
options bond0 mode=1 miimon=100
編輯/etc/rc.local添加最後一行。如果有多個綁定都要添加上。
[root@rhcs1 ~]# tail /etc/rc.local
tail: inotify cannot be used, reverting to polling
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
ifenslave bond0 eth0 eth2
************************************************************************************************************************
* 多路徑設置 *
************************************************************************************************************************
在/etc/目錄下生產
兩種方法
[root@rhcs1 ~]# mpathconf --enable --with_multipathd y --with_chkconfig y
或者
[root@rhcs1 ~]# cp /usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf /etc/
開啟multipathd服務
[root@rhcs1 ~]# /etc/init.d/multipathd start
查看/etc/multipath/bindings
[root@rhcs2 /]# cat /etc/multipath/bindings
# Multipath bindings, Version : 1.0
# NOTE: this file is automatically maintained by the multipath program.
# You should not need to edit this file in normal circumstances.
#
# Format:
# alias wwid
#
mpatha 3600508b1001cbdc06b7dd1d397102a9a
mpathb 3600508b400074b920000d00001a00000
mpathc 3600508b400074b920000d00001980000
mpathd 3600508b400074b920000d000019d0000
mpathe 3600508b400074b920000d00001a90000
mpathf 3600508b400074b920000d00001a30000
mpathg 3600508b400074b920000d00001a60000
不知道為什麼,我這裡只有一個節點能識別出來。
編輯[root@rhcs1 ~]# cat /etc/multipath.conf
multipaths {
multipath {
wwid 3600508b400074b920000d00001a00000
alias RHCS1_ARCH
path_grouping_policy group_by_prio
path_selector "round-robin 0"
failback immediate
rr_weight uniform
no_path_retry 18
}
multipath {
wwid 3600508b400074b920000d00001980000
alias RHCS1_D00
path_grouping_policy group_by_prio
path_selector "round-robin 0"
failback immediate
rr_weight uniform
no_path_retry 18
}
multipath {
wwid 3600508b400074b920000d000019d0000
alias RHCS1_D01
path_grouping_policy group_by_prio
path_selector "round-robin 0"
failback immediate
rr_weight uniform
no_path_retry 18
}
multipath {
wwid 3600508b400074b920000d00001a90000
alias RHCS2_ARCH
path_grouping_policy group_by_prio
path_selector "round-robin 0"
failback immediate
rr_weight uniform
no_path_retry 18
}
multipath {
wwid 3600508b400074b920000d00001a30000
alias RHCS2_D00
path_grouping_policy group_by_prio
path_selector "round-robin 0"
failback immediate
rr_weight uniform
no_path_retry 18
}
multipath {
wwid 3600508b400074b920000d00001a60000
alias RHCS2_D01
path_grouping_policy group_by_prio
path_selector "round-robin 0"
failback immediate
rr_weight uniform
no_path_retry 18
}
}
************************************************************************************************************************
* 做LVM磁盤 *
************************************************************************************************************************
[root@rhcs1 mapper]# pvcreate -h --查看pvcreate幫助信息
pvcreate: Initialize physical volume(s) for use by LVM
pvcreate
[--norestorefile]
[--restorefile file]
[-d|--debug]
[-f[f]|--force [--force]]
[-h|-?|--help]
[--labelsector sector]
[-M|--metadatatype 1|2]
[--pvmetadatacopies #copies]
[--bootloaderareasize BootLoaderAreaSize[bBsSkKmMgGtTpPeE]]
[--metadatasize MetadataSize[bBsSkKmMgGtTpPeE]]
[--dataalignment Alignment[bBsSkKmMgGtTpPeE]]
[--dataalignmentoffset AlignmentOffset[bBsSkKmMgGtTpPeE]]
[--setphysicalvolumesize PhysicalVolumeSize[bBsSkKmMgGtTpPeE]
[-t|--test]
[-u|--uuid uuid]
[-v|--verbose]
[-y|--yes]
[-Z|--zero {y|n}]
[--version]
PhysicalVolume [PhysicalVolume...]
[root@rhcs1 mapper]# ls --查看映射過來的盤
control RHCS1_D01 RHCS2_D01 VolGroup00-LogVol02 VolGroup00-LogVol05
RHCS1_ARCH RHCS2_ARCH VolGroup00-LogVol00 VolGroup00-LogVol03
RHCS1_D00 RHCS2_D00 VolGroup00-LogVol01 VolGroup00-LogVol04
[root@rhcs1 mapper]# pvcreate RHCS1_ARCH RHCS1_D00 RHCS1_D01 RHCS2_ARCH RHCS2_D00 RHCS2_D01 --直接一次性創建PV
Physical volume "RHCS1_ARCH" successfully created
Physical volume "RHCS1_D00" successfully created
Physical volume "RHCS1_D01" successfully created
Physical volume "RHCS2_ARCH" successfully created
Physical volume "RHCS2_D00" successfully created
Physical volume "RHCS2_D01" successfully created
[root@rhcs1 mapper]# pvscan --查看PV
PV /dev/sda3 VG VolGroup00 lvm2 [128.50 GiB / 0 free]
PV RHCS1_D00 lvm2 [20.00 GiB]
PV RHCS2_D01 lvm2 [20.00 GiB]
PV RHCS1_ARCH lvm2 [10.00 GiB]
PV RHCS1_D01 lvm2 [20.00 GiB]
PV RHCS2_D00 lvm2 [20.00 GiB]
PV RHCS2_ARCH lvm2 [10.00 GiB]
Total: 7 [228.50 GiB] / in use: 1 [128.50 GiB] / in no VG: 6 [100.00 GiB]
PV創建好了就創建VG,使用vgcreate
[root@rhcs1 mapper]# vgcreate -h
vgcreate: Create a volume group
vgcreate
[-s|--physicalextentsize PhysicalExtentSize[bBsSkKmMgGtTpPeE]]
[ PHYSICAL DEVICE OPTIONS ]
VolumeGroupName PhysicalDevicePath [PhysicalDevicePath...]
[root@rhcs1 mapper]# vgcreate -s 64M /dev/VG_RHCS1 RHCS1_ARCH RHCS1_D00 RHCS1_D01
Volume group "VG_RHCS1" successfully created
[root@rhcs1 mapper]# vgcreate -s 64M /dev/VG_RHCS2 RHCS2_ARCH RHCS2_D00 RHCS2_D01
Volume group "VG_RHCS2" successfully created
[root@rhcs1 mapper]# vgscan
Reading all physical volumes. This may take a while...
Found volume group "VolGroup00" using metadata type lvm2
Found volume group "VG_RHCS2" using metadata type lvm2
Found volume group "VG_RHCS1" using metadata type lvm2
[root@rhcs1 mapper]# vgscan
Reading all physical volumes. This may take a while...
Found volume group "VolGroup00" using metadata type lvm2
Found volume group "VG_RHCS2" using metadata type lvm2
Found volume group "VG_RHCS1" using metadata type lvm2
[root@rhcs1 mapper]# vgdisplay
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 7
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 6
Open LV 6
Max PV 0
Cur PV 1
Act PV 1
VG Size 128.50 GiB
PE Size 4.00 MiB
Total PE 32896
Alloc PE / Size 32896 / 128.50 GiB
Free PE / Size 0 / 0
VG UUID blIeqK-9q98-CN7k-rEBO-L18b-F2aT-MOGsZJ
--- Volume group ---
VG Name VG_RHCS2
System ID
Format lvm2
Metadata Areas 3
Metadata Sequence No 1
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 0
Open LV 0
Max PV 0
Cur PV 3
Act PV 3
VG Size 49.81 GiB
PE Size 64.00 MiB
Total PE 797
Alloc PE / Size 0 / 0
Free PE / Size 797 / 49.81 GiB
VG UUID na4XLL-fOX9-Nb3h-PlXK-k5lx-Ks5L-5d2xOQ
--- Volume group ---
VG Name VG_RHCS1
System ID
Format lvm2
Metadata Areas 3
Metadata Sequence No 1
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 0
Open LV 0
Max PV 0
Cur PV 3
Act PV 3
VG Size 49.81 GiB
PE Size 64.00 MiB
Total PE 797
Alloc PE / Size 0 / 0
Free PE / Size 797 / 49.81 GiB
VG UUID 1ovxWN-1tlY-7xWB-2vaG-Zd2P-ld0d-X0GPHR
這裡可以看到我們創建的VG詳細情況。可以看出我們50G的磁盤創建的VG會略小於50G。
VG Size=PE Size*Total PE
[root@rhcs1 mapper]# lvcreate -h
lvcreate: Create a logical volume
lvcreate
{-l|--extents LogicalExtentsNumber[%{VG|PVS|FREE}] |
-L|--size LogicalVolumeSize[bBsSkKmMgGtTpPeE]}
[-n|--name LogicalVolumeName]
VolumeGroupName [PhysicalVolumePath...]
這裡我們用-L參數直接指定創建的lv大小。
[root@rhcs1 dev]# lvcreate -L 10G -n /dev/VG_RHCS1/LV_RHCS1_ARCH /dev/VG_RHCS1
Logical volume "LV_RHCS1_ARCH" created
[root@rhcs1 dev]# lvcreate -L 20G -n /dev/VG_RHCS1/LV_RHCS1_D00 /dev/VG_RHCS1
Logical volume "LV_RHCS1_D00" created
由於我們的VG略小於50G。所以最後一塊LV不能直接用-L參數了。先去查看剩餘的PE數量。然後用-l指定。
這裡用vgdiplay查看后剩餘的PE是317個。
Free PE / Size 317 / 19.81 GiB
so:
[root@rhcs1 dev]# lvcreate -l 317 -n /dev/VG_RHCS1/LV_RHCS1_D01 /dev/VG_RHCS1
Logical volume "LV_RHCS1_D01" created
同理另一個VG創建lv
[root@rhcs1 dev]# lvcreate -L 10G -n /dev/VG_RHCS2/LV_RHCS2_ARCH /dev/VG_RHCS2
Logical volume "LV_RHCS2_ARCH" created
[root@rhcs1 dev]# lvcreate -L 20G -n /dev/VG_RHCS2/LV_RHCS2_D00 /dev/VG_RHCS2
Logical volume "LV_RHCS2_D00" created
[root@rhcs1 dev]# lvcreate -l 317 -n /dev/VG_RHCS2/LV_RHCS2_D01 /dev/VG_RHCS2
Logical volume "LV_RHCS2_D01" created
查看創建的lv.我在節點1創建的。所以顯示在節點1都是active。節點2 是inactive
[root@rhcs1 dev]# lvscan
ACTIVE '/dev/VolGroup00/LogVol05' [66.50 GiB] inherit
ACTIVE '/dev/VolGroup00/LogVol04' [30.00 GiB] inherit
ACTIVE '/dev/VolGroup00/LogVol01' [8.00 GiB] inherit
ACTIVE '/dev/VolGroup00/LogVol00' [4.00 GiB] inherit
ACTIVE '/dev/VolGroup00/LogVol03' [8.00 GiB] inherit
ACTIVE '/dev/VolGroup00/LogVol02' [12.00 GiB] inherit
ACTIVE '/dev/VG_RHCS2/LV_RHCS2_ARCH' [10.00 GiB] inherit
ACTIVE '/dev/VG_RHCS2/LV_RHCS2_D00' [20.00 GiB] inherit
ACTIVE '/dev/VG_RHCS2/LV_RHCS2_D01' [19.81 GiB] inherit
ACTIVE '/dev/VG_RHCS1/LV_RHCS1_ARCH' [10.00 GiB] inherit
ACTIVE '/dev/VG_RHCS1/LV_RHCS1_D00' [20.00 GiB] inherit
ACTIVE '/dev/VG_RHCS1/LV_RHCS1_D01' [19.81 GiB] inherit
[root@rhcs2 ~]# lvscan
inactive '/dev/VG_RHCS2/LV_RHCS2_ARCH' [10.00 GiB] inherit
inactive '/dev/VG_RHCS2/LV_RHCS2_D00' [20.00 GiB] inherit
inactive '/dev/VG_RHCS2/LV_RHCS2_D01' [19.81 GiB] inherit
ACTIVE '/dev/VolGroup00/LogVol05' [66.50 GiB] inherit
ACTIVE '/dev/VolGroup00/LogVol04' [30.00 GiB] inherit
ACTIVE '/dev/VolGroup00/LogVol01' [8.00 GiB] inherit
ACTIVE '/dev/VolGroup00/LogVol00' [4.00 GiB] inherit
ACTIVE '/dev/VolGroup00/LogVol03' [8.00 GiB] inherit
ACTIVE '/dev/VolGroup00/LogVol02' [12.00 GiB] inherit
inactive '/dev/VG_RHCS1/LV_RHCS1_ARCH' [10.00 GiB] inherit
inactive '/dev/VG_RHCS1/LV_RHCS1_D00' [20.00 GiB] inherit
inactive '/dev/VG_RHCS1/LV_RHCS1_D01' [19.81 GiB] inherit
把lv格式化成ext4文件系統
[root@rhcs1 dev]# mkfs.ext4 /dev/VG_RHCS2/LV_RHCS2_ARCH
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
655360 inodes, 2621440 blocks
131072 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=2684354560
80 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 38 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
其它5塊同上。
節點1
[root@rhcs1 dev]# vim /etc/lvm/lvm.conf
volume_list = [ "VG_RHCS1", "@rhcs1" ]
節點2
[root@rhcs2 dev]# vim /etc/lvm/lvm.conf
volume_list = [ "VG_RHCS2", "@rhcs2" ]
[root@rhcs1 dev]# dracut -H -f /boot/initramfs-$(uname -r).img $(uname -r)
[root@rhcs2 dev]# dracut -H -f /boot/initramfs-$(uname -r).img $(uname -r)
************************************************************************************************************************
* HA服務設置 *
************************************************************************************************************************
確認盤掛在OK
[root@rhcs1 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol05 66G 431M 62G 1% /
tmpfs 12G 144K 12G 1% /dev/shm
/dev/sda1 194M 38M 147M 21% /boot
/dev/mapper/VolGroup00-LogVol00 4.0G 136M 3.7G 4% /home
/dev/mapper/VolGroup00-LogVol01 7.9G 147M 7.4G 2% /tmp
/dev/mapper/VolGroup00-LogVol02 12G 4.7G 6.6G 42% /usr
/dev/mapper/VolGroup00-LogVol03 7.9G 311M 7.2G 5% /var
/dev/mapper/VolGroup00-LogVol04 30G 172M 28G 1% /worktmp
/dev/sr0 3.6G 3.6G 0 100% /media/20150420_111151
************************************************************************************************************************
備份/etc/yum.repos.d/rhel-source.repo
[root@rhcs1 yum.repos.d]# cp /etc/yum.repos.d/rhel-source.repo /etc/yum.repos.d/rhel-source.repo.bak
編輯/etc/yum.repos.d/rhel-source.repo
[root@rhcs1 yum.repos.d]# cat /etc/yum.repos.d/rhel-source.repo
[rhel-source]
name=Red Hat Enterprise Linux $releasever - $basearch - Source
baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[rhel-source-beta]
name=Red Hat Enterprise Linux $releasever Beta - $basearch - Source
baseurl=ftp://ftp.redhat.com/pub/redhat/linux/beta/$releasever/en/os/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
#主要增加下面這段
[Server]
name=Server
baseurl=file:///media/20150420_111151/Server
enabled=1
gpgcheck=0
[HighAvailability]
name=HighAvailability
baseurl=file:///media/20150420_111151/HighAvailability
enabled=1
gpgcheck=0
[LoadBalancer]
name=LoadBalancer
baseurl=file:///media/20150420_111151/LoadBalancer
enabled=1
gpgcheck=0
[ScalableFileSystem]
name=ScalableFileSystem
baseurl=file:///media/20150420_111151/ScalableFileSystem
enabled=1
gpgcheck=0
[ResilientStorage]
name=ResilientStorage
baseurl=file:///media/20150420_111151/ResilientStorage
enabled=1
gpgcheck=0
************************************************************************************************************************
安裝cluster-glue resource-agents pacemaker
[root@rhcs1 yum.repos.d]# yum install cluster-glue resource-agents pacemaker
Loaded plugins: product-id, refresh-packagekit, security, 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 cluster-glue.x86_64 0:1.0.5-6.el6 will be installed
--> Processing Dependency: cluster-glue-libs = 1.0.5-6.el6 for package: cluster-glue-1.0.5-6.el6.x86_64
--> Processing Dependency: libplumb.so.2()(64bit) for package: cluster-glue-1.0.5-6.el6.x86_64
--> Processing Dependency: libpils.so.2()(64bit) for package: cluster-glue-1.0.5-6.el6.x86_64
--> Processing Dependency: liblrm.so.2()(64bit) for package: cluster-glue-1.0.5-6.el6.x86_64
---> Package pacemaker.x86_64 0:1.1.10-14.el6 will be installed
--> Processing Dependency: pacemaker-libs = 1.1.10-14.el6 for package: pacemaker-1.1.10-14.el6.x86_64
--> Processing Dependency: pacemaker-cluster-libs = 1.1.10-14.el6 for package: pacemaker-1.1.10-14.el6.x86_64
--> Processing Dependency: pacemaker-cli = 1.1.10-14.el6 for package: pacemaker-1.1.10-14.el6.x86_64
--> Processing Dependency: libqb > 0.11.0 for package: pacemaker-1.1.10-14.el6.x86_64
--> Processing Dependency: libconfdb.so.4(COROSYNC_CONFDB_1.0)(64bit) for package: pacemaker-1.1.10-14.el6.x86_64
--> Processing Dependency: libcfg.so.4(COROSYNC_CFG_0.82)(64bit) for package: pacemaker-1.1.10-14.el6.x86_64
--> Processing Dependency: corosync for package: pacemaker-1.1.10-14.el6.x86_64
--> Processing Dependency: libtransitioner.so.2()(64bit) for package: pacemaker-1.1.10-14.el6.x86_64
--> Processing Dependency: libstonithd.so.2()(64bit) for package: pacemaker-1.1.10-14.el6.x86_64
--> Processing Dependency: libqb.so.0()(64bit) for package: pacemaker-1.1.10-14.el6.x86_64
--> Processing Dependency: libpengine.so.4()(64bit) for package: pacemaker-1.1.10-14.el6.x86_64
--> Processing Dependency: libpe_status.so.4()(64bit) for package: pacemaker-1.1.10-14.el6.x86_64
--> Processing Dependency: libpe_rules.so.2()(64bit) for package: pacemaker-1.1.10-14.el6.x86_64
--> Processing Dependency: liblrmd.so.1()(64bit) for package: pacemaker-1.1.10-14.el6.x86_64
--> Processing Dependency: libfenced.so.3()(64bit) for package: pacemaker-1.1.10-14.el6.x86_64
--> Processing Dependency: libcrmservice.so.1()(64bit) for package: pacemaker-1.1.10-14.el6.x86_64
--> Processing Dependency: libcrmcommon.so.3()(64bit) for package: pacemaker-1.1.10-14.el6.x86_64
--> Processing Dependency: libcrmcluster.so.4()(64bit) for package: pacemaker-1.1.10-14.el6.x86_64
--> Processing Dependency: libcpg.so.4()(64bit) for package: pacemaker-1.1.10-14.el6.x86_64
--> Processing Dependency: libcoroipcc.so.4()(64bit) for package: pacemaker-1.1.10-14.el6.x86_64
--> Processing Dependency: libconfdb.so.4()(64bit) for package: pacemaker-1.1.10-14.el6.x86_64
--> Processing Dependency: libcman.so.3()(64bit) for package: pacemaker-1.1.10-14.el6.x86_64
--> Processing Dependency: libcib.so.3()(64bit) for package: pacemaker-1.1.10-14.el6.x86_64
--> Processing Dependency: libcfg.so.4()(64bit) for package: pacemaker-1.1.10-14.el6.x86_64
---> Package resource-agents.x86_64 0:3.9.2-40.el6 will be installed
--> Running transaction check
---> Package cluster-glue-libs.x86_64 0:1.0.5-6.el6 will be installed
---> Package clusterlib.x86_64 0:3.0.12.1-59.el6 will be installed
---> Package corosync.x86_64 0:1.4.1-17.el6 will be installed
---> Package corosynclib.x86_64 0:1.4.1-17.el6 will be installed
---> Package libqb.x86_64 0:0.16.0-2.el6 will be installed
---> Package pacemaker-cli.x86_64 0:1.1.10-14.el6 will be installed
---> Package pacemaker-cluster-libs.x86_64 0:1.1.10-14.el6 will be installed
---> Package pacemaker-libs.x86_64 0:1.1.10-14.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===========================================================================================
Package Arch Version Repository Size
===========================================================================================
Installing:
cluster-glue x86_64 1.0.5-6.el6 HighAvailability 71 k
pacemaker x86_64 1.1.10-14.el6 HighAvailability 424 k
resource-agents x86_64 3.9.2-40.el6 HighAvailability 342 k
Installing for dependencies:
cluster-glue-libs x86_64 1.0.5-6.el6 HighAvailability 116 k
clusterlib x86_64 3.0.12.1-59.el6 HighAvailability 103 k
corosync x86_64 1.4.1-17.el6 HighAvailability 208 k
corosynclib x86_64 1.4.1-17.el6 HighAvailability 187 k
libqb x86_64 0.16.0-2.el6 HighAvailability 70 k
pacemaker-cli x86_64 1.1.10-14.el6 HighAvailability 186 k
pacemaker-cluster-libs x86_64 1.1.10-14.el6 HighAvailability 73 k
pacemaker-libs x86_64 1.1.10-14.el6 HighAvailability 418 k
Transaction Summary
===========================================================================================
Install 11 Package(s)
Total download size: 2.1 M
Installed size: 5.8 M
Is this ok [y/N]: y
Downloading Packages:
-------------------------------------------------------------------------------------------
Total 471 kB/s | 2.1 MB 00:04
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libqb-0.16.0-2.el6.x86_64 1/11
Installing : pacemaker-libs-1.1.10-14.el6.x86_64 2/11
Installing : corosynclib-1.4.1-17.el6.x86_64 3/11
Installing : corosync-1.4.1-17.el6.x86_64 4/11
Installing : clusterlib-3.0.12.1-59.el6.x86_64 5/11
Installing : pacemaker-cli-1.1.10-14.el6.x86_64 6/11
Installing : pacemaker-cluster-libs-1.1.10-14.el6.x86_64 7/11
Installing : resource-agents-3.9.2-40.el6.x86_64 8/11
Installing : cluster-glue-libs-1.0.5-6.el6.x86_64 9/11
Installing : cluster-glue-1.0.5-6.el6.x86_64 10/11
Installing : pacemaker-1.1.10-14.el6.x86_64 11/11
HighAvailability/productid | 1.7 kB 00:00 ...
LoadBalancer/productid | 1.7 kB 00:00 ...
ResilientStorage/productid | 1.7 kB 00:00 ...
ScalableFileSystem/productid | 1.8 kB 00:00 ...
Server/productid | 1.7 kB 00:00 ...
Verifying : cluster-glue-libs-1.0.5-6.el6.x86_64 1/11
Verifying : pacemaker-libs-1.1.10-14.el6.x86_64 2/11
Verifying : clusterlib-3.0.12.1-59.el6.x86_64 3/11
Verifying : pacemaker-cli-1.1.10-14.el6.x86_64 4/11
Verifying : pacemaker-cluster-libs-1.1.10-14.el6.x86_64 5/11
Verifying : pacemaker-1.1.10-14.el6.x86_64 6/11
Verifying : corosync-1.4.1-17.el6.x86_64 7/11
Verifying : cluster-glue-1.0.5-6.el6.x86_64 8/11
Verifying : corosynclib-1.4.1-17.el6.x86_64 9/11
Verifying : libqb-0.16.0-2.el6.x86_64 10/11
Verifying : resource-agents-3.9.2-40.el6.x86_64 11/11
Installed:
cluster-glue.x86_64 0:1.0.5-6.el6 pacemaker.x86_64 0:1.1.10-14.el6
resource-agents.x86_64 0:3.9.2-40.el6
Dependency Installed:
cluster-glue-libs.x86_64 0:1.0.5-6.el6 clusterlib.x86_64 0:3.0.12.1-59.el6
corosync.x86_64 0:1.4.1-17.el6 corosynclib.x86_64 0:1.4.1-17.el6
libqb.x86_64 0:0.16.0-2.el6 pacemaker-cli.x86_64 0:1.1.10-14.el6
pacemaker-cluster-libs.x86_64 0:1.1.10-14.el6 pacemaker-libs.x86_64 0:1.1.10-14.el6
Complete!
************************************************************************************************************************
安裝luci ricci cman openais rgmanager lvm2-cluster gfs2-utils
[root@rhcs1 yum.repos.d]# yum install luci ricci cman openais rgmanager lvm2-cluster gfs2-utils
Loaded plugins: product-id, refresh-packagekit, security, 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 cman.x86_64 0:3.0.12.1-59.el6 will be installed
--> Processing Dependency: modcluster >= 0.15.0-3 for package: cman-3.0.12.1-59.el6.x86_64
--> Processing Dependency: fence-virt >= 0.2.3-1 for package: cman-3.0.12.1-59.el6.x86_64
--> Processing Dependency: libSaCkpt.so.3(OPENAIS_CKPT_B.01.01)(64bit) for package: cman-3.0.12.1-59.el6.x86_64
--> Processing Dependency: libSaCkpt.so.3()(64bit) for package: cman-3.0.12.1-59.el6.x86_64
---> Package gfs2-utils.x86_64 0:3.0.12.1-59.el6 will be installed
---> Package luci.x86_64 0:0.26.0-48.el6 will be installed
--> Processing Dependency: python-paste >= 1.7.2-5 for package: luci-0.26.0-48.el6.x86_64
--> Processing Dependency: python-repoze-who-friendlyform for package: luci-0.26.0-48.el6.x86_64
--> Processing Dependency: TurboGears2 for package: luci-0.26.0-48.el6.x86_64
---> Package lvm2-cluster.x86_64 0:2.02.100-8.el6 will be installed
---> Package openais.x86_64 0:1.1.1-7.el6 will be installed
---> Package rgmanager.x86_64 0:3.0.12.1-19.el6 will be installed
---> Package ricci.x86_64 0:0.16.2-69.el6 will be installed
--> Running transaction check
---> Package TurboGears2.noarch 0:2.0.3-4.el6 will be installed
--> Processing Dependency: python-webflash >= 0.1-0.a8 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-turbojson >= 1.2.1 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-repoze-what-pylons >= 1.0-0.rc3 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-pylons >= 0.9.7 for package: TurboGears2-2.0.3-4.el6.noarch
--> Processing Dependency: python-genshi >= 0.5.1 for package: TurboGears2-2.0.3-4.el6.noarch
--> Processing Dependency: python-zope-sqlalchemy for package: TurboGears2-2.0.3-4.el6.noarch
---> Package fence-virt.x86_64 0:0.2.3-15.el6 will be installed
---> Package modcluster.x86_64 0:0.16.2-28.el6 will be installed
---> Package openaislib.x86_64 0:1.1.1-7.el6 will be installed
---> 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-webtest >= 1.1 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-webhelpers >= 0.6.4 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-routes >= 1.10.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-paste-deploy >= 1.3.3 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-formencode >= 1.2.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
---> 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-formencode.noarch 0:1.2.2-2.1.el6 will be installed
---> Package python-myghty.noarch 0:1.1-11.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-peak-util-extremes >= 1.1 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-addons >= 0.6 for package: python-peak-rules-0.5a1.dev-9.2582.1.el6.noarch
--> Processing Dependency: python-decoratortools >= 1.7 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-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-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:
cman x86_64 3.0.12.1-59.el6 HighAvailability 446 k
gfs2-utils x86_64 3.0.12.1-59.el6 ResilientStorage 299 k
luci x86_64 0.26.0-48.el6 HighAvailability 555 k
lvm2-cluster x86_64 2.02.100-8.el6 ResilientStorage 424 k
openais x86_64 1.1.1-7.el6 HighAvailability 192 k
rgmanager x86_64 3.0.12.1-19.el6 HighAvailability 186 k
ricci x86_64 0.16.2-69.el6 HighAvailability 627 k
Installing for dependencies:
TurboGears2 noarch 2.0.3-4.el6 Server 150 k
fence-virt x86_64 0.2.3-15.el6 HighAvailability 37 k
modcluster x86_64 0.16.2-28.el6 HighAvailability 191 k
openaislib x86_64 1.1.1-7.el6 HighAvailability 82 k
python-babel noarch 0.9.4-5.1.el6 Server 1.4 M
python-cheetah x86_64 2.4.1-1.el6 Server 364 k
python-decoratortools noarch 1.7-4.1.el6 Server 27 k
python-formencode noarch 1.2.2-2.1.el6 Server 245 k
python-genshi x86_64 0.5.1-7.1.el6 Server 429 k
python-markdown noarch 2.0.1-3.1.el6 Server 118 k
python-myghty noarch 1.1-11.el6 Server 519 k
python-paste noarch 1.7.4-2.el6 Server 758 k
python-paste-deploy noarch 1.3.3-2.1.el6 Server 50 k
python-paste-script noarch 1.7.3-5.el6_3 Server 205 k
python-peak-rules noarch 0.5a1.dev-9.2582.1.el6 Server 126 k
python-peak-util-addons noarch 0.6-4.1.el6 Server 21 k
python-peak-util-assembler noarch 0.5.1-1.el6 Server 50 k
python-peak-util-extremes noarch 1.1-4.1.el6 Server 9.0 k
python-peak-util-symbols noarch 1.0-4.1.el6 Server 8.6 k
python-prioritized-methods noarch 0.2.1-5.1.el6 Server 12 k
python-pygments noarch 1.1.1-1.el6 Server 561 k
python-pylons noarch 0.9.7-2.el6 Server 181 k
python-repoze-tm2 noarch 1.0-0.5.a4.el6 Server 16 k
python-repoze-what noarch 1.0.8-6.el6 Server 33 k
python-repoze-what-pylons noarch 1.0-4.el6 Server 14 k
python-repoze-who noarch 1.0.18-1.el6 Server 95 k
python-repoze-who-friendlyform noarch 1.0-0.3.b3.el6 HighAvailability 13 k
python-repoze-who-testutil noarch 1.0-0.4.rc1.el6 Server 12 k
python-routes noarch 1.10.3-2.el6 Server 72 k
python-sqlalchemy noarch 0.5.5-3.el6_2 Server 1.3 M
python-tempita noarch 0.4-2.el6 Server 37 k
python-toscawidgets noarch 0.9.8-1.el6 Server 123 k
python-transaction noarch 1.0.1-1.el6 Server 57 k
python-turbojson noarch 1.2.1-8.1.el6 Server 19 k
python-weberror noarch 0.10.2-2.el6 Server 110 k
python-webflash noarch 0.1-0.2.a9.el6 Server 14 k
python-webhelpers noarch 0.6.4-4.el6 Server 318 k
python-webob noarch 0.9.6.1-3.el6 Server 146 k
python-webtest noarch 1.2-2.el6 Server 55 k
python-zope-filesystem x86_64 1-5.el6 Server 5.5 k
python-zope-interface x86_64 3.5.2-2.1.el6 Server 116 k
python-zope-sqlalchemy noarch 0.4-3.el6 Server 23 k
Transaction Summary
===========================================================================================
Install 49 Package(s)
Total download size: 11 M
Installed size: 44 M
Is this ok [y/N]: y
Downloading Packages:
-------------------------------------------------------------------------------------------
Total 2.4 MB/s | 11 MB 00:04
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : python-paste-1.7.4-2.el6.noarch 1/49
Installing : python-webob-0.9.6.1-3.el6.noarch 2/49
Installing : python-paste-deploy-1.3.3-2.1.el6.noarch 3/49
Installing : python-decoratortools-1.7-4.1.el6.noarch 4/49
Installing : openaislib-1.1.1-7.el6.x86_64 5/49
Installing : openais-1.1.1-7.el6.x86_64 6/49
Installing : modcluster-0.16.2-28.el6.x86_64 7/49
Installing : python-routes-1.10.3-2.el6.noarch 8/49
Installing : python-tempita-0.4-2.el6.noarch 9/49
Installing : python-pygments-1.1.1-1.el6.noarch 10/49
Installing : python-weberror-0.10.2-2.el6.noarch 11/49
Installing : python-webhelpers-0.6.4-4.el6.noarch 12/49
Installing : ricci-0.16.2-69.el6.x86_64 13/49
Installing : python-peak-util-addons-0.6-4.1.el6.noarch 14/49
Installing : python-toscawidgets-0.9.8-1.el6.noarch 15/49
Installing : python-webtest-1.2-2.el6.noarch 16/49
Installing : python-sqlalchemy-0.5.5-3.el6_2.noarch 17/49
Installing : fence-virt-0.2.3-15.el6.x86_64 18/49
Installing : cman-3.0.12.1-59.el6.x86_64 19/49
Installing : python-markdown-2.0.1-3.1.el6.noarch 20/49
Installing : python-cheetah-2.4.1-1.el6.x86_64 21/49
Installing : python-paste-script-1.7.3-5.el6_3.noarch 22/49
Installing : python-peak-util-extremes-1.1-4.1.el6.noarch 23/49
Installing : python-formencode-1.2.2-2.1.el6.noarch 24/49
Installing : python-webflash-0.1-0.2.a9.el6.noarch 25/49
Installing : python-babel-0.9.4-5.1.el6.noarch 26/49
Installing : python-genshi-0.5.1-7.1.el6.x86_64 27/49
Installing : python-peak-util-symbols-1.0-4.1.el6.noarch 28/49
Installing : python-peak-util-assembler-0.5.1-1.el6.noarch 29/49
Installing : python-peak-rules-0.5a1.dev-9.2582.1.el6.noarch 30/49
Installing : python-prioritized-methods-0.2.1-5.1.el6.noarch 31/49
Installing : python-turbojson-1.2.1-8.1.el6.noarch 32/49
Installing : python-zope-filesystem-1-5.el6.x86_64 33/49
Installing : python-zope-interface-3.5.2-2.1.el6.x86_64 34/49
Installing : python-repoze-who-1.0.18-1.el6.noarch 35/49
Installing : python-transaction-1.0.1-1.el6.noarch 36/49
Installing : python-zope-sqlalchemy-0.4-3.el6.noarch 37/49
Installing : python-repoze-tm2-1.0-0.5.a4.el6.noarch 38/49
Installing : python-repoze-who-friendlyform-1.0-0.3.b3.el6.noarch 39/49
Installing : python-repoze-who-testutil-1.0-0.4.rc1.el6.noarch 40/49
Installing : python-repoze-what-1.0.8-6.el6.noarch 41/49
Installing : python-myghty-1.1-11.el6.noarch 42/49
Installing : python-pylons-0.9.7-2.el6.noarch 43/49
Installing : python-repoze-what-pylons-1.0-4.el6.noarch 44/49
Installing : TurboGears2-2.0.3-4.el6.noarch 45/49
Installing : luci-0.26.0-48.el6.x86_64 46/49
Installing : rgmanager-3.0.12.1-19.el6.x86_64 47/49
Installing : lvm2-cluster-2.02.100-8.el6.x86_64 48/49
Installing : gfs2-utils-3.0.12.1-59.el6.x86_64 49/49
Verifying : rgmanager-3.0.12.1-19.el6.x86_64 1/49
Verifying : python-myghty-1.1-11.el6.noarch 2/49
Verifying : python-zope-filesystem-1-5.el6.x86_64 3/49
Verifying : python-peak-util-symbols-1.0-4.1.el6.noarch 4/49
Verifying : python-repoze-what-1.0.8-6.el6.noarch 5/49
Verifying : python-babel-0.9.4-5.1.el6.noarch 6/49
Verifying : python-pygments-1.1.1-1.el6.noarch 7/49
Verifying : python-repoze-who-friendlyform-1.0-0.3.b3.el6.noarch 8/49
Verifying : python-repoze-who-1.0.18-1.el6.noarch 9/49
Verifying : python-peak-util-addons-0.6-4.1.el6.noarch 10/49
Verifying : cman-3.0.12.1-59.el6.x86_64 11/49
Verifying : python-toscawidgets-0.9.8-1.el6.noarch 12/49
Verifying : python-webtest-1.2-2.el6.noarch 13/49
Verifying : TurboGears2-2.0.3-4.el6.noarch 14/49
Verifying : python-decoratortools-1.7-4.1.el6.noarch 15/49
Verifying : gfs2-utils-3.0.12.1-59.el6.x86_64 16/49
Verifying : python-pylons-0.9.7-2.el6.noarch 17/49
Verifying : python-webflash-0.1-0.2.a9.el6.noarch 18/49
Verifying : python-repoze-who-testutil-1.0-0.4.rc1.el6.noarch 19/49
Verifying : python-weberror-0.10.2-2.el6.noarch 20/49
Verifying : python-cheetah-2.4.1-1.el6.x86_64 21/49
Verifying : openais-1.1.1-7.el6.x86_64 22/49
Verifying : python-tempita-0.4-2.el6.noarch 23/49
Verifying : python-paste-1.7.4-2.el6.noarch 24/49
Verifying : python-transaction-1.0.1-1.el6.noarch 25/49
Verifying : luci-0.26.0-48.el6.x86_64 26/49
Verifying : openaislib-1.1.1-7.el6.x86_64 27/49
Verifying : python-formencode-1.2.2-2.1.el6.noarch 28/49
Verifying : python-routes-1.10.3-2.el6.noarch 29/49
Verifying : python-peak-util-extremes-1.1-4.1.el6.noarch 30/49
Verifying : python-repoze-what-pylons-1.0-4.el6.noarch 31/49
Verifying : python-webhelpers-0.6.4-4.el6.noarch 32/49
Verifying : python-markdown-2.0.1-3.1.el6.noarch 33/49
Verifying : python-paste-script-1.7.3-5.el6_3.noarch 34/49
Verifying : python-zope-sqlalchemy-0.4-3.el6.noarch 35/49
Verifying : python-peak-util-assembler-0.5.1-1.el6.noarch 36/49
Verifying : python-zope-interface-3.5.2-2.1.el6.x86_64 37/49
Verifying : modcluster-0.16.2-28.el6.x86_64 38/49
Verifying : lvm2-cluster-2.02.100-8.el6.x86_64 39/49
Verifying : fence-virt-0.2.3-15.el6.x86_64 40/49
Verifying : python-turbojson-1.2.1-8.1.el6.noarch 41/49
Verifying : python-paste-deploy-1.3.3-2.1.el6.noarch 42/49
Verifying : python-genshi-0.5.1-7.1.el6.x86_64 43/49
Verifying : ricci-0.16.2-69.el6.x86_64 44/49
Verifying : python-prioritized-methods-0.2.1-5.1.el6.noarch 45/49
Verifying : python-repoze-tm2-1.0-0.5.a4.el6.noarch 46/49
Verifying : python-webob-0.9.6.1-3.el6.noarch 47/49
Verifying : python-peak-rules-0.5a1.dev-9.2582.1.el6.noarch 48/49
Verifying : python-sqlalchemy-0.5.5-3.el6_2.noarch 49/49
Installed:
cman.x86_64 0:3.0.12.1-59.el6 gfs2-utils.x86_64 0:3.0.12.1-59.el6
luci.x86_64 0:0.26.0-48.el6 lvm2-cluster.x86_64 0:2.02.100-8.el6
openais.x86_64 0:1.1.1-7.el6 rgmanager.x86_64 0:3.0.12.1-19.el6
ricci.x86_64 0:0.16.2-69.el6
Dependency Installed:
TurboGears2.noarch 0:2.0.3-4.el6
fence-virt.x86_64 0:0.2.3-15.el6
modcluster.x86_64 0:0.16.2-28.el6
openaislib.x86_64 0:1.1.1-7.el6
python-babel.noarch 0:0.9.4-5.1.el6
python-cheetah.x86_64 0:2.4.1-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-markdown.noarch 0:2.0.1-3.1.el6
python-myghty.noarch 0:1.1-11.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.el6
python-peak-util-addons.noarch 0:0.6-4.1.el6
python-peak-util-assembler.noarch 0:0.5.1-1.el6
python-peak-util-extremes.noarch 0:1.1-4.1.el6
python-peak-util-symbols.noarch 0:1.0-4.1.el6
python-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.el6
python-repoze-what.noarch 0:1.0.8-6.el6
python-repoze-what-pylons.noarch 0:1.0-4.el6
python-repoze-who.noarch 0:1.0.18-1.el6
python-repoze-who-friendlyform.noarch 0:1.0-0.3.b3.el6
python-repoze-who-testutil.noarch 0:1.0-0.4.rc1.el6
python-routes.noarch 0:1.10.3-2.el6
python-sqlalchemy.noarch 0:0.5.5-3.el6_2
python-tempita.noarch 0:0.4-2.el6
python-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.el6
python-zope-filesystem.x86_64 0:1-5.el6
python-zope-interface.x86_64 0:3.5.2-2.1.el6
python-zope-sqlalchemy.noarch 0:0.4-3.el6
Complete!
************************************************************************************************************************
開啟HA服務
[root@rhcs1 ~]# service luci start
Adding following auto-detected host IDs (IP addresses/domain names), corresponding to `rhcs1' 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://rhcs1:8084 (or equivalent) to access luci
[root@rhcs1 ~]# service ricci start
Starting oddjobd: [ OK ]
generating SSL certificates... done
Generating NSS database... done
Starting ricci: [ OK ]
[root@rhcs1 ~]# service rgmanager start
Starting Cluster Service Manager: [ OK ]
[root@rhcs1 ~]# 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@rhcs1 ~]# chkconfig luci on
[root@rhcs1 ~]# chkconfig ricci on
[root@rhcs1 ~]# chkconfig rgmanager on
[root@rhcs1 ~]# chkconfig cman on
ricci密碼設置
[root@rhcs1 ~]# 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.
************************************************************************************************************************
安裝HA服務的更多相关文章
- window下安裝redis服務
一.下载windows版本的Redis github下载地址:https://github.com/MicrosoftArchive/redis/releases/tag/win-3.2.100 ...
- debian 安裝SSH 增加新用戶 并使用sudo
1 新建新用戶user 2 3 adduser user 4 5 passwd 123654 6 7 exit 刚安装好的Debian默认还没有sudo功能. 1.安装sudo # apt-get i ...
- C#-Windows服務以LocalSystem賬戶安裝的話無法獲取我的文檔路徑
如圖,如果Window服務以上圖 Account安裝運行,則無法獲取到 以下路徑: System.Environment.GetFolderPath(Environment.SpecialFolder ...
- 一款名為com.apple.pcapd的服務
一款名為com.apple.pcapd的服務,通過libpcap網路數據包捕獲函數包捕獲流入和流出iOS設備的HTTP數據.據紮德爾斯基稱,這一服務在所有iOS設備上都是默認啟動的,能被用來在用戶不知 ...
- windows 下使用免安裝版MySql5.5
windows 下使用面安裝版MySql5.5步驟如下 1.解壓下載的壓縮文件到指定文件夾.如:F:\DB\mysql-5.5.18-win32\mysql-5.5.18-win32: 2.在根目錄F ...
- Darwin Streaming Server 安裝操作備忘
Darwin Streaming Server 安裝操作 Darwin Streaming Server是蘋果公司推出的開放源碼.跨平台多媒體串流伺服器, 提供音樂 (mp3) 與影音 (3gp.mp ...
- Linux CentOS 7 YUM 安裝 MySQL 5.7
MySQL YUM 源:http://dev.mysql.com/downloads/repo/yum/ # 下載源 $ wget http://dev.mysql.com/get/mysql57-c ...
- jQueryMobile 網頁使用 ASP.NET Web API 服務
微軟的 ASP.NET Web API 框架,能以 RESTful 輕量級的架構風格,建立 HTTP 服務,讓多種不同的用戶端,如: 手機.平板.電腦(PC),透過 HTTP 的 GET.POST.P ...
- PowerBI分析Exchange服務器IIS運行日誌
PowerBI分析Exchange服務器IIS運行日誌 啟用狀態 PowerBI分析Exchange服務器IIS運行日誌 那麼在C:\inetpub\logs\LogFiles目錄下您才會看到如下日誌 ...
随机推荐
- 笔记:delphi 与 Query
以下不保存证正确 Query用SQL语言执行过的,没有必要Cancel.Post,因为其会对数据库直接操作:执行Update.Insert.Delete请用SQL语句: 用Table使用对当前记录直接 ...
- .net mvc C#生成网页快照
目标:调用某一网页,自动抓取整个页面为图片,并保存 public class WebSiteThumbnail { Bitmap m_Bitmap; string m_Url; public WebS ...
- echarts 地图 离线json包分享
最近,项目中需要用到地图,由于项目的特殊性,只能使用内网获取数据. 然而,echarts官网上的离线地图包(http://echarts.baidu.com/download-map.html)早在一 ...
- Netty基础系列(3) --彻底理解NIO
前言 上一节中我们提到了同步异步与阻塞非阻塞的区别,知道了同步并不等于阻塞.而本节的主角NIO是一种同步非阻塞的I/O模型,并且是I/O多路复用模型.NIO在java中被称为 New I/O.它并不能 ...
- P4645 [COCI2006-2007 Contest#3] BICIKLI
题意翻译 给定一个有向图,n个点,m条边.请问,1号点到2号点有多少条路径?如果有无限多条,输出inf,如果有限,输出答案模10^9的余数. 两点之间可能有重边,需要看成是不同的路径. 题目描述 A ...
- Luogu 1429 平面最近点对 | 平面分治
Luogu 1429 平面最近点对 题目描述 给定平面上n个点,找出其中的一对点的距离,使得在这n个点的所有点对中,该距离为所有点对中最小的 输入输出格式 输入格式: 第一行:n:2≤n≤200000 ...
- BZOJ 4316: 小C的独立集 解题报告
4316: 小C的独立集 Description 图论小王子小C经常虐菜,特别是在图论方面,经常把小D虐得很惨很惨. 这不,小C让小D去求一个无向图的最大独立集,通俗地讲就是:在无向图中选出若干个点, ...
- 洛谷 P3990 [SHOI2013]超级跳马 解题报告
P3990 [SHOI2013]超级跳马 题目描述 现有一个\(n\) 行 \(m\) 列的棋盘,一只马欲从棋盘的左上角跳到右下角.每一步它向右跳奇数列,且跳到本行或相邻行.跳越期间,马不能离开棋盘. ...
- 《剑指offer》— JavaScript(24)二叉树中和为某一值的路径
二叉树中和为某一值的路径 题目描述 输入一颗二叉树和一个整数,打印出二叉树中结点值的和为输入整数的所有路径.路径定义为从树的根结点开始往下一直到叶结点所经过的结点形成一条路径. 思路 前序遍历二叉树, ...
- 自定义ribbon规则
关于ribbon的知识:. 在微服务架构中,业务都会被拆分成一个独立的服务,服务与服务的通讯是基于http restful的.Spring cloud有两种服务调用方式,一种是ribbon+restT ...