Multipathed LUN Path Control & Notifications
Multipathed LUN Path Control & Notifications
- Subject: Multipathed LUN Path Control & Notifications
- From: Matt Bauer <email@hidden>
- Date: Wed, 11 Dec 2013 10:04:52 -0600
I’m looking for help in getting notifications of path changes for multipathed drives such as those attached to Fibre Channel or a SAS array.
i’ve been able to replicate the functionality of mpioutil to control the active/inactive paths by setting the PathState property on IOSCSIHierarchicalLogicalUnit. I can’t however read the PathState the same way (doing a IORegistryEntryCreateCFProperty). Looking at the disassembly of mpioutil, it appears it’s using a sysctl (debug.SCSIMPIOStatistics) but I haven’t been able to get that sysctl to work. I also need to get notifications of path changes from IOSCSIHierarchicalLogicalUnit/IOSCSIMutltipathedLogicalUnit. Looking at the disassembly of the IOSCSIArchitectureModelFamily it doesn’t look like notifications are provided. Is that true?
Does anyone have any thoughts/suggestions?
Thanks,
Matt Bauer
In case you’re curious why I need this, the storage array is shared with other machines and if all the machines don’t hit the correct RAID controller on the array, performance tanks. That said, if there is a true path failure, I need to know so I can tell the other machines to failover to the other path. This will ensure the performance level I require. If I can’t get IOSCSIHierarchicalLogicalUnit/IOSCSIMutltipathedLogicalUnit working, I may just change my extension to perform their functionality.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden