2.2. 클러스터에서 일관된 멀티패스 장치 이름


When the user_friendly_names configuration option is set to yes, the name of the multipath device is unique to a node, but it is not guaranteed to be the same on all nodes using the multipath device. Similarly, if you set the alias option for a device in the multipaths section of the multipath.conf configuration file, the name is not automatically consistent across all nodes in the cluster. This should not cause any difficulties if you use LVM to create logical devices from the multipath device, but if you require that your multipath device names be consistent in every node it is recommended that you not set the user_friendly_names option to yes and that you not configure aliases for the devices. By default, if you do not set user_friendly_names to yes or configure an alias for a device, a device name will be the WWID for the device, which is always the same.
If you want the system-defined user-friendly names to be consistent across all nodes in the cluster, however, you can follow this procedure:
  1. Set up all of the multipath devices on one machine.
  2. Disable all multipath devices on other machines by running the following commands:
    # systemctl stop multipathd.service
    # multipath -F
  3. Copy the /etc/multipath/bindings file from the first machine to all the other machines in the cluster.
  4. Re-enable the multipathd daemon on all the other machines in the cluster by running the following command:
    # systemctl start multipathd.service
If you add a new device, you will need to repeat this process.
Similarly, if you configure an alias for a device that you would like to be consistent across the nodes in the cluster, you should ensure that the /etc/multipath.conf file is the same for each node in the cluster by following the same procedure:
  1. Configure the aliases for the multipath devices in the multipath.conf file on one machine.
  2. Disable all multipath devices on other machines by running the following commands:
    # systemctl stop multipathd.service
    # multipath -F
  3. Copy the /etc/multipath.conf file from the first machine to all the other machines in the cluster.
  4. Re-enable the multipathd daemon on all the other machines in the cluster by running the following command:
    # systemctl start multipathd.service
When you add a new device you will need to repeat this process.
Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

© 2024 Red Hat, Inc.