Archives For VMware

Last week Veeam launched a countdown to the Next BIG Thing on there website, the clock is counting down to the 16th of May, there are no other details on there website regarding what this maybe so it’s probably time we all started guessing 🙂

 

Screen shot 2011 05 03 at 08 24 22

Some of you may remember when Veeam did something similar last year in the run up to the Veeam Backup and Replication 5 release, although at the time there was always a bit more information as to what was going to be announced e.g. the name “Sure Backup”

Screen shot 2011 05 03 at 08 24 22

So what would a Veeam pending announcement be without some wild guesses on my part.

Veeam Backup 5.5 / 6.0

Veeam in at least the last couple of years have gone with a yearly release cycle of its major product Veeam Backup and Replication, they normally start hinting about functionality earlier in the year, demonstrate the functionality through VMworld and similar events and release towards the end of quarter 3 beginning of quarter 4. But in the words of one of my customers, what could they possibly add to an already feature packed product. There was a number of improvements in Veeam 5 with the biggest being Surebackup, Instant Recovery and U-AIR, how could they build upon this to make it the next big thing?

Cloud backup – As we all have our heads in the cloud at the moment it would seem timely for Veeam to announce a cloud backup solution, I would believe Veeam would choose to partner with a provider rather than offer this functionality through their own datacentres. We have seen Quest with vRanger offer a similar functionality utilising Riverbed’s Whitewater service. My hope is Veeamm would be able to offer this as a service to service providers and channel partners to create their own Veeam cloud backup solution.

On a smaller scale, I would love to see improvements to the Veeam Backup and Replication Scheduling options, about 9 out of 10 of my customers run their jobs in a serial fashion with one job kicking of the next so on and so forth. This is achieved with relative ease at the moment by running post commands to kick of the next job. I would love to have a Veeam scheduling wizard where I could create a bespoke Veeam schedule to do this in a drag and drop fashion. This functionality could easily be extended to allow me to schedule my surebackup verification jobs and call third party applications such as Backup Exec to push my Veeam jobs to tape.

The ability to be able to replicate backup jobs to another location, a number of my customer have expressed the wish that they would like to be able to backup locally and then ship the backups to a DR location. Whilst we currently achieve this we SAN replication or DFS etc it would be great if Veeam B&R had the ability to be able to do this inbound.

Veeam Backup Cloud management, the ability for a channel partner to centrally manage customers backups from their own cloud, without the need to VPN or connect to a customers site.

Physical backup or at least SAN LUN backup integration, yes there are some people that aren’t 100% virtualised and it would be great to use Veeam to backup all the servers, also integration with SAN vendors to be able to backup iSCSI inside the guest connected volumes would be fantastic.

As always I would love Veeam to be able to push to tape itself without the need for me to relay on another vendors backup product, although I would never really expect this to happen as we all know tape is an ageing technology and the amount of R&D that would have to be put in to support a wealth of devices would by high I would imagine.

Veeam Monitor / Reporter

It seems an obvious step for products like these to start making the leap to the cloud, with a pay as you use type service, again the ability for Veeam’s partners to remotely monitor and manage customers virtual environments, or larger companies to manage or monitor branch office centrally from a cloud based platform.

I would love to see additional functionality in these products to support more of the stack, such as application aware monitoring for Exchange, Sharepoint, Windows, Switches and SANs maybe. I am seeing an increase in customer asking for good monitoring products but they normally want one product that can support the whole stack rather than an application for each. Veeam already does have nWorks that plugs into the Microsoft SCOM suite but SCOM isn’t for everyone.

Integration with VMware View to monitor on the health / user experience would be a fantastic addition to the monitor product.

Veeam VDI Manager

There seems to be only a few tools based around making your VDI experience better, is there even a need? Maybe there would be the need for product to help automate updating golden images, monitoring linked clones, performance, profile management etc who knows?

Microsoft

There has been a lot of discussion in the past about Hyper-V backup being made available etc, this isn’t something I would personally be very excited about but I am sure this would be big for the Microsoft community.

Conclusion

What ever Veeam have coming next I am sure it will be well thought out, well designed and something that we will be wondering how we ever lived without a few months later! Keep an eye on http://www.handsonvirtualization.com after the announcement as Doug Hazelman from Veeam will be joining us to discuss the announcement.

