メインコンテンツへスキップ

OpenShift上のTridentでnodePrep:[iscsi]が設定されている場合、どのような操作が実行されますか?

Views:
16
Visibility:
Public
Votes:
0
Category:
trident-openshift
Specialty:
snapx
Last Updated:

環境

  • Trident 24.10以降
  • OpenShift

回答

OpenShift上のTridentOrchestratorにnodePrep: [iscsi]が設定されている場合、次の操作が実行されます:

  1. アップデート/etc/multipath.conf
  • /etc/multipath.confが存在しない場合)
    以下の内容で/etc/multipath.confを作成します:

    defaults {
       find_multipaths no
    }
    blacklist {
       device {
         vendor ".*"
         product ".*"
       }
    }
    blacklist_exceptions {
       device {
         vendor "NETAPP"
         product "LUN"
       }
    }

    • /etc/multipath.conffind_multipaths = noが存在する場合)
       NetAppLUNblacklist_exceptionsに追加
    • ( /etc/multipath.confが存在し、find_multipathsnoに設定されていない場合)
      ノードの準備が停止します
    1. サービスを有効にして開始します。
    • iscsid (command:systemctl enable --now iscsid)
    • multipathd (command:systemctl enable --now multipathd)

    注記:パッケージのインストール(lsscsi、iscsi-initiator-utils、device-mapper-multipath)および/etc/iscsi/iscsid.confへの更新は自動的には実行されません。

    NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.