Thursday, December 1, 2011

VMware: Business Critical Applications: SQL Server Rolling Patch Upgrade using Standby VM

SQL Server patching is a common use case for high availability deployments. When people think about minimizing down time for patch upgrades, most people will think of SQL Server failover clustering or SQL Server database mirroring. Those are the two SQL Server native availability features that support rolling patch upgrade. Did you know that you could also perform rolling patch upgrades with just a standby virtual machine (VM) if you are running SQL Server on VMware?
With VMware vSphere, a virtual disk can be hot removed or hot added onto a VM without impacting services running in the VM. Given that, you could put together a rolling patch upgrade solution that's similar to the SQL Server failover cluster share everything architecture by using a standby VM. The SQL Server data and log disks are shared between the primary and standby VMs, although they are only assigned to one VM at a time. The primary and the standby VM each runs an identical copy of the SQL Server binary. When you need to apply SQL Server patches to the primary VM, you can switch ownership of the SQL Server data and log disks from the primary VM to the standby VM. The standby SQL Server VM can continue servicing application requests. The followings describe the steps and process flows for the solution.
Step 1: Configure standby VM
  • Create a standby SQL Server VM, if one does not yet exist, using VMware templates or cloning technologies.
  • Confirm SQL Server logins, job, and other instance level configurations are configured identically between the standby and primary VM.

Step 2: Patch standby VM
  • Apply service patches to the standby SQL Server VM.

Step 3: Hot remove SQL Server resources from primary.
  • On the primary VM, stop client connections to the database(s). One way this could be accomplished is to disable the virtual machine network interface. Connection to the virtual machine can be made using a management interface for Remote Desktop Service connections or vSphere client console connection.
  • Detach database(s) from primary SQL Server by issuing thesp_detach_db T-SQL command.
  • From Windows Disk Management right click the data and log volumes and select Offline to prepare them for hot-remove.
  • From the vCenter client, remove SQL Server data and log virtual disk(s) from the running primary SQL Server VM.

Step 4: Hot add resources to the SQL Server standby VM.
  • From the vCenter client, add the virtual disk(s) containing the SQL Server data and log files to the standby VM.
  • From Windows Disk Management, bring the disks online if needed and confirm that the disk(s) are mounted with the correct drive letter(s) assigned.
  • Attach SQL Server database(s) by issuing the sp_attach_db T-SQL command(s).


Step 5: Switch role
  • On the standby VM, enable application network traffic to the VM.
  • The old standby VM is the new primary, SQL Server service is resumed for the application(s).
  • The old primary VM is ready for service patching and may be left in the standby role if desired until the next patching cycle.

During steps 3 to 5, application(s) would experience temporary connection issues to the SQL Server. Similar to the failover clustering or database mirroring requirements, reconnection is expected to be handled by the application layer, with zero data loss, and any in flight transactions would need to be resubmitted. All operations in steps 3 through 5 are metadata only operations, and are expected to execute instantaneously.
If you would like the ability to do rolling patch upgrades, but don't want to put up with the cost and complexity of maintaining a failover cluster or a mirrored database, this solution provides a viable alternative for you. For those of you that are into scripting, the process flow can be automated using PowerShell and PowerCLI.
-Wanda
Wanda He, Technical Solutions Architect

Webinar - Building Next Generation Virtualized Data Centers with VXLAN


Join Arista and VMware technical leaders as they go in-depth into the new Virtual eXtensible LAN technology -VXLAN.  VXLAN delivers on the ability to execute Stateful Layer-3 vMotion's - the live migration of a workload to any server in the network, at any time, in seconds, regardless of the IP addressing topology of your infrastructure.  VXLAN overcomes the segmentation boundaries and broadcast domain constraints of 802.1q VLANs, replacing them with a more granular and scalable model for segmentation and scaling.  In this session you will learn about VXLAN, the framing format, encapsulation mechanism, how to prepare the network and infrastructure, and how to operate and troubleshoot this environment.
Please register and you will receive a confirmation email reserving your spot in this webinar!

December 2, 2011 - 10:00am PDT

Angry Birds Seasons Updated with ‘Wreck the Halls’ Holiday Levels

Rovio early this morning updated Angry Birds Seasons (the last update was for Halloween), and released a new trailer to their YouTube channel. This latest update includes new holiday levels and continues with the themed updates for the popular $0.99 cent app. In total, Angry Birds has exceeded 500 million downloads.

What's New In Version 2.1.0
- Celebrate the season with a festive Angry Birds update!
- Puzzle your way through 25 new holiday levels!
- Enjoy special seasonal surprises!
- Use Mighty Eagle to blast through difficult levels!


I haven't played Angry Birds in a long time. The game is still fun, but it has gotten a bit boring. Are you still playing the game?
Click here to download Angry Birds Seasons for $0.99.

Mike



Last day with the Mo!!!! See you next year :)

Wednesday, November 30, 2011

Siri, goodbye again...!



Siri, I try to love you but I'm getting very tired of your network connection issues.

Looks like Siri is being turned off (again) to save battery life, will try you again after the next update (5.1?)

Incredible: Song Made Completely With iPad Instruments

Apple's tablet has drastically changed several industries over its nearly two years in existence. The iPad has made voting easier for handicap voters, NFL playbooksmore intuitive for players, and flight bagsmuch lighter for pilots.
It also has the potential to heavily impact the music industry, replacing rooms full of studio equipment and instruments. TheEastMidWest music group proves the theory with its new video: Jason Derula – It Girl (iPad Remix)…
Other than the singing, every sound from the song came from an iPad. The group used over a dozen apps including Apple'sGarageBandAlchemyMadPad, and Magic Fiddle. The total cost of the software? Less than it costs to purchase one of the real-life instruments.

Manitoba VMUG Meeting - Jan 12, 2012

Manitoba VMUG Meeting
UPDATED DATE
Thursday January 12, 2011
6:00 p.m. - 9:00 p.m.
 Red River College - Roblin Centre
Main Lecture Hall
160 Princess Street
Winnipeg MB R3B 1K9
Click here for driving directions
Please note the meeting originally scheduled for December 12, has been rescheduled for Thursday, January 12, 2011.
Meeting Highlights
  • 6:00 p.m. Welcome/Pizza
  • 6:15 p.m. VMware Presentation – vShield
  • 7:00 p.m. Trend Micro Presentation – Today's Data Center with Tomorrow's Security Now
  • 8:00 p.m. Customer Presentation/ Product Demo
  • 8:30 p.m. Q&A/Prize Draws
  • 9:00 p.m. Conclude
Thank you to our meeting sponsor:

Register at: http://www.myvmug.org/e/in/eid=262&source=5