I have been wanting to do a Podcast for some time, I love working with virtualisation and the community and any opportunity to discuss virtualisation is fantastic. What has typically stopped me doing this is having the correct person to team up with to get it off the ground. Around a year ago I purchased the domain http://www.handsonvirtualization.com (Yeah I know virtualization is spelt the American way but I was aiming this at a global audience) I had a number of ideas around what I wanted to do with this domain but never got around to it.

I revisited my ideas just over a month ago and decided it was time for me to get started with a podcast, the topic was easy to choose with virtualisation being the primary topic, but with my love and knowledge of Equallogic storage I also wanted to make this a key aspect of the podcast. Once this was decided I knew the Jonathan Franconi (@S1xth) would be the man to approach as we have been involved in many discussions on twitter around these subjects. To my pleasure Jonathan was really up for it and had been wanting to do something similar for some time. Without any further ado we starting planning, chatting on Skype and our first episode has been recorded, edited and accepted by iTunes. The submitting the podcast to iTunes but was a learning curve as I had never really looked into it before, unfortunately not all my meta data has gone across yet but I am hoping as of the next episode there will be full descriptions and a more relevant logo etc.

Episode 1

Jonathan has managed to secure Will Urban from Dell Storage to be our first special guest, with the recent release of the Equallogic VMware Host Integration Toolkit it made for a very relevant interesting subject for us to discuss.

Also in the podcast you will hear introductions from Jonathan and myself, discussion on our current challenges and work with virtualisation and Dell Storage.

Latest news from the industry including :-

The new EVGA PD02 PCoIP thin client

Pd02
VMware View 4.6 including the View Security Server

VMware View and vSphere iPad applications

Latest News on the Dell Storage Conference

Equallogic 5.04 Firmware

Equallogic VMware Host Integration Toolkit

VMware vSphere PowerCLI Reference

The podcast can be downloaded direct from iTunes >> http://itunes.apple.com/gb/podcast/hands-on-virtualization-podcast/id431718920

or

Direct from TalkShoe where the podcast is hosted >> http://www.talkshoe.com/talkshoe/web/talkCast.jsp?masterId=96159&cmd=tc

For more information on the podcasts and blog posts regarding the subjects we discuss please visitwww.handsonvirtualzation.com the site is currently a work in progress but hopefully we will have it up to speed within the next week.

For Jonathan’s blog please visit http://www.virtualizationbuster.com

Jonathan and I are hoping to make this podcast a monthly thing, if not more often when relevant, we would love to hear your feedback and anybody that is interested in becoming a guest please get in touch barry(at)virtualisedreality(dot)com. Even though this first podcast has a heavy slant on Equallogic / Dell Storage we would love to broaden our horizons and cover other VMware friendly storage solutions amongst other products.

Screen shot 2011 04 12 at 09 34 54

The London VMUG steering committee has announced the 12th May as the date for the next new format London VMUG. The theme is going to be “You journey to the cloud” and there will be multiple tracks and hands on labs in a true mini VMworld format similar to the large dutch VMUGs that we see. The agenda is as follows and will be sponsored by COLT, EMC and Quest.

Agenda:

Plenary sessions in Capital

10.00 – 10.20 – Welcome, Alaric Davies, Chairman

10.20 – 11.00 –  presententation & demo the vCloud1 -Greg Branch, Director of Architecture, Colt and Dan Senior, Virtualisation Architect, Colt

1.00 – 11.45 – Paul Martin, Quest – Private Cloud – Build for Success by Planning for Failure, with Quest Software

11.45 – 12.15 – Break in Thames where our sponsors will be exhibiting

12.15 – 13.00 – EMC

13.00 – 14.00 – Lunch in Thames where our sponsors will be exhibiting

TRACK 1

14.00 – 14.50      Massimo re Ferre, Making sense of vShield & vCD for the “average Joe”

15.00 – 15.50      Jason Miles, Automation in the Cloud

16.00 – 16.50      Mark Craddock

TRACK 2

14.00 – 14.50      Stuart Radnidge, Rethinking Infrastructure

15.00 – 15.50      Tom Brand, Cloud topic

16.00 – 16.50      Cloud topic TBA

