The latest draft of the famous “IBM System Storage SAN Volume Controller and Storwize V7000 Best Practices and Performance Guidelines” book is already on the IBM Redbooks site.
And this year I was lucky to take part in writing it. Wohoo!
So read my text about scripting for SVC/Storwize storage systems on pages 425-438 of the book or as a standalone article IBM Spectrum Virtualize scripting on my blog.
My topic touches some universal ways of accessing IBM Spectrum Virtualize system with scripts. These methods can be easily applied to reporting, configuration and storage administration tasks. Though most of the current operating systems and almost any modern programming language have resources to illustrate the subject, this section concentrates mostly on UNIX/Linux environments with Bourne-again shell (bash) for simple examples and on Python version 3 for advanced cases. This section demonstrates basic usage of the following protocols, standards and APIs:
- Secure Shell (SSH)
- HTTPS and RESTful API on IBM Spectrum Control
- HTTPS on IBM Spectrum Virtualize
And yes, in this article I also show a nice way to collect performance statistic for individual volumes and mdisks.
For performance collection task you may also be interested in my svcstats.py utility 🙂