UPDATE: OSX on Fusion VM

I won’t fully apolgize for saying I wanted to punch Apple. Mainly, this is made much harder than it needs to be. If this doesn’t make sense read my previous rant about getting the install image for OSX Mountain Lion to run a VM legally and licensed on my Mac Mini purchased with Mountain Lion pre-installed.

In that article I cite an article that ended up having the answer if I would just follow the intructions. Go there I will re-describe here with the steps to getting the image installed in Fusion.

Get the BaseSystem.dmg

media_13737424889701.png

First we are going to mount the Apple_Boot Recoery HD. The attach the baseSystem.dmg image as a drive.

From the list we now enter:

>diskutil mount readOnly /dev/disk0s3
and
>hdutil attach "/Volumes/Recovery HD/com.apple.recovery.boot/BaseSystem.dmg"

media_13737429290831.png
media_13737429479921.png

The result of the hdutil attach command opens this window in finder. This is where I got it all wrong. Instead of following the directions I thought. Well instead of copying everyting in the download and force quiting like the instructions. I will just get the VM to boot from the BaseSystem.dmg. This seemed to be working fine.

On a side note. The BaseSystem.dmg is invisible in finder. From the CLI you can see it and make a copy from the Recovery HD to your main partition. If you want to be able to actually view the file use the command for the CLI:
>chflags nohidden ./BaseSystem.dmg
All this will do is get you this error during the install process with the menacing eyes of the Mountain Lion and the barely QA’d error message saying you didn’t buy Lion. No duh I didn’t buy Lion my mac CAME WITH Mountain Lion. Oh well I digress.

media_13737434463451.png

Back to instructions that will actually help you.

Install OSX Mountain Lion

media_1373743580846.png

Show All Disks

media_1373743618273.png

Use your handy EMC Elect 64GB USB drive

media_1373743659085.png

Seriously my 8GB USB was too small the next size up I own is 64GB (thanks @mjbrender)

Now we wait – then Force QUIT

media_1373743799526.png

So with a large enough USB drive you click install. The installer will now download 4+GB of installtion files into a InstallESD.dmg image on that USB drive. Now you have to read carefully. You must Force Quit when the installer is finished downloading and ready to reboot. Don’t Reboot. ALT + right click (or two finger’d, whatever). If you just normally quit the app in the dock it will clean itself up and delete the InstallESD.dmg file. Some reported seeing the file in the “Trash” after a normal quit, that just not how I roll. Force that junk!

Now copy that file somewhere else for fusion install.

 

The USB drive in Finder

media_1373744166479.png

In Fusion create a new VM

media_1373744272305.png

I am using Fusion 5 so this probably won’t work in previous versions with OSX 10.8
Click Continue without disc.

media_1373744283497.png

Choose a disc or disc image…

media_1373744320940.png

Now select the InstallESD.dmg image. Now Fusion will detect that you are installing Mac OSX 10.8 and roll on. Amazingly enough now it does not ask for your AppleID to verify the installation was purchased from the App Store.

media_1373744599047.png

Install the VMware tools and now you have a happy little OSX VM.

Turning rant back on:
I started messing with this morning and now it is 3:45pm. Thanks for taking a Saturday Apple. Urgh.

This makes me want to punch Apple – OS X in a VM

UPDATE: I found a fix and posted now.

I purchased a Mac Mini.
It has 16 GB of Memory. So why not run a VM for dev purposes. Not so fast my friend, as Lee Corso would say.

The official VMware Fusion KB says use the app you downloaded from the App Store.

So what if I purchased OSX Mountain Lion pre-installed on my mac?
The mac centric forums seem to be no help since those users seem to have no concept of a VM.

media_1373731569446.png

I sure won’t buy it twice. Since I already laid down money for it once.

Then I found this article on how to get the image from the recovery partition.
With a few tweeks I was able to boot the VM in Fusion and I though I was home free. Until I was told to enter my Apple ID and quickly rejected since I did not purchase Lion. Not to mention the MOUNTAIN Lion looking at me like, “take that! Punch in the gut straight from Steve Jobs.”

media_1373731260054.png

Whatever, time to install Ubuntu Desktop or something.

Serious though if you got this to work somehow please let me know.

EMC and ScaleIO – Give me your flash

So today EMC announced the acquisition of ScaleIO. So before you start talking about Amazon be sure the read the announcement, closely.

Pool your Flash

wpid1270-media_1373554187119.png

This is s slide from the release of all the new flash products earlier this year. Remember XtremSW? Well see that grey pooling area? Yeah just imagine how ScaleIO will slide right in.

wpid1271-media_1373554509358.png

Now expect to get more details from the smart people like Chad Sakac but I wanted to get the word out about what the target is for ScaleIO. Pretty cool if you ask me.

Some cool stuff I have learned, but this is so new please check other blogs and EMC pages for more detail.

1. Pools internal storage and presents as a block device to the host.
2. Will be used to extend the XtremSF and SW capabilities
3. Is just one part the bigger EMC Software Defined Storage strategy. Think about the other Scale Out type storage products from EMC, like XtremIO and OneFS on Isilon. Now to you can scale out that internal flash and make a big pool. Very cool.

 

Virtual Storage Integrator – VSI 5.5

Actually using the Virtual Storage Integrator (VSI) from EMC will simplify the complex environments used to create virtual data centers and private clouds. Wanted to bring to your attention some of the new features in the VSI

What is new?

vsi5.5whatsnew_png

A little deeper

wpid1252-media_1372694601114.png

Demo from my good friend Itzik Reich @itzikr

Itzik shows off how to use the Recoverpoint Point in Time with VMware SRM and the VSI plugin to recover from a bookmark that is not the latest. Always WAS a problem if you could only restore using SRM to a corrupted point in the data. Now you can choose and SRM will failover to that point in time. Read Iztik’s blog post on RecoverPoint 4.0 – http://itzikr.wordpress.com/2013/04/30/recoverpoint-4-0-finally/

wpid1253-media_1372694638201.png

Restore a VM from a VNX snapshot or RecoverPoint using the VSI plugin. Pretty cool.

Working on the demo for this now. I will post it in a few days.

 

VDI Calculator for VNX

Biggest question around sizing your VDI usually comes down to sizing the storage.

Some of the solutions team created a pretty cool sizing whitepaper a few months back. Which inspired me to create this web based calculator. It is not meant to do everything in the whole world.

Just give a quick and easy VNX setup.

http://vdi.2vcps.com

The source is on GitHub so please have fun with that.

Sample Output:
calc-shot

More on the EMC, Cisco and Citrix 5000 on vSphere CVD (Cisco Validated Design) in 30 minutes

UPDATED May 26 – New links included Mike Brennan’s latest blog going into the testing and details of the CVD – http://blogs.cisco.com/?p=114587

Scaling CVD for XenDesktop and EMC on Cisco <—-NEWEST Version of the paper!!!!

Back a few months ago I shared about the joint reference architecture that was able to boot and login 5000 users in 30 minutes. Using the Cisco UCS running VMware vSphere, with Citrix XenDesktop and an EMC VNX 7500. Cisco and Citrix answer a few questions with Craig Chapman on the joint validated design in this video:

http://youtu.be/Yw0P8J9e_vo

I really like this layout and it usually takes pretty pictures to get me interested. Here is a high level overview of the design.

 

 

media_1360240163674.png

 

Some of the original CVD links:

CVD Paper – 5000 User VDI with EMC, Cisco, Citrix and VMware
Mike Brennan’s blog about 5000 VDI users

Updated May 2013
Solution Brief from Cisco 4000 Users

Update May 24, 2013 – More links:

Mike Brenner blog on the CVD
Scaling CVD for XenDesktop and EMC on Cisco <—-NEWEST Version of the paper!!!!

 

 

Come to the EMC World HoL -Thats Hands on Labs

It is always exciting to hear a bunch about what is new in Cloud, Big Data, and Information Storage but what if you could actually play with them before taking them back to work?

The EMC World Hands on Labs are here for you! These are Self-Paced labs that should take around 60 minutes.

Lab Hours:

Monday: 11:00AM- 9PM
Tuesday: 7:00AM 6:30PM
Wednesday: 7:00AM 5:00PM
Thursday: 7:00AM 2PM
*Note: Doors close 30 mins before the end of each day

media_1367582804164.png

Available Labs

