At our recent SNIA Webcast â€œData Protection and OpenStack Mitaka,â€ Ben Swartzlander, Project Team Lead OpenStack Manila (NetApp), and Dr. Sam Fineberg, Distinguished Technologist (HPE), provided terrific insight into data protection capabilities surrounding OpenStack. If you missed the Webcast, I encourage you to watch it on-demand at your convenience. We did not have time to get to all of out attendeesâ€™ questions during the live event, so as promised, here are answers to the questions we received.
Q. Why are there NFS drivers for Cinder?
Â A.Â It’s fairly common in the virtualization world to store virtual disks as files in filesystems. NFS is widely used to connect hypervisors to storage arrays for the purpose of storing virtual disks, which is Cinder’s main purpose.
Â Q.Â What does â€œcrash-consistentâ€ mean?
Â A.Â It means that data on disk is what would be there is the system â€œcrashedâ€ at that point in time. In other words, the data reflects the order of the writes, and if any writes are lost, they are the most recent writes. To avoid losing data with a crash consistent snapshot, one must force all recently written data and metadata to be flushed to disk prior to snapshotting, and prevent further changes during the snapshot operation.
Q. How do you recover from a Cinder replication failover?
Â A.Â The system will continue to function after the failover, however, there is currently no mechanism to â€œfail-backâ€ or â€œre-replicateâ€ the volumes. This function is currently in development, and the OpenStack community will have a solution in a future release.
Â Q.Â What is a Cinder volume type?
Â A.Â Volume types are administrator-defined “menu choices” that users can select when creating new volumes. They contain hidden metadata, in the cinder.conf file, which Cinder uses to decide where to place them at creation time, and which drivers to use to configure them when created.
Â Q.Â Can you replicate when multiple Cinder backends are in use?
Â A.Â Yes
Â Q.Â What makes a Cinder â€œbackupâ€ different from a Cinder â€œsnapshotâ€?
Â A.Â Snapshots are used for preserving the state of a volume from changes, allowing recovery from software or user errors, and also allowing a volume to remain stable long enough for it to be backed up. Snapshots are also very efficient to create, since many devices can create them without copying any data. However, snapshots are local to the primary data and typically have no additional protection from hardware failures. In other words, the snapshot is stored on the same storage devices and typically shares disk blocks with the original volume.
Backups are stored in a neutral format which can be restored anywhere and typically on separate (possibly remote) hardware, making them ideal for recovery from hardware failures.
Â Q.Â Can you explain what â€œshare typesâ€ are and how they work?
Â A.Â They are Manila’s version of Cinder’s volume types. One key difference is that some of the metadata about them is not hidden and visible to end users. Certain APIs work with shares of types that have specific capabilities.
Â Q.Â Whatâ€™s the difference between Cinderâ€™s multi-attached and Manilaâ€™s shared file system?
A.Â Multi-attached Cinder volumes require cluster-aware filesystems or similar technology to be used on top of them. Ordinary file systems cannot handle multi-attachment and will corrupt data quickly if attached more than one system. Therefore cinderâ€™s multi-attach mechanism is only intended for fiesystems or database software that is specifically designed to use it.
Manillaâ€™s shared filesystems use industry standard network protocols, like NFS and SMB, to provide filesystems to arbitrary numbers of clients where shared access is a fundamental part of the design.
Â Q.Â Is it true that failover is automatic?
Â A.Â No. Failover is not automatic, for Cinder or Manila
Â Q.Â Follow-up on failure, my question was for the array-loss scenario described in the Block discussion. Once the admin decides the array has failed, does it need to perform failover on a “VM-by-VM basis’? How does the VM know to re-attach to another Fabric, etc.?
A.Â Failover is all at once, but VMs do need to be reattached one at a time.
Â Q.Â What about Cinder? Is unified object storage on SHV server the future of storage?
Â A.Â This is a matter of opinion. We can’t give an unbiased response.
Â Q.Â What about a “global file share/file system view” of a lot of Manila “file shares” (i.e. a scalable global name space…)
Â A.Â Shares have disjoint namespaces intentionally. This allows Manila to provide a simple interface which works with lots of implementations. A single large namespace could be more valuable but would preclude many implementations.