Resolution of user RedHat cluster switchover failure

Source: Internet
Author: User
The user failed to perform the switchover because the path binding function was not used during the initial construction, and the storage-related drive letter was changed after the switchover. After negotiation with the user, change to multi-path binding. The problem is solved as follows: 1. Edit multipath. conf as follows: # devnode_blacklist {# devnode "*" #} multipaths {& nb

The user failed to perform the switchover because the path binding function was not used during the initial construction, and the storage-related drive letter was changed after the switchover. After negotiation with the user, change to multi-path binding. The problem is solved as follows:

1. Edit multipath. conf as follows:

# Devnode_blacklist {

# Devnode "*"

#}

Multipaths {

Multipath {

Wwid 3600508b4000708a90000e00000510000

Alias mpath2

# Corresponding sdb

}

 

Multipath {

Wwid 3600508b400074a2000005000001f0000

Alias mpath1

# Corresponding sdc

}

 

Multipath {

Wwid 3600508b4000708a90000e00000120000

Alias mpath0

# Corresponding sda

}

}

2. Start the service

# Modprobe dm-multipath

# Service multipathd start

# Chkconfig multipathd on

3. Stop the dual-host service of the two machines:

# Service rgmanager stop

# Service fenced stop

# Service cman stop

# Service ccsd stop

4. Change the cluster configuration file and replace the original device with the new device name mpath0/1/2.

5. Start the dual-host service:

# Service ccsd start

# Service cman start

# Service fenced start

# Service rgmanager start

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.