Steps to add Shareblock primary storage
-
-
All physical machines in the cluster where the primary storage is located must be connected normally.
-
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 sessionto see if all physical machines are logged in normally.
-
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.) -
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.shon each physical machine, and then multipath -ll can be seen
-
-
undefined nexus marked this topic as a regular topic