HIVE The NexaVM Community NexaVM HIVE Community
    • Categories
    • Tags
    • Recent
    • Register
    • Login

    Steps to add Shareblock primary storage

    Scheduled Pinned Locked Moved Knowledgebase
    1 Posts 1 Posters 16 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • nexusundefined Offline
      nexus
      last edited by

      1. All physical machines in the cluster where the primary storage is located must be connected normally.

      2. All physical machines in the cluster where the primary storage is located must be logged in to the iscsi storage.
        Command to check whether iscsi storage is logged in:

      iscsiadm -m session
      

      to see if all physical machines are logged in normally.

      1. If some physical machines are not logged in, you need to log in (there are several ways):
        a. Reconnect the physical machine, it will check itself, after the reconnection is successful, check iscsiadm -m session, it should be normal, if it is still not logged in, use the second method.
        b. Execute the command iscsiadm -m discovery -t sendtargets -p $ip:3260 on the unlogged physical machine; if you cannot log in, you can first check whether the network is connected, ping the network, if it is not connected, then check the network card related configuration.
        c. For new environments, you can consider directly restarting the physical machine, and restarting the physical machine will reconfigure the login to iscsi storage. (Under the condition that the storage link is normal, it is not ruled out that there are network problems, network card loss, etc.)

      2. After ensuring that all physical machines in the cluster are logged into iscsi storage, upload the san storage side on the ui, synchronize the data, and then you can add the primary storage normally.

      If the login is normal and iscsiadm -m session still cannot read the shared block, execute

      rescan-scsi-bus.sh
      

      on each physical machine, and then multipath -ll can be seen

      1 Reply Last reply Reply Quote
      • nexusundefined nexus marked this topic as a regular topic

      • 1 / 1
      • First post
        Last post