17.00 – Close

17.00 – Networking Reception at Pavilion End, 23 Watling Street, EC4M 9BR

Labs

These will be running simultaneously from 10:20 a.m. and you will need to register upon arrival to book your lab session.

The VMUG are providing VMware vCloud Director Labs for all UG members to get a look and feel for the product.  COLT has very kindly agreed to host the labs ontheir infrastructure in the Cloud.  COLT are a certified VMware vCloudDatacenter Services Provider and the first in EMEA to provide this service.  The COLT team along with VMware vCloud Architects have provided two types of labs to provide the best experience possible.

Lab A – Consuming Cloud resources from VMware vCloud Director
This lab is tailored to provide a user’s view of consuming compute resource from the cloud.  It provides an insight into the ability provide resources via a self-service portal deploying virtual machines via vApps within private virtual datacenters.

Lab B – Administrating VMware vCloud Director
This lab provides the administrators view of vCloud Director.  The lab contains a virtual center server, vCloud Director server and an ESX host to create compute resources within the cloud.  It provides the ability to define different compute services in the form of vApp’s which can then be published within the vCloud Catalogue.  This also enables the administrator to define different

I have already registered and will be looking forward to seeing as many of you there as possible, please make sure you come and say hi. For full details and to register yourself please visit the following link. >> http://www.myvmug.org/e/in/eid=13

 

 

One of the challenges I have been dealing with recently specifically in educational establishments is how can we get location based scripts to work inside a View desktop. A number of these types of establishments already have complex login scripts to map printers, shares etc based upon the location of the desktop you are logging into. View adds a layer of complexity to these components especially one you want one desktop, e.g. staff and students. In the physical world the login scripts will look at the name of the desktops and map the resources / make the changes as required. We obviously can’t do this easily in the virtual world with a signal desktop model.

Now there are ways around this such as the ThinPrint location based printing and third party software such as RES or AppSense for persona management. But that doesn’t stop us wanting to create customised solutions based around each customers individual requirements or trying to safe some money when we already have sufficient profile redirection etc in place.

The good news with a bit of playing it is still possible, when you log into a View Desktop the View Agent populates a number of registry entries with some key information, for example see the screenshot below.

Screen shot 2011 03 05 at 10 04 20

These registry settings are held in HKEY_CURRENT_USER>VOLATILE ENVIROMENT and they all will start with ViewClient, from this information we can see the IP address I am connecting from, the broker URL, the username for which I am logged into my client with, the name of the client and the type of client that I am using. So straight away from the above information we can see that I am connecting in from my Mac, from an external IP.

The next stage is to harness this information to create some location based scripts. I have only just started playing with this but there are a number of ways to do this, at the moment I am concentrating on VBS scripts as a number of customers are already utilising VBS. We could easily use Powershell to query this information but that wouldn’t be ideal for a login script situation.

Now I will start this with a caveat, I am by no means a VBS expert and the code below is something I have hacked together for an example.

This script looks in the registry for the ViewClient_MachineName registry key and displays the contents of the machine you are connecting from on the View Desktop

Option ExplicitDim WshShell, ClientName, objFSO
Set WshShell = WScript.CreateObject(“WScript.Shell”)Set objFSO = CreateObject(“Scripting.FileSystemObject”)
ClientName = WshShell.RegRead(“HKCU\Volatile Environment\ViewClient_Machine_Name”)MsgBox ClientName

When the user connects in with the script above running as a logon script they get the following message on the screen

Screen shot 2011 03 05 at 10 18 58

Now by itself that is little use, but could easily be expanded to look if the IP is internal or external and display a company policy message or support message for external users.

With the script below I have expanded it to detect if the user is connecting from a client (Thin Client or PC) in the art department of the science department, it will then map the correct R: drive resource share for the specific department.

Option Explicit

Dim WshShell, ClientName, objFSO, objNetwork

On Error Resume Next

Set WshShell = WScript.CreateObject(“WScript.Shell”)

Set objFSO = CreateObject(“Scripting.FileSystemObject”)

Set objNetwork = CreateObject(“WScript.Network”)

‘Set the Clientname variable to look at the view registry entry

ClientName = WshShell.RegRead(“HKCU\Volatile Environment\ViewClient_Machine_Name”)

