Friday 26 May 2017

Automating VNX Snapshots with EMC Storage Integrator Powershell

I've been working on automating snapshot creation for a bunch of datastores for one of our applications. In the past I would have written a PowerShell wrapper for the old Navisphere CLI, but I thought I would check to see if the PowerShell module for EMC VNX had gotten any better.

It has! Very much better!

Some of the nice features I have noticed while working on this script:
  • You can connect to multiple storage arrays and search for LUNs across arrays.
  • Once you have the LUN objects you can work on them and not need to care which SAN they are on.
I have published the script here on my GitHub.

The script is intended to be scheduled to run on a daily basis and will automatically clear any snapshots older than the 'expireDays' parameter.

The script will detect which type of LUN is passed in and will create a pool based snapshot for pool LUNs and a SnapView snapshot for RAID based LUNs.

Comments and improvements always welcome.

An example for running the script follows:

Wednesday 24 May 2017

Study Guide for Azure 70-533 (November 2016 Revision)

Sites that I used:

Azure Fundamentals Book (Second Edition) - Great overview covering many of the topics.

Gareth Jones' blog - Excellent selection of links for each of the topics on the official syllabus. Do not under estimate this page!

70-533 Official Microsoft Syllabus - Make sure you're up to date with any recent changes.

Azure MOOC on openedx - Lots of online courses with exams, labs, video and text. Some of the courses listed below might go into too much detail, but if you go into them with the official syllabus in mind they are a great resource.

Design and implement Azure App Service apps (15–20%)

MOOC - Azure206x

Create and manage Azure Resource Manager Virtual Machines (20–25%)

MOOC - Azure202x

Design and implement a storage strategy (20–25%)

MOOC - Azure205x

Implement an Azure Active Directory (15–20%)

MOOC - Azure204x

Implement virtual networks (10–15%)

MOOC - Azure203x

Design and deploy ARM templates (10–15%)

My ARM Templates Guide
ARM Template Walkthrough
Azure RBAC Custom Roles

Channel 9 Exam Prep Guide - Well worth an hour of your time, excellent video!

Azure Maximums - No need to put too much attention on these, but an overview is nice to have.

Azure Portal and Classic Portal - Make sure to play around.

IT Pro Cloud Essentials - Great resources for Azure, free credits, free access to learning materials etc.

Visual Studio Dev Essentials - More resources, more free Azure credits and learning resources!

The official MS practice test - Super useful to see where you need to study. I got mine as part of the Azure Single Pack exam.

Thursday 18 May 2017

What to expect from a Pearson VUE Microsoft Online Proctored Exam

Before your exam

Booking your exam.

I found out the hard way that you need to pre-schedule the slot for your exam. It's not a case of turn up and click start - you need to book it at least a day in advance or all the morning slots will be gone.

System Tests

Make sure to run the test available here

If you're planning to take this test at work you should attempt the tests from the exact meeting room that you plan to do the exam from. I would also suggest you try it an hour before your exam so that you can be sure the connection will work. You should run the test all the way to the end, paying special attention to the video test which counts down from 30.

If this part of the test does not work, it's probably because you are behind a proxy or your network isn't allowing port 1935 out to the internet.

Workspace for the exam

If anyone is detected in your workspace they will cancel your exam. You are recorded on webcam for the duration of the exam.

Make sure you book a quiet, out of the way meeting room with opaque walls and a door - Put some signs on the door to state that an exam is in progress and not to knock or disturb. Make sure the room doesn't have any posters up on the wall or writing on whiteboards etc. The desk or table you are using must be completley empty apart from your machine.

The full examination protocol is available here. There are a lot of rules so make sure you read them carefully.

On the day of your exam

Turn up to your meeting room early so you can run the system tests and still have time to get some network support before your time runs out! Close down any applications like Lync and other background apps.

Once you have completed the tests then you can login to the Microsoft exams and benefits dashboard and click through to start a pre-scheduled exam. You can click the begin exam button 30 minutes before your scheduled start time. I would suggest doing this as it took about 25 minutes from when I was first connected to a greeter for him to release my exam.

You'll need to perform a room scan with your webcam and I was asked to take another photo of my ID with my smartphone as the one taken through the software was not good enough.

Once you are through with all of the pre-exam checks your greeter will release your exam. It took a couple of attempts for me to start my exam due to running executables like bginfo and some other background tasks that were running on my work laptop. You'll be asked to kill any disallowed executable with Task Manager.

Would I use this service again?

Yes! After the teething problems I had, it took me 3 attempts to start my exam, but now I know the procedure, I would be happy to use it again.

Thursday 4 May 2017

Azure Portal - Virtual Machine Diagnostics Settings Blade not loading

I have noticed recently on quite a few of my VMs (specifically Windows 2012 R2 VMs, not sure about Linux) that the diagnostic settings blade won't load. The dots at the top of the blade keep moving but nothing ever shows.

To work around this issue, you can enable the diagnostics using the Boot diagnostics blade. Click on the Boot diagnostics tab:

Click the label that shows 'Click here to enable it'

Switch the Status to on, select a Storage Account and click Save

Once the setting has saved, you will now be able to open the Diagnostics settings blade and enable / disable diagnostics at will.

Nutanix CE 2.0 on ESXi AOS Upgrade Hangs

AOS Upgrade on ESXi from 6.5.2 to hangs. Issue I have tried to upgrade my Nutanix CE 2.0 based on ESXi to a newer AOS version for ...