Author Archives: Alan

About Alan

Alan Renouf has a role of Automation Frameworks Product Manager at VMware responsible for providing the architects and operators of the cloud infrastructure with the toolkits/frameworks and command-line interfaces they require to build a fully automated software-defined datacenter. Alan is a frequent blogger at http://blogs.vmware.com/vipowershell and has a personal blog at https://virtu-al.net. You can follow Alan on twitter as @alanrenouf.

Remotely Managing VMware vSphere through your mobile device

Remember the VMware Community PowerPack for PowerGUI? With it we were able to manage our VMware environment through a MMC style GUI placed on top of PowerCLI Scripts, this gave us the benefit of custom task based actions with a nice and easy to use interface.

Now Imagine if you could have the same great customized management options for your vSphere environment on a mobile device or tablet device.  Imagine no longer!

Mobile IT

Mobile IT is a new application which is available on a number of different mobile devices and tablets that allows us to import Mobile Packs which are custom written packs that work with your applications and also Power Packs which were previously written for PowerGUI.

So What do I need?

The Server

The first thing you will need to do is setup the server which is going to run Mobile IT, this is where we have two options.  In a corporate environment you will probably want all connections to go straight to your systems and you will want to manage the traffic and every aspect of the environment, in this case you would have the Mobile IT Server in your DMZ and the Mobile IT Agent on your network as per the image below taken from the Mobile IT documentation.

TinyGrab Screen Shot 12-01-2014 17.55.30

The second option (which was perfect for my home lab) is where Dell hosts the gateway server for you, you can then install the Mobile IT Server and Agent on your network (I had them both on the same server) as per the below diagram taken from the Mobile IT documentation.

TinyGrab Screen Shot 12-01-2014 17.55.08

The Install was very easy and I had the system up and running in around 20 minutes, once setup it was easy to import the VMware Community Power Pack and add the same machine as a new instance in the web admin interface.  I also installed PowerCLI on this server which is needed by the Community PowerPack.

TinyGrab Screen Shot 12-01-2014 18.58.46

The Client

Now all you need to do is install the app on your phone or tablet, a client is available in the app store of each of the following devices and is currently free. Once downloaded and you have entered your company name and credentials it will communicate with your Mobile IT server where you can authorize the device for use on your network.

Download

Check out the Mobile IT Site here for downloads and documentation.

See it in action

See it in action with the VMware Power Pack below and remember, this is all based on PowerCLI so you can customize the scripts and allow access to your tasks from any mobile device.

The UK, now with more VMUGs

imageI am a big fan of the VMUGs, especially in the UK, my first VMUG was the London VMUG, I started attending a long time ago and traveled from the south west of England to join in.  This is where I started presenting and learning more about VMware and vendor related products.

As a side note you should also make sure you volunteer to talk at the VMUGs, Duncan gave some great tips about talking in his recent post so make sure you check them out.

My first real presentation was at a the London VMUG, I stumbled my way all the way through it and never did I think that just a few years later I would present to over 1,000 people at VMworld, I guess it shows you what you can achieve and why you should get involved!

Anyway, the main reason for this post is to let everyone in the UK know that there are now multiple VMUGs that you can attend so you have no reason not to join in and talk to like minded people.

London VMUG

Next meeting is January 23rd 2014, sign up here to find out more info and learn about upcoming VMUGs.

South West VMUG

Next meeting is February 18th 2104, sign up here to find out more info and learn about upcoming VMUGs.

North East VMUG

Next meeting is March 13th 2014, sign up here to find out more info and learn about upcoming VMUGs.

North West VMUG

Next meeting is not currently scheduled, sign up here to find out more info and learn about upcoming VMUGs.

Yorkshire VMUG

It would seam Yorkshire is no longer in the North of England Winking smile Next meeting is January 30th 2014, sign up here to find out more info and learn about upcoming VMUGs.

Scotland VMUG

Next meeting is not currently scheduled, sign up here to find out more info and learn about upcoming VMUGs.

And don’t forget the Ireland VMUG

Next meeting is not currently scheduled, sign up here to find out more info and learn about upcoming VMUGs.

Automation Tip 5 – Simplify, Don’t automate a broken process

image

The most important item in automation is the process, if the process is broken so will the automated process be, automation is not a magic wand that will suddenly fix any issues with processes you have at the moment.

Automating a task does however give you a good chance to review a process and think about if this is still the best way to achieve things, often processes are organically grown and are not reviewed, take this opportunity to draw out the process with the people involved, make it as simple as possible, do you still need 17 approvals?

Remember, some steps just can not be automated, make sure you identify these and look for a way in the future to resolve these, its not ideal but sometimes the only way to succeed is by automating most of the work and then processing the manual tasks at the end or in worst case half way through, in the past I have seen prompts to an operator or an email telling them what to do before clicking on a link to perform the rest of the automation task.

Sometimes there are tasks that simply can not be automated, these are far and few between but don’t worry, don’t try and jam them in to an automated process, move on and return later, think about how to mitigate this when looking at new software or SDDC solutions.

Simplify, it will save you time and it will make you automation tasks much easier to implement and debug later!

More Automation tips

More tips from this series created by myself and Thomas Corfmat for a session at VMworld 2013 can be found below (updated as published), if you have a login for VMworld.com you can also watch the full session here.

 

Automation Tip 1 – Measure It!

Automation Tip 2 – Find your standards

Automation Tip 3 – Its all about people

Automation Tip 4 – Select the right mix of people

Automation Tip 5 – Simplify, Don’t automate a broken process

