Gris Ge
2014-12-19 14:15:31 UTC
Hi Guys,
I am planning to create a lsm plugin for local storage management for:
1. Linux -- mdadm, rtslibs-fb(iscsi/fcoe target), liblvm, smartctl.
# Use linux open source tools to provide local storage
# management and also use LIO to expose storage out(SAN/NAS).
# Example:
# Use local disk to create a RAID md device as Pool.
# And then use it's partition as iSCSI/FCoE target LUN via
# LIO. Use smartctl to monitor disk status and mdadm to
# monitor RAID status.
2. LSI MegaRAID -- storcli
# LSI binary tools(noarch) to manage local attached MegaRAID
# cards.
3. HP SmartArray -- hpssacli
# HP SmartArray tools(HP provides yum repo) to manage local
# attached SmartArray cards.
Issues:
1. What will happen if storcli/hpssacli not installed?
# Only linux storage is manageable. No error reported.
# To query certain type of storage, use URI parameter
# 'only=megaraid' or 'only=linux' or 'only=hpsa', error will be
# raised if certain tools not installed.
2. How to handle plugin dependency?
# As mentioned above, this plugin only depend only linux open
# source tools. If third party tools(like storcli or hpssacli)
# is not installed, certain type of storage will be ignored and
# unmanageable by default.
3. How to handle root privilege required to manage local storage?
# Possible solution mentioned in mailist:
# 1. The lsmd will invoke the plugin with uid matching the
# client calling uid. User just need to run client tools with
# root privilege for local plugin.
3. What's the name of this plugin?
# Initially, I am using 'local' and URI for 'local://'.
# Alternatives:
# a. das
# # As we will support iscsi/fcoe target or even nfs
# # server, we can be DAS, NAS and SAN.
# b. hba
# # mdadm is not HBA. HBA is not for iscsi and fcoe
# # target.
# c. raid
# # LVM and iscsi/fcoe target is not RAID.
# Any better name?
Any comments?
Thank you in advance.
Best regards.
I am planning to create a lsm plugin for local storage management for:
1. Linux -- mdadm, rtslibs-fb(iscsi/fcoe target), liblvm, smartctl.
# Use linux open source tools to provide local storage
# management and also use LIO to expose storage out(SAN/NAS).
# Example:
# Use local disk to create a RAID md device as Pool.
# And then use it's partition as iSCSI/FCoE target LUN via
# LIO. Use smartctl to monitor disk status and mdadm to
# monitor RAID status.
2. LSI MegaRAID -- storcli
# LSI binary tools(noarch) to manage local attached MegaRAID
# cards.
3. HP SmartArray -- hpssacli
# HP SmartArray tools(HP provides yum repo) to manage local
# attached SmartArray cards.
Issues:
1. What will happen if storcli/hpssacli not installed?
# Only linux storage is manageable. No error reported.
# To query certain type of storage, use URI parameter
# 'only=megaraid' or 'only=linux' or 'only=hpsa', error will be
# raised if certain tools not installed.
2. How to handle plugin dependency?
# As mentioned above, this plugin only depend only linux open
# source tools. If third party tools(like storcli or hpssacli)
# is not installed, certain type of storage will be ignored and
# unmanageable by default.
3. How to handle root privilege required to manage local storage?
# Possible solution mentioned in mailist:
# 1. The lsmd will invoke the plugin with uid matching the
# client calling uid. User just need to run client tools with
# root privilege for local plugin.
3. What's the name of this plugin?
# Initially, I am using 'local' and URI for 'local://'.
# Alternatives:
# a. das
# # As we will support iscsi/fcoe target or even nfs
# # server, we can be DAS, NAS and SAN.
# b. hba
# # mdadm is not HBA. HBA is not for iscsi and fcoe
# # target.
# c. raid
# # LVM and iscsi/fcoe target is not RAID.
# Any better name?
Any comments?
Thank you in advance.
Best regards.
--
Gris Ge
Gris Ge