How to upgrade Ansible to 2.1 on Debian 8.4

Upgrading to Ansible 2.1 on Debian (validated on version 8.4) requires some pre-requisites to be in place, below are the steps required to upgrade.

Ensure that sudo is installed (skip this step if you already know that it is):

apt-get install sudo

Upgrade all packages:

sudo apt-get update
sudo apt-get upgrade

Install build pre-requisites:

sudo apt-get install build-essential libssl-dev libffi-dev python-dev

Upgrade to the latest version of the Cryptography module:

sudo pip install cryptography --upgrade

Finally, upgrade Ansible to the latest version:

sudo pip install ansible --upgrade

Nimble Storage Performance Policies & block sizes on VMware ESXi, SQL & Exchange

Unaligned I/O can reduce storage performance un-necessarily, as it results in more I/O operations than necessary.

Similar to using jumbo frames in networking, whilst you can utilise performance policies, and also in guest connected iSCSI to drive increased performance, unless you need to, for the purpose of simplicity and avoiding the risk of errors, the general recommendation is to store them all on VMFS data stored using the Nimble ESXi5 performance policy. Additionally create a copy of the ESXi5 policy but set it to not cache, and use that performance policy to create datastores to use exclusively for where there is no requirement for caching (i.e. write only volumes such as SQL/Exchange log files).

There are other approaches, and whether to apply those depends on your environment.

Direct mapping via iSCSI within the guest:  it does have some advantages, and is slightly faster, but depending on your environment can have drawbacks.
To utilise performance policies for maximum performance (SQL used as an example here, you can do the same for Exhange):

Put the OS drive on a nimble datastore that has the ESXi5 performance policy, put the data drives on a VMFS volume that is on a datastore that has the Nimble SQL (the right version of SQL) data perf policy, and put the log drives on a VMFS that has the SQL log perf policy – this is how I have mine configured, with no issues. 

i.e. the perf policy matches the workload, not VMFS, but the data  stored on that datastore must exclusively be the type of data that matches the Nimble performane policy. 

If you accidentally put the wrong type of data on those volumes it could lead to unaligned IO.

I have mine set up with all ESXi5 datastores in a VMware datastore cluster, and keep the datastores with application specific nimble performance polices outside of that cluster to minimise the risk of this happening. I also name the app specific datastores to indicate that they are just that, to minimise human error).

Explanation here:https://connect.nimblestorage.com/thread/1717 

which also includes a link to 

https://connect.nimblestorage.com/community/data-protection/blog/2013/06/26/myth-buster-top-three-myths-in-block-size

It is less of an issue now that Windows 2008+ does this automatically when creating new volumes, but if you have alignment issues check that your drives within the guest are aligned (https://technet.microsoft.com/en-us/library/dd758814(v=sql.100).aspx), and check that your windows volumes holding SQL data and logs are using a 64k NTFS allocation unit size.

PuTTY window closes after a few minutes – Fixed

If you find that the PuTTY window closes itself after a few minutes of inactivity, there is a setting change you can make to prevent this.

When PuTTY starts, click on ‘Connection’ on the left hand side, then change the entry ‘Seconds between keepalives (0 to turn off) from the default of 0 to 5.

*Caveat: You will now require to manually close the connection, as PuTTY will send null packets to the host to prevent it timing PuTTY out due to inactivity – unless the host has a maximum session timeout or a loss of network connection.

To keep the setting on future PuTTY sessions, click ‘Session’ on the left, click ‘Default Settings’ then press the ‘Save’ button.

snip_20160513202611

snip_20160513203441

Experiences of and preparing for a large public speaking event

Ian Noble @ Oil Gas ICT

How I got the gig

In November 2015, a call for speakers went out to various people around Aberdeen, UK, for the largest IT event on the calendar, Oil & Gas ICT, hosted by Scot-Tech.

I had a story to tell, and lessons to share, and it was right in my own backyard, but I had never done a public speaking event before, sure plenty of presentations and whiteboard sessions within the confines of company walls, but not subject to public scrutiny by your peers.

So I fired back the mail, with a rough guide of what I’d talk about, to Pete from Scot-Tech, and he’d seen similar talks before so he was keen to include it.

Over the next few months, I got more information through. It wouldn’t just be a public talk, it would be a panel Q&A session too, again another first, would someone ask a question I couldn’t answer and look foolish?

Preparation – an Introduction

I know plenty of others who have given public talks and attended many events on different subjects, seeing many different speakers and their different styles. I knew what was engaging & what wasn’t.

I had also seen various different advice, from rehearsing only the first 5 minutes, to the whole talk, to taking part in stand up comedy boot camps.

VMware run their own events around the world often and have a preference for community speakers over just vendor talks. One of their community evangelists, Mike Laverick, started up a FeedForward program, where if you agree to talk, he will support and guide you, giving critical feedback on your talk and slide decks etc.

I knew a few people who had benefited from Mike’s support, Nick Furnell, and Alan Norrie (a fellow Aberdonian, who gave a talk at the Scottish VMUG, and also talked at this same event).

However, as this wasn’t a VMware event, and Mike was no longer at VMware, this isn’t something I could take up, but it helped highlight the benefits of getting others to review & assist.

However, a friend was also giving a talk at the same event, his first one also, so we worked through the prep together, this didn’t just help for practical preparation, but moral support also!

Practical Preparation

Over the years, I’d collected several books on public speaking, I’d like to say I went back and read those cover to cover, but I felt I needed something more interactive, so I signed up to several video-based courses on Udemy (although I did end up buying one extra book in 2016).

I could watch the Udemy videos at home and listen to the audio on the commute into work, and they helped me both in the creation of the slide decks, the structure of the talk, and how to avoid any fears or nervousness. I learned many valuable lessons.

One of the most valuable was just one chapter (1) from one audio book, The Power of Now. I didn’t listen to the rest of the book, as it was pretty intense and I didn’t want to mess with my mind too much, but there was one tip in there that would keep the nerves in check leading up to the talk itself:

If you find yourself questioning yourself, being negative, that’s just your brain. It’s not you. Tell it to be quiet.

Given I was going to stand in front of 100+ peers, I also invested in looking smart, new shoes etc, and got contact lenses for the first time in my life.

Udemy

Crush Your Fear of Public Speaking With Ease!

Presentation Bootcamp: Hands-On Content Creation Skills

Presentation Bootcamp: Hands-On Presentation Delivery Skills

Enhance Your Speaking Voice

Books

2013

How to be Brilliant at Public Speaking: Any Audience. Any Situation

2014

 How to Deliver a TED Talk

2015

Do You Talk Funny?

2016

Get Your Public Speaking Mojo Back

Creating the Slide Deck

The main lesson learned from the Udemy courses was the talk is for the audience. It’s not for you. It’s not about you. It’s only about meeting the needs and wants of the specific audience in front of you. What will keep them engaged and not fall asleep or want to walk out of the room.

There is a specific course just on slide deck creation (Presentation Bootcamp: Hands-On Content Creation Skills) and would recommend following that if you need to put one together for the first time.

I would like to say my deck covered all the lesson’s, but it didn’t, pressures of time and other priorities saw to that, but it’s better than it could have been.

The day before

The conference was a 2 day event, so in the morning I attended and talked to several people, to get a feel for what people were talking about, what they wanted to know, how they were feeling, so that I could fine tune my talk.

The morning of the talk

In the morning, I printed out my final version of the slide deck and supportive notes, and did the first run through. Some nerves and heart palpations quickly got under control through some of the techniques above, including taking deep breaths. I took a break, put in my contacts, ran through it a few more times, focusing especially on the start, then walked out the door to drive to the conference.

I met up with some friends and colleagues from work and chatted with them and toured around the vendor stalls and talked to them also, quite a few I already knew. At the Simplivity stand, I bumped into one of the people I’d talked to on twitter, Hani El-Qasem who was a veteran public speaker doing 15 a year, who gave me last minute moral encouragement, then into the hall itself.

1 hour before the talk

I saw a photo of the main hall a few weeks prior so wasn’t completely surprised, but when I walked in and saw all the chairs, I didn’t expect the display projection to be so big, it was huge! Luckily, my slide deck didn’t look bad. Phew!

The next 30 minutes was getting introduced to Ray Bugg, and my co-panel presenters and the chair, where we swapped what we would be talking about, our backgrounds etc. I’m glad there was water on the table because I drank a LOT (because it was dry, not because drinking water keeps your voice in good shape, or Hani saying that Tony Blair used to drink lots before a talk so he could wrap it up quick!)

The Chair also asked what my talk was about in one sentence so he could give his introduction, and that was that. Time for us to give our talks.

Chair, Mark Stephen, BBC Broadcaster

Panelist, Doug Webster, Executive IT Consultant and former Global ERP Manager at Shell

Panelist, Morgan Eldred, Research Director, Gartner

5 minutes before my talk

Another panelist was doing his talk before me, and with the introduction that Mark Stephen, the chair, would give when it came to my turn, it quickly became apparent that the very start of my talk was irrelevant. A quick scoring out and re-structuring of my notes, more water, and I was ready.

The talk

What I had learned kicked in and it was pretty much automatic. Make eye contact with some of the audience. Look around at different sections of the audience. I felt it was going ok, apart from getting jumbled at one section, it did actually go ok.

The Q&A Panel

I need not had worried about the Q&A Panel so much, I knew my content and knew industry specifics.

After the talk

My co-panelists, who were experienced public speakers said I did well, shook hands and that was it. It was over.

I was glad that I did it, the biggest feeling was anti-climatic, having spent so long preparing for and building up for this, and now it was over.

I learned a lot throughout the experience that will be beneficial not just for public speaking.

There is still a lot to learn, and I’ll keep learning for the next time, but I’ll know next time I’ll be able to do better, and that’s what it’s all about.

I shared my story, what I knew, I know I could have done better, but I didn’t crash and burn, and I’ll be much better the next time for having done this.

Lessons Learned

If I were to do it again, I’d also do the following:

Set myself personal deadlines. There’s nothing like a deadline to force you to get stuff done.

Practice more. Practice so much that you don’t need any notes. So you can focus 100% on delivery and audience reaction.

Thanks

Thanks go to Simon Wardley who gave me the ok to include his content.

More Pictures

Ian Noble @ Oil Gas ICT

Ian Noble @ Oil Gas ICT

My day at the Scottish VMUG, 26 November 2016

The Scottish VMware User Group (VMUG) was held this November at Dynamic Earth in Edinburgh.

It was a great location, with floor to ceiling windows giving lots of natural light and just 15 minutes walk from the central train station.

Dynamic Earth, Edinburgh

(some) of what I learned

unmap – to free up space after storage vmotions and deletions, can be run on some storage arrays with no performance impact (check with the manufacturer how it behaves with your storage – I went back to the office and freed up 1TB of space).

There is less talk about building an internal private cloud to compete with Amazon and Azure (have a read over at Simon Wardley’s blog post ‘What’s wrong with my private cloud …‘).

There isn’t enough talk (yet) on utilising the public cloud.

– VMware VSAN is getting better and better with every release (Overview of 6.1), and has a compelling use case for ROBO deployments, and in harsh environments where solid state storage is preferable to spinning disk.

Even with RAM caching, a PernixData deployment can be made even faster by swapping out the internal SSD layer with faster storage.

IGEL has the best thin client management console I’ve seen to date.

A reminder that Latency & Throughput is what ultimately matters when it comes to storage Input / Ouput performance.

An experienced (ex) user of Puppet in the audience at one session raved about how Ansible was better (summary of differences).

The next Scottish VMUG will be in April 2016.

WLC Control Path Down on a Cisco WIFI Mobility Group

Scenario:

The guest WIFI cannot be connected to.

When you log onto the Cisco Wireless Lan (WLC) controller, under the mobility group status it shows a “Control Path Down”.

No other related outages are currently active, configuration changes have been not made on the WLC or to firewall rules (review if they have), and the guest WIFI has been operational previously.

WLC Control Path Down

Possible Solutions:

1) Log onto the firewall between the internal and DMZ WLC, locate the firewall active session table, search for sessions with source = the internal WLC IP Address & destination the anchor WLC IP address.

If any are active, close those specific sessions.

How to achieve this varies from firewall to firewall.

If this does not resolve, move onto the next possible solution:

2) Reboot the guest WIFI WLC, if this does not change the mobility anchor back online, arrange for and then also reboot the internal WLC (the latter will result in the WIFI network going offline if unless you have high availability solution).

The #VMunderground panel sessions at #VMworld are available to watch live

#VMunderground – “A series of panel sessions ‘by the community, for the community.'”

An impressive list of panelists discussing Storage, Automation, Data Protection, Infrastructure, Networking & Careers.

Even if you aren’t registered for VMworld, you can still watch them live here:

http://blog.vmunderground.com/live-stream/