Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:iscsi [2016/01/03 23:08] billdozor [Related Multipath Commands] |
linux_wiki:iscsi [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
**General Information** | **General Information** | ||
Line 6: | Line 6: | ||
**Checklist** | **Checklist** | ||
- | * Enterprise Linux 6 | + | * Distro(s): |
+ | |||
+ | ---- | ||
+ | |||
+ | ====== Adding Disks ===== | ||
+ | |||
+ | - Get the iscsi initiator name on the client< | ||
+ | - Use the initiator name to configure the Host Group, LUN, and Host Affinity on your storage device. (Or send the initiator name to the storage admin) | ||
+ | - From the client, discover the available LUNs on the storage device< | ||
+ | - Start and enable the iscsi daemon | ||
+ | - EL6<code bash> | ||
+ | chkconfig iscsid on</ | ||
+ | - EL7<code bash> | ||
+ | systemctl enable iscsid</ | ||
+ | - Log-in to the LUN with the iscsi client< | ||
+ | - Create / | ||
+ | - Configure multipath< | ||
+ | # Blacklist exception for your device | ||
+ | blacklist_exceptions { | ||
+ | # WWN of LUN via iSCSI LUN group | ||
+ | wwid " | ||
+ | } | ||
+ | |||
+ | # Setup your storage device specifics | ||
+ | devices { | ||
+ | device { | ||
+ | vendor " | ||
+ | product " | ||
+ | # specify other options | ||
+ | } | ||
+ | } | ||
+ | |||
+ | # Setup the multipath | ||
+ | multipaths { | ||
+ | | ||
+ | wwid 123456789 | ||
+ | alias friendly_name_here | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | - Start and enable multipathd | ||
+ | - EL6<code bash> | ||
+ | chkconfig multipathd on</ | ||
+ | - EL7<code bash> | ||
+ | systemctl enable multipathd</ | ||
+ | - Re-scan the scsi bus<code bash> | ||
+ | - Where < | ||
+ | - The hyphens represent controller, | ||
+ | - Verify paths< | ||
+ | - Add mount entry to / | ||
+ | |||
---- | ---- |