RedHat HA normal disk replacement LVM
RedHatHA General disk transformation LVM logical volume test report
Rhel 5.7 ha lvm test:
Rhel 5.7 ha lvm test: 1
Test frame diagram: 1
Cluster software installation 2
Configure cluster lvm2
Add Resource 3
Cluster test 10
Test result 12
Test frame diagram:
Ha1: ha2
Hostname = ha1.example.com hostname = ha2.example.com
Eth1: 10.0.0.1/8 eth1: 10.0.0.2/8
Eth2: 255.0.0.1/24 eth2: 255.0.0.2/24
Eth1 indicates the business, and eth2 indicates the heartbeat
Modify the hosts file of two nodes Cat/etc/hosts
255.0.0.1 ha1.example.com
255.0.0.2 ha2.example.com
Cluster Software Installation
Yum groupinstall Clustering-y
Yum install lvm2-cluster *-y cluster logical Group Management
Configure cluster lvm
Vim/etc/lvm. conf supports lvm in cluster mode (both nodes need to be modified)
Change locking_type = 1 in normal mode to 3. Enable lvm in cluster mode.
-------------------------------------- Split line --------------------------------------
Disk management-LVM
Linux Tutorial: Use LVM logical volume manager to manage flexible storage
Configure LVM (logical volume management) in CentOS 6.3)
Linux LVM (Logical Volume Manager) Study Notes
LVM-snapshot: LVM snapshot-based backup preparation
LVM-snapshot: LVM-based snapshot Backup
RHEL5.9 LVM usage
-------------------------------------- Split line --------------------------------------
Syetem-config-cluster
Add nodes, add virtual fence, and create fault domains. Synchronize the cluster. conf file to another node.
You can perform the following operations on a node:
/Etc/init. d/cman start
/Etc/init. d/clvmd start
Create a cluster lcuster lvm
Use iscsi storage to initiate and attach to a local device
Pv/dev/sd (c, e, f, g ......)
Vg vg_01/dev/sd (c, e, f, g ......) After creating the vg, start clvmd on another node. Synchronize vg)
Lv-L + 10G-n lvm_01 vg_01
Add Resource
Add virtual vip first
Add lvm
Here, when you add lvm, the name is the name you give to lvm (this command can be self-executed), and the vg name must be the name when you create the vg. Lvm name: enter the name of the lv when the lv is created.
Example:
Add File System
Fill in the lvm mount point
Add lvm
Add File System
For more details, please continue to read the highlights on the next page: