For LSF 2018 slides see this pdf.
What is Project Springfield?
Project Springfield’s purpose is to coordinate the development of management APIs for each component in the storage stack: for automation, health and status monitoring, as well as sane and easy configuration. It is a scalable solution, working from a single node to large deployments with a mix of base metal, containers and VMs.
The goal is to provide the APIs needed to improve many of the existing management tools, and foster the development of new tools, for managing storage. The scope includes bare metal, containers, and VMs, at local, data center, and enterprise-level deployments. As such, Springfield should be viewed as an umbrella project, encompassing a number of sub- projects. There is not expected to be a separate binary or a library with the name “Springfield.”
Springfield was presented for the first time at Vault 2017 in a birds of a feather session.
Springfield builds upon and enhances the existing work of those projects:
You can also find some information in slides for conferences.
OK, but what does it do?
Let’s back up for a minute and define storage management. Storage management refers to a fairly large set of functions – all of which are, of course, related to storage. Here’s a high-level list of what it entails:
- enumerate block devices and network filesystems
- provide properties for each device, including relations with other devices
- drives, partitions, lvm, md
- drives includes: spinning rust, SSD, flash, NVMe, including those behind storage appliances
- manage block devices and their formatting
- device create, destroy, resize, rename, reshape
- this includes volumes on a storage appliance
- file system create, destroy, resize, modify (UUID, label), mount, unmount
- monitor health/status and configuration changes, provide a notification framework
- device failures and warnings
- file system full (or nearly full)
- device created, destroyed, resized, renamed, or reshaped
- file system created, destroyed, resized, modified (UUID, label)
- file system mounted, unmounted
The management of storage network switches is not planned, due to the lack of open source multi-vendor industry standards in this area.
|controller based storage||directly-acessed storage||iscsi initiator||notification||plugins||modeling||high-level API|
A visual representation of the interactions between the projects, with known users of Springfield projects and the backends Springfield provides.
What project should I use?
Which project fits my requirements? Following are some examples of potential scenarios and guidance as to which of the Springfield projects is best suited for the application.
I have a python script that does some lvm management including queries and stack modifications. What should I use?
Libblockdev or blivet. Libblockdev is more direct, almost like directly replacing the lvm commands 1:1, but saving you the code for executing programs and parsing output. Blivet provides a more complete view of the system’s storage and provides a bit more leverage, but with more overhead. Lastly, lvm provides its own DBus interface for management.
I have a C app that does some lvm management including queries and stack modifications and must run from the initramfs. What should I use?
Libblockdev. Blivet is a python module and there is no python runtime in the initramfs.
I have a storage management application that needs to manage local storage and receive notifications when things change on the stack. What should I use?
Udisks. Udisks send signals via DBus whenever a new device is added or removed and can also handle most local storage management tasks.
I have a storage management application that needs to manage external storage arrays or local RAID HBA or SCSI enclosure. What should I use?
So, you’d like to contribute?
Or, if you have an idea or suggestion or if you know about another project that would benefit from this joined effort, feel free to tell us. The more people cooperating, the better the result. In that case, you can write us at firstname.lastname@example.org. The mailing list archive is at https://sourceware.org/ml/springfield/ and you can subscribe here.