Blog

  • Install VIB to your ESXi hypervisor

    What an incredible 3 months I have already had at my new employer, I have learnt so much already and I have a lot more to learn, but it has been giving me the challenges I have been wanting to face for a long time. Two massive projects that were essentially from the first week of two products I had very little to no experience with.
    Its really been a great learning experience, and now I think it is time to start getting back into blogging.

    Today I want to start with something easy, yet something that is used often, but not many necessarily know how to do.

    Installing VIBs on to your hypervisor is very handy is something you may need to do from time to time. There are many reasons why you might do this. Dell’s openManage is required to be installed on the hypervisor for Support Assist to monitor the hypervisor’s health.

    Today’s tutorial is going to be installing the VMware tools for Nested ESXi available from Flings.

    Flings, if you haven’t heard of, is where engineers from VMware will work on side projects for users to test and explorer, with the possibility they might be incorporated into a commercial product by VMware.

    Tools:

    • vSphere Client 
    • VIB file
    • putty

    Lets get Started:

    1. First thing to do is to make sure that you have SSH turned on for your host.

    To do this.

    • Open vSphere Client and Log in.
    • Select Host and Clusters
    • Select Host
    • Select Configuration Tab
    • Click the Security Profile link
    • Select SSH then options 
    • Set Start and Stop with Host. 
    • Click Start
    • Select OK and OK.

    2. Next we need to upload the VIB file to the Datastore so that it is easily accessible when we are SSH on to the host.

    • Select Datastores and Datastore Clusters
    • Right Click on the datastore you want to use and select Browse Datastore
    • Select the Upload icon to upload to the root 
    • Find VIB file and click upload.

    3. After the VIB file has been uploaded, the host needs to be placed into Maintenance mode.

    • Right Click Host
    • Select Maintenance mode
    **Remember that when you place a host into Maintenance Mode the VMs will be either vMotioned or powered off.

    4. Log on to the host via SSH using Putty
    • Open up Putty and select SSH 
    • Type in the host IP and set the port to 22 {default}
    • Click Open 
    • Once the shell screen opens, enter the hosts root username and password (when prompted)

    5. Enter the following lines to install the VIB from the datastore *Note I shortened the filename
    # cd /vmfs/volumes/LocalStore/
    # esxcli software vib install -v /vmfs/volumes/LocalStore/esx-tools-for-esxi.vib -f
    # esxcli system shutdown reboot -r “VMware Tools Installation”



    6. Once the host has rebooted and connected in vCenter, you can exit it out of Maintenance Mode
    • Right Click host and select Exit Maintenance Mode
    Thanks for reading all. It has been a little while since I have written a post, and I promise to get back in as quick as I can. 
    If you have any suggestions for posts, or any other comments- please feel free to contact me.
    Thank you. 
    -Keiran. 
  • Taking a Step Forward

    It’s been a while since I have last made a post, but a lot of things have been happening, a lot of new and exciting things – and I would like to share them with you.

    After 8 and a half years, today marked my last day working within Education Queensland. it’s been a fun journey, having started out at a local primary school doing a traineeship one day a week, to moving through to a large high school in the end.

    In my time working within EQ, I have gained a lot of knowledge that has put me in the position I am today. When I started, I knew enough to get by and to be able to troubleshoot. Once I moved out of my traineeship, I then moved on to a small high school that I was the sole technician, I was walking into a site that had been left unattended for 6 months, this is when things got interesting – The first thing was I had to work out how this site had been set up, second, “How do you use Novell?!?!”   That’s right, I had never used Novell. Luckily, it was still running and I just left it alone most of the time (We were less than 6 months away from being migrated to Windows to come uniform with the rest of EQ). The next great thing was I got to a lot of stuff about Macs and gained a really great friendship with the Apple developer in head office, I spent a lot of time testing and learning about Mac development.    I then had to move on to another site afterwards, back to a primary school which had more students and more computers, but this was a great place to experience how I could make the most of a small budget, it was a really great experience.

    Now the big one, The last  3 years have been my biggest. Each student in one year level had a laptop, this then grew to over 3 year levels while a fraction of the remaining two had their own laptop as well – This was easy, just a lot of logging jobs with the vendor for warranty or accidental repair.
    That wasn’t just it, this site was amazing in what it could bring out of me, in the early days I started to study for my MCSE, I then slowly but then suddenly got involved in maintaining the vSphere infrastructure.

    June 2013, I remember that month as the month my IT focus shifted and moved in a new direction which has since allowed me in just over a year to accomplish and be apart of some amazing things that can only get better. All of a sudden, I started to read and watch videos on virtualization, within 3 months I was already doing a full site migration from Hyper-V and designing new infrastructure for another company while still working daily at the school.   Into the start of this year, we did a full migration from vSphere 4.x to 5.5.  The amount of research and lab testing I did at home really taught me a lot.  Since June last year, in almost no time I was attending VMUGs, planning potential trips to vForum (timing didn’t work out), buying lots of books from Amazon and getting involved in whatever online group I could involved in Virtualization. The best so far was becoming a vExpert this year. It’s been a great journey.

    Now, after that “quick” history lesson, I am proud to announce as of Monday I start my new job working at 6YS Cloud Computing as a System Engineer. This is going to produce some new learning challenges and I am excited. I want make mention at this point of Craig Waters () post Keep Challenging Yourself as he touches on getting out of his comfort zone to challenge himself to learn and grow. This is what I am hoping for, New Challanges, and I know there will be some from day one as I will need to learn Citrix quickly, and I can’t wait! 


    I like to call this “End of Chapter 8” as it is the 8th significant time in my life so far. Chapter 9 is about to begin. 


    Thank you for reading. 


    Keiran. 

  • Creating IP Pool for Virtual Appliances with vami.netmask0 error

    I rebuilt my lab today from scratch after having used AutoLAB for a little while and as much as I love AutoLAB and highly recommend it, I needed to go back to basics so I can lab up AutoDeploy and a few other things that are automated using AutoLAB.

    I finished setting up my domain with a DC, vCenter/Starwind iSCSI, and 2 hosts. I had gone through and added my licenses and set up my networking – or at least I thought I had!  I was finally up to a point where I thought I would start placing some VMs onto the hosts and thought I would start by just deploying a couple of Virtual Appliances so that I could make sure my iSCSI was running and I could get network access correctly.

    I started by deploying vMA Virtual Appliance, easy – Accept the license agreement > set static IP > Done. (Plus a couple of other tick and flick options).   Awesome ready to start it up… wrong!  I receive an error.  vami.netmask0 

    The error states:  “Network ‘VM Network’ has no associated network protocol profile.” The amount of vSphere environments I have built, I have never come across this error. I have to admit it did take me a little while to think of what might be causing this. 
    The answer:  When deploying a Virtual Appliance such as vMA or vCOPS, the Datacenter in which you are deploying the VA under requires you to create an IP Pool/Network Profile and assign it to the Virtual Machine Port you will be connecting the VA’s vNIC to – in this case, VM Network
    1. Select your Data Center under your vCenter server in the Inventory list.


    2. Select the IP Pools tab associated with the Data Center and click “Add”

    3. Select IPv4 and input the information corresponding with your network’s required subnet and gateway. If you are wanting to let the Virtual Appliance select an IP from the Pool, you can set the range for it to choose from.

    4. Select the Associations tab and tick the box that you want to add the network profile to and the click “OK”

     5. Power on and test the the Virtual Appliance.


    Simple.


    Thank you for reading and I hope you find this helpful.

    Regards
    Keiran.

    P.S. Please leave a comment or contact me about this post, or any other post.

  • Why AutoLab makes building your home lab simple

    *Some of you may have seen a couple of twitter posts of mine regarding AutoLab lately, that’s because I am in love with this awesome automation tool that simplifies setting up a home lab.Whether it is for study, training, testing, or whatever you use your vSphere lab for, AutoLab is going to be something you will want, especially if you are rebuilding your lab over and over again.

    AutoLab was created by the extremely talented Alastair Cooke () with the help of many, including Nick Marshall (), Grant Orchard (), Ariel Antigua (), Damian Karlson (), James Bowling () and the vBrownBag crew.

    First of all, head over to LabGuides website where you can download AutoLab 1.5 (vSphere 5.5 or 1.1a – vSphere 5.1).  There are a few versions of each version. You can get AutoLab for ESXi if you have a server that is hosting the type 1 hypervisor, or there is the Workstation 8 version that you can nest on your desktop/laptop running VMware Workstation/Fusion. (I can confirm that the 1.1a works well on Workstation 10)
    You can find the system requirements here.

    Once the ZIP is downloaded, you can extract it to a location that has 100Gb spare space or more. Keep in mind that the VMDks are thin provisioned and are going to grow. The overall download size is only ~300mb but this does not include the VMvisor and the VIMsetup ISOs that you will need to download from your my.vmware.com account. If you do not have a license, VMware offers a free 60 Eval. License for your convenience. While you are grabbing the required vSphere ISOs from VMware, you can also grab the powerCLI installation file.

    The last lot of ISOs you will need are the Windows Server 2003, Windows XP and Windows Server 2008.

    Once you have downloaded or created your ISOs for the installation, you start added your VMs to VMware Workstation. (I’ll just take you though the steps for Windows).
    Navigate to the location you extracted the zip file to and open up each folder and double click on the .vmx file available – this will register the virtual machine to Workstation.

    At this point, **DO NOT** power on VMs, there is a little configuring with workstation to do first – not much, but it needs to be done. 

    First you need to set the total amount of host memory the VMs can use. To do this, you need to select Edit > Preferences > Memory. A recommendation on the amount of RAM to use is presented, but you can choose your preferred amount.


    The next step is to open up Virtual Network Editor (Under the Edit Menu) – All you need to do is create a new VMNetwork using the VMnet3 and give it an address of 192.168.199.0

    You can now start powering on your VMs – but wait! – Before you get too excited, the Router and NAS need to be turned on, leaving all other VMs powered off. Once the NAS has loaded you can browse to the share via \\192.168.199.7\build  Here you will need to place the Windows ISOs and the extracted files from the ESXi ISOs. 
    Once you have gone through the guide and placed mandatory files on the share, you can go ahead and start to power on your DC. Providing the floppy disc is connected, your system will go through a sysprepped stage and set itself up with the required files and will build. The build process can take up to an hour, on my system it was done in 25 minutes, so this can very. 
    As soon as the DC build completes you can continue to build your vCenter server, this is also done the same way as the DC, running through the sysprep. During both builds, several powershell scripts will run setting up each component of the server. There is also a validation script that you can use to confirm if each component has been installed or not.   
    You can now see the lab starting to take shape, you can start powering on your hosts and these should build via AutoDeploy – the AutoDeploy and TFTP server were configured during the DC build.

    (To find out the full procedure to set up AutoLab, or to set it up using a nested ESXi environment or Fusion, you can go through the guide on the LabGuides website. – I recommend reading the guide 🙂 )
    All in all, it took me around 2 hours to have a fully fledged lab up and running, I am planning on pulling it down and doing through AutoLab 1.5 build shortly. I have seen that there have been even more adjustments and extra features. I highly recommend this route if you are needing a lab in a short amount of time, or would like an automated process if you find yourself rebuilding your lab over and over again. 
    If you get the chance, please thank Alastair for all his hard work and dedication that he puts in each release. 
    Thank you.
    Keiran.
    *Post was originally written in April. 

  • VDI 2 Week Challenge – Day 2

    When starting your VDI design you need to understand your client’s needs, and they might not be as simple as you may think. Many things can turn your simple VDI infrastructure into a complex infrastructure just by having mixed needs of the users. Your company that you are building the environment for may have several departments, with each department requiring a different experience.

    Take for example an engineering company. If you are familiar with engineers straight away you will probably jump to the conclusion that you will need an infrastructure that can do high graphics rendering – That’s a good start, but what the other departments? There may be receptionists, CEO, contractors, project managers, and many more that all require different access to software and processing power.

    Understanding your users paramount – oversubscribing their resources or under subscribing can have a detrimental effect on either that users experience or on another.

    There are certain components that you need to pay close attention to, and can be rated in a different order to Server Virtualization:

    Disk is very important, when you think about it a standard desktop used by your average user is running on a single hard drive. When you add several more users accessing that particular drive at once and reading the same data source, things become a little bit slow and frustrating. The way to combat low IOPs and disk contention is to understand how many IOPs a single 7.2k hard drive and then times it by the number of users – This number could end up being quite high, but it will give you an idea of what your users are using.
    There are several options on how you can deploy your disks, you can either run them from a SAN using Fiber Channel, Fiber Channel over Ethernet or iSCSI. You can also now leverage vSAN with Horizon 6, this is not only giving you a simpler design, but may also increase your performance while driving down infrastructure costs.

    IOPs is not the only aspect of the disk that needs attention, size is also critical, particularly if you have users who like to store their items on the “Local” disk and not on any of the mapped storage drives, etc.  As part of the configuration control that you as an administrator has, you can use certain settings to help prevent the user from storing their data on what is potentially the local disk by setting up profile redirection – both windows server and horizon have the capabilities of this.

    CPU is one area that you will need prior knowledge to make sure you can get it right. Unlike server virtualization where you can be more sure of the VM requirements, VDI can be a much larger kettle of fish. It’s best to research and find out what the OS, applications and user requirements are before over/under subscribing CPU resources.

    Memory  is quite simple to work with in a VDI design as over subscribing is not a good idea as you do not want your users to experience the effects of the swap file. A good way to avoid any swap file usage is to make sure that your hosts are sitting comfortably with a good amount of memory.

    There are three layers that make up a virtual desktop experience for the user. The three elements are Persona, Application and OS. By separating these you are then creating less administrative support required.

    Figure 1.1

    As figure 1.1 shows, you are able to create a master image that has your configuration set for all the users, next you have your ThinApp that is again a master application, followed by each users persona. Any settings or changes the user makes is stored as part of their persona. This allows the administrator to focus on only needing to provide an operating system and application per department needs, if not the entire company.

    Hopefully this has given some insight into some of the components and design aspects that need to be understood before implementing a solution.  

    The key is to know what your users require, where your resources will be used and where will they sit idle if you provide too many resources.

    If you have any comments or questions, please feel free to contact me.

    Thanks for viewing.

    -Keiran.

  • 2 Week to learn Horizon View Challenge – Day 1.

    I have been presented today with an opportunity to design and implement a small VDI setup for an Open Day my organisation is having in two weeks to show what we are aiming to provide as a solution next year. For those that don’t know, I currently work as IT support in a secondary school here is Brisbane; we have just started looking at BYOD options for 2015 and VDI is looking like an option.

    My first thought was “Sweet, time to rack stack, run up a couple of VMs and connect a few different devices.”  Sounds pretty easy, well.. to be honest, this is really the first I’ve had to deal with VDI. I’ve played around with Citrix XenApp at home, but nothing like this.

    So with this as a slight bump, I have decided to embark on a 2 week challenge to study/learn, design and implement a small scale enterprise VDI infrastructure using VMware Horizon View.

    Tonight and tomorrow night are going to be a couple of slow evenings with content as I find what I need, however, I am off and reading up.

    Day 1. 

    Tonight wasn’t quite the best night to start, limited time as I had other plans beforehand, but none the less, I have got straight in and started with the basics. I have watched 2 CBT Nugget videos of the Horizon View 5 – VCP5-DT with Greg Shields (series and read the first chapter of Building End User Computing Solutions with VMware View by Mike Laverick () and Barry Coombs () : http://www.lulu.com/shop/mike-laverick-and-barry-coombs/building-end-user-computing-solutions-with-vmware-view/ebook/product-20368612.html

    There are multiple components that go hand in hand to create a View infrastructure. Each of these are required to do specific tasks to streamline the experience for the end user. 

    Connection Server:  The Connection Server is designed to be the link between the end user and the environment to which they are connecting to. This server authenticated the link and opens the view for the user to see. This can also be referred to as “The Broker”.  The Connection server leverages AD for authentication purposes. 

    View Composer: The View Composer is service/application that sits along side your vCenter Server to build Master Images or link clones. 

    Agent: Installs inside the VM OS to add extra functionality to the VM. 

    Client: The client is installed on the End User computer to allow the user to connect to the connection server and pull up their Virtual Desktop environment. 

    View Administrator: Connects to the Connection Server to control and manage the View infrastructure. Used to instruct View Connection Server to work with ESXi Servers. View Administrator also controls vcenter Server and View Composer.

    Security Server:  The Security Server is designed to sit inside your DMZ or private network to securely connect your clients to your environment.


    Each component downloads as a separate .exe from the VMware website. 


    As I said early, this was a short night, and hopefully within the next couple of days I can get stuck into large amounts of content. Tomorrow I will be starting to put my lab together and will hopefully have some pretty pictures to add to these posts.

    Thank you for reading. If you have an suggestions or comments. please leave a comment below or contact me.

    Thanks.

    Keiran.



  • VMUG FeedForward

    It brings something warm to my heart every time I see a twitter post, or a blog about something new, or something exciting happening at VMUGs all around the world. I still feel fairly fresh to the VMUG community scene, only having joined mid last year, and only attended several VMUGs since joining, but it is a great community to be a part of and I feel very welcome.

    Mike Laverick ( – UK) is a huge advocate for VMUGs in getting the members involved, whether it be presenting or helping to put a conference together. All the time I see posts and videos where Mike is talking about new ways in which a member can step in and be in the spotlight.  
    One thing of late that Mike is really, really excited about (I think he’s more excited about this than meeting Elvis) is a new program starting up in VMUGs around the world called FeedForward. The idea of FeedForward is to create mentors for future presenters – Feeding Forward support and ideas before a presentation.   When a presentation is over, there is usually time for Feedback to the presenter, however, this doesn’t help prepare for the presentation that has already taken place.  The FeedFoward program will assign a mentor to you so that can run through your material and give you tips on improving your content and giving you the confidence for your presentation. 
    If you are interested in presenting at your local VMUG or even becoming a mentor to help shape those in your community to present to your VMUG chapter, then get in contact with your local VMUG Leader to find out how you can make a change!

    Keep and eye out here for more: http://www.vmug.com/feedforward

    Thanks
    Keiran
  • vExpert 2014 – Thank you all!

    Hello Everyone!

    I just want to say a big thank you to everyone who has read my blog, I know there isn’t that much on here and possibly some stuff is also available on other blogs and websites. I am, however, grateful to be accepted as a vExpert for 2014.  This has been a great feeling as it allows me to know that I am recognised for my contributions and involvement in VMUGs and the greater community.

    As I mentioned in my last post, I am currently working on a new project that is still in the works, but team and I are very excited about what it will bring. I hope you keep your eyes out as it will hopefully be ready in the next week or two.

    Applications are now open for round 2 of this years vExpert intake. If you would like to apply please follow this link to find out more. http://blogs.vmware.com/vmtn/2014/04/vexpert-2014-q2-applications-open.html

    Thanks again to you all. If there is anything you would like me to research and write about, or any suggestions for the blog, please leave a comment or contact me by my contact details on the contact page.

    Thank You.

    Keiran.

  • Tools to monitor your virtualization Infrastructure.

    It’s been over a month since my last post, I have been involved in a side project that I am very excited about and in the process of developing. However, more to come on the later on.

    What’s worse than having a VM, disk, controller, RAM stick or even a host fail?  Well, what about not knowing it has failed???  Have you ever turned up to work, gone and grabbed a coffee on the way through to your desk, sat down and started reading through the emails you received over night to get them out of the way only to have the phone start ringing off the hook.
    “I can’t access the company portal.”
    “I can’t send any emails”
    “I’m getting a weird message about something called a server being offline?”

    Straight away you jump into the vSphere client to check what is going on, low and behold, a host has failed and several VMs have not migrated and restarted, as per the cluster HA policy.

    How could have you known sooner so that you could get those VMs back up and running before getting your morning coffee?  Enter, RVTools and vCheck.

    RVTOOLS – http://robware.net/index.php/5-sectionarticle/category/29-rvtools-home

    This is an awesome little program design by Rob De Veij from Amsterdam.  It is full of excellent information for you to oversee your vCenter infrastructure. Started in 2008, the program has evolved to include many features from just your individual VMs with information about their hardware through to whether or not they have a heartbeat. Your datastores and their sizes and the percentage or free storage left.

    RVTools is a simple install and simple to use. Once installed, just open the desktop icon and log onto your vCenter, just as you would with the vSphere C# Client, it even allows you to use your Current Logged On User account.

    Figure 1.1 – vInfo

    In Figure 1.1, you will see the number of tabs that are available to display huge amounts of information, but keep it all quick and simple to view. In vInfo, apart from how many CPUs, and how memory is allocated to the VM, you will also find fault tolerance enable/disable, FT bandwidth and latency, the HA restart priority for each VM and isolation response. There is so much more.

    Figure 1.2 – vDisk

    Figure 1.3 – vPort

    The last tab is vHealth, it is a very handy tab to have as it quite specific on any errors, or non compliance that may be in environment. It will tell you if a host/Vm is unable to be reached, or if a datastore is running out of room and has less than 10% left of storage. 

    This is a really handy tool, if you just refresh and look at the vHealth, you should get a substantial amount of information about your infrastructure so you can catch any issues that may have occurred over night.
    Please check out RVTool and if you like it, please donate to Rob for his amazing work and kindness of a free tool. http://robware.net/index.php/donate 
    vCheck – http://www.virtu-al.net/vcheck-pluginsheaders/vcheck/

    vCheck is a new one that I have just recently come across when I found Alan Renouf’s Virtu-al.net, the page for PowerCLI.  I was amazed at how awesome this tool was. Again, a lot of work put into a free little powerful tool. 
    I’m not going to get into this one too much as there is a lot of setup questions about your infrastructure to make the report completely customised to suit your requirements. You can check out the video Alan has made taking you through the setup. http://vimeo.com/36411677
    The really awesome thing about this tool is the end result. Once you have set up and run vCheck, you will receive an email that is full of information about your environment, it will tell you what is running and what isn’t. This is very handy, and if it is set up as schedule task to run early in the morning, you will know once you receive the email whether or not you have time to tie your shoes. 
    The scripts sit up on Github and Alan has left it open for public plug-ins to be added, these are check by Alan before being approved to be inserted into vCheck.  More and more features are being added regularly and making this quite an amazing little tool. 
    Check out Alan’s other automation scripts and help share his blog around. http://www.virtu-al.net/
  • VCP5-DCV Exam update changes

    VMware has just released 2 weeks ago an updated blueprint (v3.1) aimed at the new VCP5-DCV exam for vSphere 5.5.  In the past, VMware has released exams that just add extra questions for the minor releases – However, 5.5 was a bit closer to a major release than a minor, which includes some major differences and therefore supporting the need for a new exam.

    The two exams are labeled clearly to make it easy to differentiate between them, VCP510 = 5.x exam / VCP550 = 5.5 exam. 
    The 5.5 exam brings in many new topics and some that have not been covered as much in previous exams, this now brings the exam to 135 questions /120 minutes  (5.x = 85 Questions/ 90 minutes).  The additional questions and time bring up in line with the Desktop and Cloud exams. 
    Some of the focus areas in the blueprint from the previous 5.x (v2.9) blueprint are as follows. 
    • Web Client 
    • Single-Sign On 
    • vFlash 
    • Data Protection 
    • vSphere Replication 
    • vCops 
    Pearson Vue will give you both exam options to chose from when booking your test day on their website. If you have sat the vSphere ICM 5.x (Install, Configure and Manage) course with an accredited VMware training provider, you are still able to sit the 5,5 exam, however, you are best to grab a book and other training material to learn the new technology that has been delivered in vSphere 5.5.


    Thank you for reading, if you have any questions, comments or suggestions, please feel free to contact me.