‘Disconnect the mapped drive if it exists to stop problems later

objNetwork.RemoveNetworkDrive “R:”, True, True

wscript.sleep 300

‘Map the Art drive if the client name contains art

If Instr(1, ClientName, “art”) > 0 Then

objNetwork.MapNetworkDrive “R:” , “\\file1\cwptemp\Art”

End If

‘Map the Science drive if the client name contains Science

If Instr(1, ClientName, “science”) > 0 Then

objNetwork.MapNetworkDrive “R:” , “\\file1\cwptemp\Science”

End If

The possibilities are endless with this and really comes down to your imagination for what you could create to customise a users environment based upon those parameters. One other possibility with this would be to start collecting the client type information so you can start to understand what end devices your users are connecting from. This would help significantly when it comes down to support and updates.

I would really like to hear from people that are using scripts like this or are intending to after reading this and how you intend to be using it.

I will update my blog with more use cases when I can.

VMware have introduced View 4.6 which as anticipated has introduced PCoIP to the WAN without the need for an SSL VPN. There are a number of other new features and updates in the release, such as increased USB support specifically to assist with iPhone and iPad syncing, Windows 7 SP1 support and more than 160 bug fixes! Full details of what is included in the release check out the release notes here >> http://www.vmware.com/support/view46/doc/view-46-release-notes.html

Since VMware introduced View 4 with PCoIP (the technology that they license from Teradici) in 2009 their security server product hasn’t support PCoIP,  this resulted in users wishing to make use of the protocol having to use a separate SSL VPN product. The primary reason for this was the fact PCoIP is a UDP technology and SSL that VMware uses for it’s security server being TCP. When having to wrap PCoIP’s UDP stream inside a TCP stream a lot of the benefits were lost.

VMware’s new security server now incorporates a PCoIP gateway, the new security server can only be installed Windows 2008 R2 but can still co-exist with View Connection Servers that are on 2003(R2) or 2008 non R2. You will need to open ports 443 for SSL, 80 for none SSL connections and 4172 (TCP an UDP) for PCoIP.

The View 4.6 Architecture Planning guide does a very good job of explaining various components and ports requirements >> http://www.vmware.com/pdf/view-46-architecture-planning.pdf

Screen shot 2011 03 05 at 08 23 31

Full details of installation of the new security server elements can be found in the installation guide >> http://www.vmware.com/pdf/view-46-installation.pdf

It is important to remember when configuring the PCoIP external URL during the installation that this must be the external IP address and port that external clients can use to reach the security server, this mustn’t be a DNS name.

Screen shot 2011 03 05 at 08 42 20

For any assistance with troubleshooting the PCoIP gateway VMware have put together a very detailed KB article http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1034825

Mark Benson – View Architect at VMware has put together a brilliant video on View 4.6’s PCoIP gateway, it covers the functionality and configuration, I have embedded below or it can be viewed direct on YouTube here >> http://www.youtube.com/watch?v=wi2TfLzooww&feature=player_embedded#at=2173 , be warned it is nearly 40minutes long but well worth watching.

Alongside the new release of View 4.6 was ThinApp 4.6.1 introducing improvements in packaging Microsoft Office 2010, for a full list of the new features head over to VMware’s ThinApp blog where they have put a what’s new blog post together. >> http://blogs.vmware.com/thinapp/2011/02/vmware-thinapp-461-whats-new.html

I recently found myself investigating a problem with a distributed virtual switch after some unplanned downtime of a vCenter due to a power cut. The problem with the DVS was quickly resolved after bringing the vCenter back up but I had a number of VM’s that were powered up but not connected to the network.

With my new found love for powershell I whipped up a one liner to report on the VM’s that were disconnected from the network.

Get-NetworkAdapter (get-vm | where {$_.powerstate -eq “poweredon”}) | Where { $_.connectionstate.connected -eq “$F” } | select parent, connectionstate

One part that confused me was the Where { $_.connectionstate.connected -eq “$F” } I found if I wrote $False it would give me the results I wanted but $F did, thats one for me to ask the PowerCLI guru’s.

As there were only a couple of VM’s with NICs disconnected I went and set them online manually, but I could have easily done that with PowerCLI as well.

