Tag Archives: CLI

Executing a batch of commands on multiple IBM SVC/Storwize storage systems

Sometimes you have to change several configuration parameters or run multiple commands over a list of IBM SVC storage systems. Here is my small Python 3 script to do the stuff quickly. It requires Paramiko module to handle SSH interactions. Edit … Continue reading

Posted in Storage Automation, Tips & tricks | Tagged , , , , , , , , , | Leave a comment

Scan IBM SVC/Storwize system for “SCSI ID Mismatches”

A small addition to the SAN/Storage CLI Toolbox which shows so called SCSI ID (LUN) mismatches on IBM SVC/Storwize systems. This Bourne shell/awk script shows the list of the same vdisks that are mapped with different SCSI IDs. Should be useful … Continue reading

Posted in Storage Automation, Tips & tricks | Tagged , , , , , , , , , , , , | Leave a comment

Fetching data from Hitachi Command Suite with HiCommandCLI, PowerShell and Python

You may say it’s not worth writing a post on the subject, just use the Command Suite CLI, Luke and that’s all! But sometimes HCS CLI behavior is not so obvious. Telling the truth it may surprise you.

Posted in My projects, Storage, Storage Automation | Tagged , , , , , , , , , | 4 Comments

Setting memory size for Hitachi Command Suite CLI (HICommandCLI)

When running CLI for Hitachi Command Suit (HICommandCLI.sh in UNIX or HICommandCLI.bat in Windows) we sometimes get this type of error: KAIC90574-E The memory for the CLI became insufficient while this operation was being performed Command Suite CLI is actually … Continue reading

Posted in Storage, Tips & tricks | Tagged , , , , , , , | Leave a comment

How can you find out which process is listening on a port on Windows?

If you can start cmd as an Administrator, simple run: netstat -nab which will give you the list of open sockets along with the names of processes. In other case you can try to find it by process-id manually. For … Continue reading

Posted in Tips & tricks | Tagged , , , , | Leave a comment

Quick reference for adding and attaching drives in VirtualBox CLI

Recently VirtualBox Manager GUI running on my Windows box, began to crash without any known reason when creating new or attaching existent virtual drives to any of the virtual machines. So I have to do all the things using CLI now and definitely I enjoy the … Continue reading

Posted in Storage, Tips & tricks | Tagged , , , | Leave a comment

Quick check for Command Devices mapped from Hitachi arrays

In CCI, under HORCM/etc run: raidscan -x findcmddev 0-100 If Tuning Manager Agents are installed: INSTALLATION-PATH/jp1pc/tools/jpctdlistraid In MS Windows it’s better to specify Command devices like \\.\CMD-12345 instead of \\.\PhysicalDriveX where possible to avoid occasional drive mix after reboot. UPDATE … Continue reading

Posted in Storage, Tips & tricks | Tagged , , , , , , , , , , , | Leave a comment