XCP-ng

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. a573
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 5
    • Best 3
    • Controversial 0
    • Groups 0

    a573

    @a573

    4
    Reputation
    1
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    a573 Unfollow Follow

    Best posts made by a573

    • RE: multipath.conf is incorrect

      @stormi

      I sent a PULL request to the fork source.
      https://github.com/xapi-project/sm/pull/576

      a573net created this issue in xapi-project/sm

      closed QNAP product attribute is incorrect #576

      posted in Development
      a573
      a573
    • RE: multipath.conf is incorrect

      @stormi, @olivierlambert

      Thanks to everyone, I was able to complete it.
      Thank you very much!!

      posted in Development
      a573
      a573
    • multipath.conf is incorrect

      Hello,

      The QNAP setting in multipath.conf is incorrect. The settings cannot be called correctly because the product attribute is different. It seems to work with default values.

      I will feed back my experience to XCP-NG project.


      product attribute - [Underbar is incorrect. Space is correct]

      /etc/multipath.xenserver/multipath.conf.old

      device {
                      vendor                  "QNAP"
                      product                 "iSCSI_Storage"
              }
      

      /etc/multipath.xenserver/multipath.conf

      device {
                      vendor                  "QNAP"
                      product                 "iSCSI Storage"
              }
      

      I was editing multipath.conf to give priority to multipathing sessions.
      I started debugging because the settings didn't apply. You have noticed a difference in the call string "iSCSI Storage".

      [16:30 xxxxxxxxx etc]# multipath -ll
      xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx dm-0 QNAP    ,iSCSI Storage   
      size=20T features='1 queue_if_no_path' hwhandler='0' wp=rw
      |-+- policy='round-robin 0' prio=9 status=active
      | `- 9:0:0:0  sdb 8:16 active ready running
      `-+- policy='round-robin 0' prio=1 status=enabled
        `- 10:0:0:0 sdc 8:32 active ready running
      

      By replacing the underscore with a space, the setting is now recognized correctly and the session can be given priority.

      device {
                      vendor                  "QNAP"
                      product                 "iSCSI Storage"
                      path_grouping_policy    "failover"
                      path_selector           "round-robin 0"
                      path_checker            readsector0
                      prio                    weightedpath
                      prio_args               "hbtl 9:0:0:0 9 10:0:0:0 1"
                      uid_attribute           ID_SERIAL
              }
      

      My Storage: TS-432PXU-RP
      Version: 5.0.0.1828 Build 20211020

      posted in Development iscsi qnap priority multipath
      a573
      a573

    Latest posts made by a573

    • RE: multipath.conf is incorrect

      @stormi, @olivierlambert

      Thanks to everyone, I was able to complete it.
      Thank you very much!!

      posted in Development
      a573
      a573
    • RE: multipath.conf is incorrect

      @stormi

      I sent a PULL request to the fork source.
      https://github.com/xapi-project/sm/pull/576

      a573net created this issue in xapi-project/sm

      closed QNAP product attribute is incorrect #576

      posted in Development
      a573
      a573
    • RE: multipath.conf is incorrect

      I wrote two blocks of underscores and spaces in my QNAP environment.
      A forward match was detected and two blocks were read as separate configurations.
      This method lists both old and new, so I don't think there will be any problems if old QNAPs use underscores.

      I will try to contact github.

      posted in Development
      a573
      a573
    • RE: multipath.conf is incorrect

      I don't know if the QNAP specifications have changed.
      I searched past information.

      I found another post of 2019 year. In this post, it was "iSCSI Storage". (Spaced)
      https://www.reddit.com/r/qnap/comments/fv514j/iscsi_vendor_and_product_for_multipathd_config/

      I found official QNAP report of 2018 year. it was "iSCSI Storage". (Spaced)
      https://www.qnap.com/ja-jp/how-to/tutorial/article/configuring-linux-iscsi-storage-with-qnap-es-nas

      I found Citrix forum of 2018 year. it was "iSCSI Storage". (Spaced)
      https://discussions.citrix.com/topic/394780-how-to-use-iscsi-target-directly-in-xenserver/page/2/


      It's not smart, but you might be able to follow both old and new by listing two blocks of underbars and spaces. In my debugging, I made a distinction between underbars and spaces, so I thought it would be solved by writing two blocks.

      I put two blocks in my server's multipath.conf, check it and reply. Please give me some time.
      Are there any commands or logs you would like me to check?

      posted in Development
      a573
      a573
    • multipath.conf is incorrect

      Hello,

      The QNAP setting in multipath.conf is incorrect. The settings cannot be called correctly because the product attribute is different. It seems to work with default values.

      I will feed back my experience to XCP-NG project.


      product attribute - [Underbar is incorrect. Space is correct]

      /etc/multipath.xenserver/multipath.conf.old

      device {
                      vendor                  "QNAP"
                      product                 "iSCSI_Storage"
              }
      

      /etc/multipath.xenserver/multipath.conf

      device {
                      vendor                  "QNAP"
                      product                 "iSCSI Storage"
              }
      

      I was editing multipath.conf to give priority to multipathing sessions.
      I started debugging because the settings didn't apply. You have noticed a difference in the call string "iSCSI Storage".

      [16:30 xxxxxxxxx etc]# multipath -ll
      xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx dm-0 QNAP    ,iSCSI Storage   
      size=20T features='1 queue_if_no_path' hwhandler='0' wp=rw
      |-+- policy='round-robin 0' prio=9 status=active
      | `- 9:0:0:0  sdb 8:16 active ready running
      `-+- policy='round-robin 0' prio=1 status=enabled
        `- 10:0:0:0 sdc 8:32 active ready running
      

      By replacing the underscore with a space, the setting is now recognized correctly and the session can be given priority.

      device {
                      vendor                  "QNAP"
                      product                 "iSCSI Storage"
                      path_grouping_policy    "failover"
                      path_selector           "round-robin 0"
                      path_checker            readsector0
                      prio                    weightedpath
                      prio_args               "hbtl 9:0:0:0 9 10:0:0:0 1"
                      uid_attribute           ID_SERIAL
              }
      

      My Storage: TS-432PXU-RP
      Version: 5.0.0.1828 Build 20211020

      posted in Development iscsi qnap priority multipath
      a573
      a573