UPDATE

As Alan kindly explained in the comments below

$flase is a pre-defined variablem if you type $false at the PowerShell prompt you will see it return False but $f is just an empty variable, if you type $f at the cmd prompt it will return anything, I normally use $null just as a default so people know it means nothing.

So the script to make more sense when reading through it could be changed to look like this

Get-NetworkAdapter (get-vm | where {$_.powerstate -eq “poweredon”}) | Where { $_.connectionstate.connected -eq “$null” } | select parent, connectionstate

Many thanks to Alan once again for putting me on the correct track with PowerCLI.

Learning Powershell

February 9, 2011 — 1 Comment

Why I  wanted to learn Powershell

When installing and managing virtual infrastructures there are lots of repetitive tasks, when repetitive tasks are involved there is always the chance for mistakes. Mid last year I was working on sets of standards for installing and managing virtual infrastructures and it seemed the obvious progression to be able to automate some of these processes. This allowed me to help set standards and use time in a more intelligent manner.

Also in the era of “The Cloud” and “IT as a Service” the view of IT departments is starting to look increasingly on how we can streamline operations, offer automated workflows and deliver IT to the business as they need it.

 

The Who

Whilst attending the London VMUG in October last year I attended Alan Renouf’s Powershell session, I had also attended his session earlier in the year at a previous VMUG. What was different about this session is Alan had made it interactive, setting a number of tasks and allowing us all to connect into his home lab to try the scripts / one liners we had written. This is very much the way I learn, by being able to get hands on and try something make mistakes and correct them I absorb a lot more than simply reading a book or listening to a presentation. There was also a further bonus that I managed to persuade Jonathan Medd, Microsoft Powershell MVP to join our group for these tasks, Jonathan was very patient with my lack of knowledge and  explained a lot of the key elements of Powershell to me whilst we were working through the tasks.

I owe a lot of thanks to these guys for their help, their blogs and the passion for Powershell that they have passed onto me.

If you are wanting to learn more about Powershell be sure to check these guys blogs out

Alan Renouf – http://www.virtu-al.net

Jonathan Medd – http://www.jonathanmedd.net/

They have also been working on a book with a number of other Powershell / VMware experts that is due to be released in the next few months, more information can be found at the links below.

The website for the book – http://www.powerclibook.com/

Amazon – http://www.amazon.co.uk/VMware-VSphere-PowerCLI-Reference-Administration/dp/0470890797/ref=sr_1_1?ie=UTF8&qid=1296977693&sr=8-1

 

The How

Understand what you have to work with

A good place to start is by understanding the cmdlets you have to work with, the cmdlets are made up of a verb and a noun such as get-command and are the essence of what makes Powershell so user friendly when it comes to getting started. Different manufacturers will produce cmdlets for their products, you may have guessed already as you are reading this on my blog, but I will tend to focus on the VMware cmdlets, that are packaged as PowerCLI.

A good place to start to achieve this is the PowerCLI poster — http://www.virtu-al.net/2010/08/25/powercli-4-1-poster-and-quick-reference-guide/

Powercliposter

With thanks to Jonathan Medd I have one of these on my office wall, which is always good to refer to whilst scripting.

The second way to get a rundown of the cmdlets is to run Get-VICommand from a PowerCLI window. This will list all the PowerCLI Cmdlets

Get vicommand

To get more information about anyone of these Cmdlets use the get-help [cmdlet name] -examples command

Get help

If you are in a situation where you don’t know the cmdlet you wish to use, you can always call upon get help using wildcards, for example if we wanted to create a virtual switch but didn’t know the cmdlet we could use

Get-Help *switch*

This would give us the following results

Get help2

We could then run Get-Help New-VirtualSwitch – Examples to find out how we use the cmdlet.

If you are looking for a run down of the Powershell 2.0 Cmdlets I would highley recommends Jonathan’s One Cmdlet at a time blog series and PDF.

http://www.jonathanmedd.net/tag/cmdlet-series

Set yourself tasks or challanges

I found getting started learning Powershell to be quite challenging to start with as I couldn’t think of what to script. There are so many good scripts already out there already, that coming up with something original was a challenge. Just because there is a script already completed don’t let this put you off writing your own, you can then use the other scripts as inspiration or assistance when you get stuck.

