Open danner26 opened 1 year ago
While I agree with general storage management needs in DC, we rarely see need to provision HW storage, change physical drives or raid types. Only when some servers detects broken drive we need some information, but list of assets and replacement parts is more than enough for us.
On the other hand, there is massive operational changes with hardware and software SANs, cloud storages and project/tenant resources (costs also, but it's CMDB info, outside of engineering tasks and Netbox's DCIM approach), VM migration contexts, monitored objects.
So, we more interested in documenting VHDs, mounted cluster VVs, cloud tenant/blob/storage classes and other communication/replication data, not the physical aspects of it.
I completely agree with you, @stavr666
It is important to keep in mind that there are many moving parts like you mentioned, both virtual and physical. The underlying physical components are equally important as the virtual components. In my opinion, the more information an engineer has, the better. In my opinion, that is the best way to operate - plus the eventual goal of entering data into other information systems would be helpful especially for our particular use case.. However, it all has to begin somewhere, and I believe NetBox is ready and capable of tackling Storage Management.
On the other hand, there is massive operational changes with hardware and software SANs, cloud storages and project/tenant resources (costs also, but it's CMDB info, outside of engineering tasks and Netbox's DCIM approach), VM migration contexts, monitored objects.
I do not thing this is outside the "Netbox's DCIM approach". I've used ansible to deploy vm's from info of the netboxbox side. Currently I use a custom field to specify the kind of storage but it would be nice if there was a report that shows how much storage is allocated of a certain type.
Most san storages gather a bunch of disk/raids in a pool that can then be allocated to a vm or device.
So something like this
netbox object Storage pool (size, type (SSD/HHD)(mayybe like a role?), replicated ....) netbox object LUN/disk: virtual dis attached to a device/vm
I do believe we need some kind of parent child relation between pools.
vm parent pools 3par storage -> child pool vmware datastore -> lun/diks: mapped to vm
device: parent pools 3par storage -> raw device mapping to device
To second this request, I do think that with SDS it's not out of netbox approach to manage disks ressources as requested, for instance, we do operate our netbox as our SoT for the whole infrastructure, it's our begining point of information for everything, would it be the automation system that provision our servers by modeling the storage layout and network from it or our DC guys.
Currently, we abuse the inventory items but it would be nice to really rework the module vs device feature.
Here is an exemple for HPE DL385 Gen10 plus v2:
It holds 3 front SFF drive bays named Universal media bay, that each host 4 slots, that can be filled with SSD/HDD SATA/SAS drives. Currently we can't have device type to get appropriate parent/child tree on this kind of setup.
Definitely +1 on this; as I'm building out our DC infrastructure and learning more about the design and centrality of storage in hyperconvergence, making storage a first class consideration in DCIM modeling, just like network and compute resources, is essential.
Our use cases are linked to our ISO27001 obligations:
All these procedures are automated by dynamically retrieving disk identification from servers and SANs and we maintain these informations dynamically.
Today, we try to do it via "inventory-items", but this not working well, as we have to attach the asset to a device, and thus we lose traceability.
I'm now in the VERY early stages of working on a plugin to solve this for my use case. Who knows if it'll go anywhere :)
NetBox version
v3.4.2
Feature type
Data model extension
Proposed functionality
With the growing expansion of the DCIM functionality, I believe it is time we start adding storage management within the DCIM module. Besides switches that utilize MiniSAS for stacking, please see my use case for more information on why I believe this is useful.
Storage management can be a complex set of infrastructure, especially when you step into the Fibre Channel, iSCSI, and SAS world. IQNs, WWNs, and other configurations are all important to a properly functioning virtual environment. Adding storage management to NetBox will be a great addition to the existing data center infrastructure management system. Please feel free to comment on any of my ideas! In my opinion, this is a very complex and important topic to get right out of the gate.
I propose that we add/modify the following:
dcim
, referred to asstorage-slot
. A storage slot within a device, which is an empty slot within the device which can house one storage disk.ModuleType
to include optional fields such asdisk_size
,disk_speed
dcim
, referred to asstorage-interface
. Now, this part could get a little hairy since, for example, some switches use MiniSAS interfaces for stacking.. This is just a rough idearaid-group
which would contain a list of disks. This group would also need to have certain properties, such asraid-type
. In order for this to work properly, we would need to have some validation before saving. Specifically we would need to check that the minimum amount of disks is added to the group for each raid type.Use case
In our data centers we have a handful of clusters that utilize DAS storage. We use Dell ME4024’s, which have two modular controllers (A/B) - each containing 4 SAS interfaces. Currently, when modeling the devices along with the module types, we are forced to use an “other” interface type. Even though this works technically, I believe it would be helpful to have the exact type available to those who work in the storage industry.
It is my intention to track each World Wide Name or iSCSI Qualified Name, as well as their mapping information. In addition to assisting with manual configuration management, especially with our data centers and their teams, I also intend to integrate our NetBox instance with Dell OpenManage/LibreNMS monitoring. While it is rare, sometimes we receive SNMP alerts regarding specific IQNs. Using the extensive data set within NetBox, we can correlate the data and automatically gather the specific interface, cable, and downstream client device along with running programmatic tests to verify configuration.
Database changes
Addition of the following tables, as well as their supporting linkings/indexes (this is a very rough idea, community ideas are needed):
dcim.storage_slot
,dcim.storage_interface
, possiblydcim.raid
. We might even want to add a completely new data model forStorage
.External dependencies
No response