Tuesday, 21 May 2019

Bash (Linux) and Powershell (Windows) Scripts to Test File Access to Multiple Locations


Here’s the bash script with 2 example targets:

while true
([ -e /mnt/test1/test1.txt ] && date >> /mnt/LOG/log1.txt || echo "FAILURE")
([ -e /mnt/test2/test2.txt ] && date >> /mnt/LOG/log2.txt || echo "FAILURE")
sleep 1

Save as say fileaccess.sh and run in bash as sh fileacess.sh

In the above example we’re testing access to 2 files, each in a different mount point. Time stamp is log for successes. Failure is echoed to the screen for failure. There’s a wait of 1 second.

It’s possible to do it as a one line to from the bash shell:

while true ; do ([ -e /mnt/test1/test1.txt ] && date >> /mnt/LOG/log1.txt || echo "FAILURE") ; ([ -e /mnt/test2/test2.txt ] && date >> /mnt/LOG/log2.txt || echo "FAILURE"); sleep 1 ; done


Here’s the powershell script with 2 example targets:

"" > C:\LOG\log1.txt
"" > C:\LOG\log2.txt
If (test-path C:\mnt\test1\test1.txt){ [String](date) >> C:\LOG\log1.txt }
else { Write-Host "FAILURE" }
If (test-path C:\mnt\test2\test2.txt){ [String](date) >> C:\LOG\log2.txt }
else { Write-Host "FAILURE" }
sleep 1

Save as say filetester.ps1 and run in powershell .\filetester.ps1

Similarly, you could turn it into a one liner. Or you can just copy and paste it into powershell.


The idea is that you can set up a number of NFS mounts, and/or a number of CIFS shares, and test the availability of file access.

Thursday, 9 May 2019

Tech Roundup – 9th May 2019

An earlier than normal tech roundup due to the releases of NetApp ONTAP 9.6 & AFF A320!
Otherwise stuff collated/new since Tech Roundup - 14th April 2019 with headings:
IT Miscellany, NetApp, NetApp ActiveIQ, NetApp.io, NetApp TRs, Security, TechONTAP Podcast, Veeam

NetApp 8th May Releases: ONTAP 9.6 & AFF A320

NetApp Powers Data-Driven Organizations to Succeed

AFF A320: NVMe Building Block for the Modern SAN

Drive More Simplicity, Efficiency, and Security with ONTAP 9.6

ONTAP Data Management Software

AFF A-Series All Flash Arrays

What Is a Data Fabric?

Image: ONTAP Data Management Software

IT Miscellany

Some internet outages predicted for the coming month as '768k Day' approaches

Kubernetes the easy way - for monolithic apps


Drive Infrastructure Investment…Be the Cloud Architect

Building in Security by Default in Next Generation Data Center at NetApp

NetApp ActiveIQ

Download the mobile app:

Introducing Fabric Pool Advisor: Learn which clusters have inactive data and are candidates for tiering. View a summary of aggregates for which Inactive Data Reporting (IDR) is not enabled and learn how to enable IDR. Access this feature from the Advisories tab in the left navigation at the customer level dashboard.

NetApp.io (thePub)

New since the last Tech Roundup!

Bring in the Volumes!

Ansible Roles Make Day to Day Operations Easier

My Name Is Stein!

How to Install and Use Trident with Docker EE 2.1 Universal Control Plane and Kubernetes

NetApp TRs

New/apparent since the last Tech Roundup! Also see here: NetApp TRs 4500 to 4999


Hackers Compromise Microsoft Support Agent to Access Outlook Email Accounts

Emotet hijacks email conversation threads to insert links to malware

TechONTAP Podcast (+ WitIB)

New since the last Tech Roundup!

Sneak Peek! Elastic Sizing for FlexGroup Volumes in ONTAP 9.6

Sneak peek! REST APIs in ONTAP 9.6

BONUS CONTENT: ONTAP 9.6 Feature Overview

Episode 188: FlexGroup Update

Episode 187: MAX Data and Intel Optane DCPMM

Episode 186: ONTAP Storage Efficiency Overview


[Whitepaper] How to start with modern authentication in Veeam Backup for Microsoft Office 365 v3

Monday, 22 April 2019

Exploring the StorageGRID 11.0 Graphical Management Interface (GMI): Part 1 of 4 - Main Tabs


Image: StorageGRID 11.0 Dashboard

Top Bar

Image: Top Bar

- API Docs
- About

- Change Password

Tabs Bar (below Top Bar)

Image: Tabs Bar


- Rules
- Policies
- Storage Pools
- Storage Grades
- Erasure Coding
- Regions
- Object Metadata Lookup

Configuration - System Settings:
-- Domain Names
-- Grid Options
-- Link Cost
-- Storage Options
-- Display Options
-- Server Certificates

Configuration - Monitoring:
-- Global Alarms
-- Notifications
-- Email Setup
-- AutoSupport
-- Audit
-- Events

Configuration - Access Control:
-- Admin Users
-- Admin Groups
-- Identity Federation

Maintenance - Maintenance Tasks:
- Expansion
- Decommission
- Recovery

Maintenance - Network:
- Grid Network
- DNS Servers
- NTP Servers

Maintenance - System:
- License
- Logs
- Recovery Package
- Software Upgrade


Image: Alarms

Alarms - Current
Alarms - History


Image: Grid - Overview (Tab)

Image: Grid - Alarms (Tab)

Image: Grid - Reports (Tab)

Image: Grid - Configuration (Tab)

Note: Only services have configuration options here.


Image: Tenants

Image: Step 1 - Create Tenant Account

Image: Step 2 - Configure Tenant Account

Exploring the StorageGRID 11.0 Graphical Management Interface (GMI): Part 2 of 4 - ILM

ILM - Rules

Image: ILM Rules

Image: Create ILM Rule: Step 1 of 2: Define Basics

Image: Create ILM Rule: Step 2 of 2: Define Placements

ILM - Policies

Image: ILM Policies

Image: Configure ILM Policy

ILM - Storage Pools

Image: ILM Storage Pools

ILM - Storage Grades

Image: ILM Storage Grades

ILM - Erasure Coding

Image: ILM Erasure Coding Profiles

Image: Create EC Profile

ILM - Regions

Image: ILM Regions

ILM - Object Metadata Lookup

Image: Object Metadata Lookup

Exploring the StorageGRID 11.0 Graphical Management Interface (GMI): Part 3.1 of 4 - Configuration: System Settings

Configuration: System Settings - Domain Names

Image: Endpoint Domain Names

Configuration: System Settings - Grid Options

Image: Configure Grid Options

Configuration: System Settings - Link Cost

Image: Link Cost

Configuration: System Settings - Storage Options

Image: Storage Options Overview

Image: Configure Storage Options

Configuration: System Settings - Display Options

Image: Display Options

Image: Display Options - Entities

Image: Display Options - NMS Names

Configuration: System Settings - Server Certificates

Image: Server Certificates