VMworld PowerCLI Lab Manuals –

VMware have published the lab manual from VMworld 2010 on their PowerCLI blog, this is a very good document that not only has some challenges but also has the answers and explanations.

http://blogs.vmware.com/vipowershell/2010/11/vmworld-2010-powercli-lab-manual-for-your-reading-pleasure-alton-yu.html

There is also a similar document for 2009

http://blogs.vmware.com/files/vi-toolkit-lab—-vmworld-europe-2009.pdf

One of my challenges was to configure my new home lab server completely using PowerCLI, this gave me a good understanding of the PowerCLI Cmdlets

Have a lab

The key of being able to get your head around Powershell is being able to test your scripts before running them on a production environment. This can be a lot easier than it sounds, there are numerous examples of VMware Home Labs on the blogosphere, they could be made up of anything from ESX host in VMware Workstation, an affordable server to a spare blade in a production environment. If you are using the lab to test and build Powershell scripts the performance doesn’t usually matter all that much. I was able to roll out 30+ VM’s on my Microserver to test scripts, of course these servers had very small memory, cpu and disk requirments because I wasn’t worried about having an OS running, just the VM’s to manipulate, create and delete etc.

My home lab

https://virtualisedreality.com/2010/02/14/home-lab/

https://virtualisedreality.com/2010/08/07/home-lab-update/

https://virtualisedreality.com/2010/12/10/home-lab-update-3/

Further home labs

http://www.techhead.co.uk/vmware-esxi-home-lab-why-what-and-how-considerations-when-building-your-own-home-lab

http://www.yellow-bricks.com/2010/01/19/my-homelab/

There are also lots more examples that you will find my googling “VMware Home Lab” http://tinyurl.com/622kuyb

Training Material

As I have mentioned before I learn best when someone is able to walk through something with me, give me examples etc. That’s why I always find TrainSignal training so good,

TrainSignal have a number of Powershell elements in there vSphere series, I can highly recommend the vSphere Pro Training volumes 1 and 2. The Powershell elements are instructed by Hal Rottenburg (Microsoft Powershell MVP) and I found them really informative and meant I was able to follow along with the videos.

Vsphere pro series vol2 able

Hal also has a book available

Halsbook

http://www.amazon.co.uk/Managing-VMware-Infrastructure-Windows-Powershell/dp/0982131402/ref=sr_1_3?ie=UTF8&qid=1296983541&sr=8-3

VMware also have a Training Course that covers PowerCLI – VMware vSphere: Automation with vSphere PowerCLI [V4.x]

http://mylearn.vmware.com/mgrreg/courses.cfm?ui=www_edu&a=one&id_subject=19082

I haven’t been lucky enough to attend this course, but would love to!

Powershell / PowerCLI Blogs

VMware PowerCLI Blog – http://blogs.vmware.com/vipowershell/

Alan Renouf – http://www.virtu-al.net/

Jonathan Medd – http://www.jonathanmedd.net/

Luc D’s – http://www.lucd.info/

Hugo Peeters – http://www.peetersonline.nl/

Hal Rottenburg – http://halr9000.com/


The Tools

When I started trying to learn Powershell, I started by typing scripts in the Powershell console and trying to build my scripts in Notepad. This really doesn’t work very well and when I found a good script editor it changed my ability to write and troubleshoot scripts. I am personally using the PowerGUI Script Editor mainly because I already had it installed with the PowerGUI program itself.

Powergui

Creating Scripts

I have found it easiest to create scripts by breaking it down into a number of smaller code blocks, addressing each of the goals one at a time, you can then concentrate on bringing the separate blocks together at the end. Whilst writing your scripts ensure you add meaningful comments as you go, this won’t only help others that may need to use the script but will help you when you come back to it 6 months later.

I hope you have found this blog post useful, please feel free to share your thoughts, tips and tricks.

 

 

If you have a View Desktop that has multiple NICs, maybe to a production network and a lab network you need to add the following registry entry to set the production subnet.

If the Guest operating system has more than one virtual NIC, you must configure the subnet that the View Agent uses. To accomplish this, you must set the value of the HKEY_LOCAL_MACHINE\Software\VMware, Inc\VMware VDM\Node Manager\subnet registry key to  n.n.n.n/m (REG_SZ), where n.n.n.n is the TCP/IP subnet and m is the number of bits in the subnet mask.