LAB01 SRM Suite Visualize, Analyze, Optimize
LAB02 VNX with AppSync Lab: Simple Management, Advanced Protection
LAB03 EMC Software Defined Storage (SDS)
LAB04 Atmos Cloud Storage: Mature, Robust and Ready to Rock
LAB05 EMC NetWorker Backup and Recovery for Next Generation Microsoft Environments
LAB06 Flexible and Efficient Backup and Recovery for Microsoft SQL Always-On Availability Groups
using EMC NetWorker
LAB07 Easier and Faster VMware Backup and Recovery with EMC Avamar For the Storage Administrator
LAB08 Automated Backup and Recovery for Your Software Defined Data Center with EMC Avamar
LAB09 Taking Backup and Archiving To New Heights with EMC SourceOne and EMC Data Domain
LAB10 Optimizing Backups for Oracle DBAs with EMC Data Domain and EMC Data Protection Advisor
LAB11 Operational and Disaster Recovery using RecoverPoint
LAB12 Achieving High Availability in SAP environments using VMware ESXi clusters and VPLEX
LAB13 VPLEX Metro with RecoverPoint: 3-site Solution for HighAvailability and Disaster Recovery
LAB14 Introduction to VMAX Cloud Edition
LAB15 Replication for the VMAX Family
LAB16 Performance Analyzer for the VMAX Family
LAB17 Introduction to the VMAX Family
LAB18 Storage Provisioning and Monitoring with EMC Storage Integrator (ESI 2.1)
and Microsoft System Center Operations Manager
LAB19 EMC|Isilon Compliance Mode Cluster Setup, Configuration, and Management Simplicity
LAB20 EMC|Isilon Enterprise Ready with OneFS 7.0 Enhancements
LAB21 RSA Cloud Security and Compliance
LAB22 VMware vSphere Integration with VNX
LAB23 VNX Unisphere Analyzer
LAB24 VNX/VNXe Storage Monitoring & Analytics For Your Business Needs
LAB25 VNX Data Efficiency
LAB26 VNXe Unisphere Administration & Snapshots
LAB27 EMC VSPEX Virtualized Infrastructure for End User Computing
LAB28 Collaborative Big Data Analysis with the Greenplum Unified Analytics Platform
LAB29 Manage Your vCloud Suite Applications with VMware vFabric Application
LAB30 Discover VMware Horizon Workspace
LAB31 Deploy and Operate Your Cloud with the VMware vCloud Suite

As you can see, three is clearly something for everyone. Storage (hey it IS EMC World), Security, Big Data Collaboration, VMware, Horizon, Cloud Suite and VSPEX! All awesome.

Sneak peak

media_1367583683887.png

What a great new addition to the EMC World interface! Everything is on demand and running the very best of VMware, EMC and VCE.

Backend Infrastructure Details

 

The backend infrastructure is run out of our massive Durham data center, with the infrastructure being based on VCE Vblock architecture. *Note: we are also running eight XtremIO bricks to serve up the content.

  • EMC Data Center: Durham North Carolina

  • EMC: Storage (VNX & XtremIO)

  • Cisco: Servers (UCS) & Networking

  • VMware: vSphere 5.1 & vCD

Management & Monitoring Showcase (You KNOW you love Dashboards)

media_1367589384476.png

If you are just amused by blinking lights (I know I am) check out the displays in the HOL showing the backend HOL Cloud infrastructure:

  • EMC SRM Suite:

    • ProSphere

    • Watch4Net

  • EMC XtremIO

  • VMware vCOPS

Finally Win an Apple TV

media_1367589436237.png

I have an Apple TV now I wish I had 2. So do a lab and get entered to win!

My VMworld Session – Enterprise PaaS

If you have a session I missed please put it in the comments are yell at me on twitter.

My submission

media_1367370621370.png

I had 2 other sessions that seemed to be the exact same submissions as a certain VP from EMC, so I stuck with 5351 Enterprise Platform as a Service. – How IT will compete for internal business customers. There was an alternative title to this session and I promise to reveal it if my session gets approved. http://www.vmworld.com and make sure you vote!

SO. MANY. Sessions. Here are a few others I found interesting.

Other Sessions I see as interesting.

media_1367371105023.png

This should be very interesting, two very smart and interesting folks, Wade and Matt. Really looking to see some new faces on stages this year.

media_1367371443486.png

HMA was a customer of mine before I moved to a role in the EMC solutions group. It will be good to hear how they are leveraging cloud in their 80+ facilities.

Cloud Foundry and Puppet

media_1367371487252.png

I am on a Cloud Foundry/PaaS/DevOps/Next-Gen Apps kick as of late.

media_1367371633364.png
media_1367371194331.png

Must admit, Jonas rocks. Magnus is pretty cool too. Razor and SDS should prove to be a informative and not boring session.

PaaS Related

media_1367371564505.png

I am extremely interested on how to get from “Here is a VM” to “Here is an API, write some code”

An All New but Very Similar Adventure

The more things stay the same the more they change, or something like that. At the beginning of the month I started a new place within EMC. I am now the VMware/Cloud/SDDC guy for the Solutions Marketing and Enablement team with the EMC Solutions Group. Exciting new and fun things coming especially around content related to the same old theme for me. VMware, Virtualization, Cloud and all the related points, now with a focus on end-to-end solutions that address requests coming from the business. I am working with a pretty awesome team and I am excited to see what we can produce over the next few months.all-the-stuffz

So check back here soon for information on EMC World, All new reference archtectures, whitepapers, webcasts, podcasts and all way to get involved in the overall cloud community and conversation. As always it is my pleasure to take stuff I learn day to day and show it to you all in a way that will help you. Thanks for reading!

