Quickly report alive IPv6 addresses on the network

While searching a robust solution to discover all alive hosts on the local IPv6 subnet, I have found the easiest way except, probably, ndp is to ping … no, not each of them, but the multicast address ff02::1 and then catch answers from all alive hosts.

On my Mac (and I suppose the same on any BSD or Linux system) ping6 utility can do the thing perfectly. For example, I run it on the interface (-I en0) to send two ICMP6 Echo-Request packets (-c 2) with a 10 seconds interval (-i 10) between them:

I wrote mping6.awk – a wrapper in awk language to simplify the task. It helps to get rid of statistical information and duplicated entries (in the example above e80::1019:5816:6b36:1b3e icmp_seq 0 and 1):

You can download this simple IPv6 address “scanner” from GitHub: mping6.awk

Posted in Misc, My projects, Tips & tricks | Tagged , , , , , , , | Leave a comment

My article about scripting is included into the “IBM System Storage SAN Volume Controller and Storwize V7000 Best Practices and Performance Guidelines” Redbook

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)
  • SMI-S
  • 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 🙂

Posted in IRL, My projects, Storage, Storage Automation | Tagged , , , , , , , , , , , , , , , , , | Leave a comment

Атбаш, Цезарь и Виженер в Гравити Фолз

На новый год Дед Мороз подарил сыну Дневник №3 неизвестного автора из Гравити Фолз. Папа теперь разгадывает коды и шифры.


Загадок в книжке полно, пришлось на коленке написать коротенький скрипт для для раскодирования кодов Атбаш, Цезарь и Виженер.

Для несчастных родителей или смышленых детей ссылка для скачивания тут: https://github.com/mezantrop/gfaciphers

Posted in Misc, My projects | Tagged , , , , , , | Leave a comment

Modelling arithmetic calculator in Fallout 4 game: Four bit adder

On the past weekend a friend of mine has asked if I really understand how all those bits are running inside computers. I answered positively for sure, but nevertheless decided to build a bicycle electronic device that require binary logic and operation. Having no Arduino, Raspberry or even soldering iron at my place I put my eyes on emulator … Fallout 4 game. Guys, really, who needs some boring emulator if we can have lots of fun, playing a game with amazing 3D graphic?

See my short video about switching tumblers on a huge concrete structure of CalcWall version 0.1:

I was planning to build at least Adder and Subtractor parts along with some kind of display and keyboard, but unfortunately my vacation is now over, so I have lost a chance to construct something more than a simple Adder implementation in a nearest future.

Current CalcWall schematic, not fully compliant to standards, is shown below:

Posted in My projects, Offtop | Tagged , , , , , , , | Leave a comment

Simple snake/wormlike creatures mod for Minetest game

Slugs. Find them on grass and dirt. A simple snake/wormlike creatures mod for Minetest to please my son who loves crafting 🙂

This is the very first, initial release. Don’t expect much, it’s very buggy and ugly. Slugs are brainless, they just move.

Download it from https://github.com/mezantrop/slugs

Installation: copy into Minetest mods directory, unpack, enable in the game.

Any ideas, suggestions and fixes are strongly welcome!

Short video is here: http://www.youtube.com/watch?v=3vZAIGXMFHY

Posted in My projects | Tagged , , , , , , , , | Leave a comment

svcstats.py – Report IBM SVC/Storwize storage system performance statistics in CLI using SMI-S interface

My *stat-like utility to report IBM SVC/Storwize storage system performance statistics in CLI using SMI-S interface.

Report IBM SVC/Storwize storage system performance statistics in CLI using SMI-S interface

  • Requires Python 3 with ‘pywbem’ module
  • Before running svcstats.py, enable statistic on SVC/Storwize system:
    svctask startstats -interval <1-60 minutes>

Download svcstats.py from GitHub

svcstats.py -n|-v|-m|-d -a address -u user -p password [-f minutes] [-ht]

-n, -v, -m or -d
option -q not recognized
Show nodes, vdisks, mdisks or drives performance statistics.

-a address -u user -p password
Valid IP/DNS address, username and passwors to connect with IBM SVC/Storwize storage system
[-f minutes]
Optional report frequency interval. Must not be less then default "StatisticsFrequency" value.
Disable column headers.
Show report date/time creation timestamp on the storage system

IBM SVC/Storwize CIM agent documentation

Project page: svcstats.py

Posted in My projects, Storage, Storage Automation | Tagged , , , , , , , , , , , , | Leave a comment

Extracting Performance Data from IBM Storwize

Vadim Zaigrin

Universal Storage Collector could extract performance data not only from EMC Storage Systems 🙂

New Extractor extracts data from IBM Storwize storage family.

View original post 116 more words

Posted in Copy-paste, Storage | Tagged , , , | 1 Comment