If you don’t do this desktops may fail to connect.

More information can be found here

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1026498

I have just come across a situation where I wished to add a VM from one environment (completely separated test and dev environment) to VMware View in another enviorment as an unmanaged desktop. To do this with a physical server you simply install the agent and enter the connection server details during the installation. When trying to do this on a VM the final screen where you are able to enter the connection server address doesn’t appear.

It turns out this is by design and if you wish to add a VM in this manner to View you need to start the View Agent install with the following switch

VMware-viewagent-4.5.0-xxxxxx.exe /v”VDM_VC_MANAGED_AGENT=0″

This will cause it to act as if it is a physical machine and give you the oppertunity to add the View connection server.

Screen shot 2011-01-29 at 15.44.18.jpg

More information can be found in KB 1027224

 

 

Home Lab Update 3

December 10, 2010 — 2 Comments

If you haven’t already seen my first two posts check them out here https://virtualisedreality.com/2010/02/14/home-lab/ and https://virtualisedreality.com/2010/08/07/home-lab-update/ after update 2 of my home lab I have been very pleased with the performance, the SSD has really changed the usability of the environment.

I have been watching Simon Seagrave’s (http://www.techhead.co.uk) updates on the HP Microserver with interest (http://www.techhead.co.uk/running-vmware-vsphere-on-an-hp-microserver) as I would like to have a second host in my environment, for two reasons, the first and obvious reason is for vMotion, DRS, HA, Update Mangager testing etc the second is to have a stable server with my primary VM’s permanently running that won’t be effected when I want to try new release, betas etc. It’s obvious from Simon’s and some other peoples posts that the Microserver isn’t the most powerful or ideal ESX host, primarily due to it’s relativly small dual core 1.3Ghz but as I only really want to run 4-5 key VM’s it should be more than enough to meet my needs.

The final decision for me was made easily because HP in the UK are currently running a £100 cash back deal, this meant that the Microserver, 4Gb of RAM (I am running with 5Gb in total for the moment) and DVD-RW Drive and USB Key pre-installed with ESXi came to less than £159 + VAT from ServersPlus after the rebate.

The Microserver was delivered the next day after ordering

IMG_1264

I quickly got around to assembling the relevant upgrades I had purchased. The motherboard is removed by sliding out the tray after undoing the thumbscrews at the bottom, you do need to ensure you have removed all the connectors first. Due to the small form factor it was pretty fiddly especially having large hands!

IMG_1276

IMG_1268

Quick thing to note as I missed them first of all but the tool for the HP torque bits is on the front door along with the screws needed for the Optical Drive and to insert your hard disk into the supplied drive caddies.

IMG_1270

IMG_1272 

 

IMG_1277

The MicroServer it self isn’t really much smaller than the ML115 and although it is 100mm smaller in height it is actually 70mm bigger in width. The biggest difference is the depth which is over 200mm smaller!

IMG_1278 IMG_1279

Server dimensions
Height    267 mm (10.51 in)
Width    245 mm (9.65 in)
Depth     210 mm (8.27 in)

 

Server dimensions
Height    367 mm (14.5 inch)
Width    175 mm (6.9 inch)
Length    With bezel – 426 mm (16.8 inch)

The server was quickly up and running with the shipped ESXi USB key, I have also installed 1Tb disk alongside the factory shipped 160Gb hard disk. I have so far been using it for playing with PowerCLI, at present it is running 25 VM’s with little difficulty, although this are blank VM’s that are simply powered up, each VM has 512Mb of RAM and 1 vCPU.

Screen shot 2010-12-09 at 15.47.38

I plan on moving 1 domain controller and the vCenter onto this box permanently, I am also probably going to host a XP or Win 7 desktop on here to act as a Remote Desktop for use with my iPad. I am currently debating whether to move my SSD with a VSA onto this box for my shared storage also. For the run up to Christmas it is going to be abused with me learning more about Powershell and PowerCLI. I will post an update about the final configuration in the new year, I will also probably add another 4Gb of RAM to take it up to 8Gb and a couple of Gb NICS.