awesome

VMware View Stretched Cluster

The last few days I have been considering the best way to stretch a cluster of VMware View resources. After digging and talking to people smarter than me I figured out there is a lot of things to consider and that means lots of ways to solve this. In this first post I want to highlight the first overall solution that was inspired by an actual customer. This design came from one of the fine EMC SE’s and it inspired me to share further. I stole his picture. It is very storage centric (imagine that) so most of what I share will give some detail to the VDI and VMware portion.

VMware View and VNX and Isilon

wpid1163-media_1360942508658.png

Probably more detail then you need. Important things to remember. The VPLEX will keep the Volume in sync across distance at each site. All the benefits of FAST Cache will still be in place for each site.
In this solution each location will have file data redirected to the Isilon for SMB shares. I will use the VMware View pools and entitlements to force users to each side. Group Policy (GPO) or Third Party Persona Management will direct the users to their data. We are active/active in the sense that workloads are live at each site. Active Passive for the File portion as we will only kick users to site B in the event of a planned or unplanned event.
In another post I will discuss what I learned to make it complete non-persistent site to site active active everything. There is some cool stuff coming here.
First I used Resource pools to map to the VMware View Pools I created to. In the picture below the “Dell-Blades” cluster hosts 1-3 are in site A and hosts 3-6 are site B. One problem How to make sure each pool is pinned to each location?

wpid1164-media_1360944054169.png

Create the VM Group and Host Groups first!

wpid1165-media_1360944271778.png

Create the VM Site A and B group first. Then Create the Host Groups. As simple as editing the settings in your cluster and clicking DRS Groups Manager. One gotcha is you have to have hosts and VM’s first before making the groups. This may be an issue you have have not provisioned your View desktops first (I would wait). Just use some dummy VM’s at first to get the rules created.

With the Groups created Create the Rule

wpid1166-media_1360944500319.png

Remember these rules should say “Should run on hosts in group” (big thanks to @VirtualChappy). If you don’t have the rules right failover won’t work in case of a site going away for whatever reason.

Useful Script for setting DRS Host Affinity for all VM’s in a Resource Pool

wpid1162-media_1360597971375.png

This script I located on the community forums from the amazing LucD and at fix from another community user "GotMoo" I love the VMware Community.

What is so cool is I can run this after provisioning all of my desktops to get them in the right DRS VM Group and since usually in VMware View Environments you might create and destroy desktop VM’s regularly this helps a ton.

$vCenterServer = "vcenter.domain.lab"
#authenticating and Connecting to the VC

$CurrentUserName = [Security.Principal.WindowsIdentity]::getcurrent().name
$cred = Get-Credential $CurrentUserName
Write-Output "Connecting to vCenter. Please stand by..."
Connect-VIServer -Server $vCenterServer -Credential $Cred

 

#Function for updating the Resource VM Groups
function updateDrsVmGroup ($clusterName,$resourcePoolName,$groupVMName){
$cluster = Get-Cluster -Name $clusterName
$spec = New-Object VMware.Vim.ClusterConfigSpecEx
$groupVM = New-Object VMware.Vim.ClusterGroupSpec
#Operation edit will replace the contents of the GroupVMName with the new contents seleced below.
$groupVM.operation = "edit"

$groupVM.Info = New-Object VMware.Vim.ClusterVmGroup
$groupVM.Info.Name = $groupVMName

# Perform your VM selection here. I use resource pools per cluster to identify group members,
# but you could use any method to select your VM's.
get-cluster $clusterName | Get-ResourcePool $resourcePoolName | get-vm | %{
$groupVM.Info.VM += $_.Extensiondata.MoRef
}
$spec.GroupSpec += $groupVM

#Apply the settings to the cluster
$cluster.ExtensionData.ReconfigureComputeResource($spec,$true)
}

# Calling the function. I've found the group names to be case sensitive, so watch for that.
#updateDrsVmGroup ("ClusterName") ("ResourcePool Name") ("DRS VM Groupname")
updateDrsVmGroup ("UCS") ("DesktopsA") ("VM Site A")
updateDrsVmGroup ("UCS") ("DesktopsB") ("VM Site B")
# updateDrsVmGroup ("Cluster_STAGE") ("Group A") ("Group A VMs (Odd)")
# updateDrsVmGroup ("Cluster_STAGE") ("Group B") ("Group B VMs (Even)")
Disconnect-VIServer -Confirm:$False

More to come…

Finally this is a quick look at setting up View to be cross location. Of course other considerations about web load balancers, networking, number of View Connection Managers all need to be decided for your environment. Next post will include some of the stuff I found about keeping the users data live in both sites. Things like Windows DFS (Isilon can be a member), Atmos, VNX replication, and something called Panzura.