Automation Tip 6 – Automate incrementally

Automation Tip 7 – Testing

Automation Tip 8 – Documentation

Automation Tip 9 – End to end automation

Automation Tip 10 – Follow the “Automation Triangle”

Automation Tip 4–Select the right mix of people

image

When automating, make sure you think about automating the solution end-to-end, as part of this you will need to talk to domain experts, the people with tribal knowledge and normally admin rights to the systems.  The people who know not only how the systems work in your environment but also have the specific process knowledge for that area.  These people will help you automate the task so much quicker and easier.  This will also go a long way to gaining their buy in for the task and the areas that will be handed off and covered by this automation process.

It helps if these people already know what you are trying to achieve and even more if they have previous knowledge on automation, scripting or development.  Creating a cross departmental or technology automation task force* will help with building relationships and pave the path for future automation projects.

*YMCA dance not necessary when forming automation task force!

 

More Automation tips

More tips from this series created by myself and Thomas Corfmat for a session at VMworld 2013 can be found below (updated as published), if you have a login for VMworld.com you can also watch the full session here.

 

Automation Tip 1 – Measure It!

Automation Tip 2 – Find your standards

Automation Tip 3 – Its all about people

Automation Tip 4 – Select the right mix of people

Automation Tip 5 – Simplify, Don’t automate a broken process

Automation Tip 6 – Automate incrementally

Automation Tip 7 – Testing

Automation Tip 8 – Documentation

Automation Tip 9 – End to end automation

Automation Tip 10 – Follow the “Automation Triangle”

Automation Tip 3–Its all about people

image

 

Remember, when automating its all about the people, you will be crossing boundaries, sometimes annoying people by accessing their systems and potentially removing some of the work they need to do in a manual process.  This is why its key to get a corporate sponsor or champion that fully backs what you are trying to do and agrees with your vision.  You will need their backup and help!

 

Tell people about what you want to do, educate the people who are involved in the current manual process, tell them about what will be changing, how it will be working and how they can help, often people can see the benefits of Automation and are keen to help achieve the goal, you will need their help.

 

You will be talking to many different teams in complex processes as you will want to automate tasks from end to end, this includes gaining access to systems you may not have access to at the moment, breaking down the silo-ed mentality that some teams have.  Storage admins will not let you touch their baby, equally networking staff who have named and cared for each of their switches will not want anyone having access but them!

 

This can be a challenge which requires help from the sponsor and also enthusiasm through education of the end goal.

 

 

More Automation tips

More tips from this series created by myself and Thomas Corfmat for a session at VMworld 2013 can be found below (updated as published), if you have a login for VMworld.com you can also watch the full session here.

 

Automation Tip 1 – Measure It!

Automation Tip 2 – Find your standards

Automation Tip 3 – Its all about people

Automation Tip 4 – Select the right mix of people

Automation Tip 5 – Simplify, Don’t automate a broken process

Automation Tip 6 – Automate incrementally

Automation Tip 7 – Testing

Automation Tip 8 – Documentation

Automation Tip 9 – End to end automation

Automation Tip 10 – Follow the “Automation Triangle”

Automation Tip 2–Find your standards

image

 

Often there are standardizations you can identify which will cover 90% of your needs, these could be templates, blueprints or workflows that you can provide and reuse over and over again.

 
If you don’t have these you will receive different requests from every consumer which require ongoing management, customization and troubleshooting removing from speed and cost of the automated deployment and undoing any of the great work you have put into an automated system.

 

Make sure you find the sweet-spot that delivers the right amount of flexibility but covers the internal needs of the consumers of your automation, this could be the consumers of applications or infrastructure alike.

 

More Automation tips

More tips from this series created by myself and Thomas Corfmat for a session at VMworld 2013 can be found below (updated as published), if you have a login for VMworld.com you can also watch the full session here.

 

Automation Tip 1 – Measure It!

Automation Tip 2 – Find your standards

Automation Tip 3 – Its all about people

Automation Tip 4 – Select the right mix of people

Automation Tip 5 – Simplify, Don’t automate a broken process

Automation Tip 6 – Automate incrementally

Automation Tip 7 – Testing

Automation Tip 8 – Documentation

Automation Tip 9 – End to end automation

Automation Tip 10 – Follow the “Automation Triangle”

Automation Tip 1–Measure It!

As part of the “Automating the SDDC, Where do I start?” Session which Thomas Corfmat and I presented at VMworld we wanted to give some general Automation tips which can be used as best practices and guidelines to make sure you are thinking about the right things when automating your systems, we have 10 of these in total which will be posted on this blog in 10 separate blog posts, so lets get going with number 1.

Continue reading →

Automation–its not just a tick box!

During VMworld 2013 I presented together with Thomas Corfmat a session entitled “Automating the Software Defined Datacenter, How do I get started?” this was meant as a introduction on how someone who was interested in automation could start with VMware products and what they could achieve.

One of the first things we mentioned in this session is that there is no one size fits all, there isn’t one tick box that you can click and then suddenly “enable automation”, this is a common misconception by the C-Level staff of many organizations as they see automation in a slide deck and want some of it!  Automation is actually a combination of products, workflows and scripts created to give you the specific results you need.

Continue reading →

PowerCLI Group Discussion

VMworld PowerCLI Group Discussion–Part 3–Launching and Using

image

Following on from the previous posts in this series, this post will take us through the group discussion held at VMworld this year and expand on the items noted during the session.

This post will focus on what people in the session used PowerCLI for and also the various ways people used to launch the scripts.

Continue reading →