Home > Data Center Tips > > Avoiding disaster recovery pitfalls in VMware and Linux: Rejecting default settings
Data Center Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


Avoiding disaster recovery pitfalls in VMware and Linux: Rejecting default settings


Richard Jones, Contributor
03.30.2009
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Last year, at several seminars on advanced enterprise virtualization, I asked attendees about their virtualization deployments. Most had deployed VMware with the Virtual Machine File System (VMFS) as the storage file system, but few had deployed virtual machines (VMs) with raw device mapping (RDM) for storage access.

When creating storage for a VM, VMware's cluster file system, VMFS, is the default and follows the simple path, creating virtual disks inside a VMFS logical volume on a logical unit number (LUN). Then when you install a Linux OS, you can use the default. While the simple default settings for creating VMs may speed deployment and appear to reduce management overhead, these default settings pose problems. The central issue is that these settings target the simplest case without regard for particular system requirements. Defaults are often designed for a product evaluation, where ease and speed are the objectives. But particularly when it comes to disaster recovery (DR) and backup, consider the possible long-term effects of these default settings. Let's consider some enterprise scenarios to illustrate how default settings can be a bad move in virtual deployments.

Serverless backup and raw disk maps
As more modern applications are stored, it takes more time to back up or restore an application's data. But this opposes business disaster recovery demands of shorter recovery time objectives (RTOs). Compounding the situation is the ability of modern servers with more processor cores and memory to host higher VM consolidation ratios that can tax limited host backup/restore I/O bandwidth. All three factors have resulted in backup and recovery times that are unacceptable today compared with just a few years ago.

The solution is to move the backup and restore process away from VMs and to a storage area network (SAN) with serverless backup products such as VMware Consolidated Backup (VCB). Serverless backup requires RDMs to SAN LUNs to allow the backup server direct access to the LUN. But if a VM was created with defaults, you must re-create virtual disks and move data into RDM-configured storage to support a serverless backup architecture. This necessitates a major departure from default configurations for virtual environments.

SAN replication
As RTOs become more compressed and data sets increase, many IT organizations have found that while virtualization can significantly improve server and application RTO, data restoration time has become the gating factor. To ward off this burgeoning problem, the trend has been to replicate data to a disaster recovery site or business continuity geo-mirrored data center to speed recovery. Essentially, replication is pre-staging the data at the recovery site. Many IT organizations simply replicate the LUNs that hold their VM images to the recovery or business continuity site.

But using the default configurations results in inefficient use of replication bandwidth and recovery site storage. The problem is that the storage array and array replication software only understand replicating at the granularity of a LUN. Only one VMFS logical volume can be created per SAN LUN. The result of replicating that logical unit number to a recovery site is that the swap and root partitions are replicated in addition to the application data. Replicating swap not only chews up unnecessary bandwidth but is completely useless at the recovery site. Booting a Linux guest OS will overwrite the contents of its swap partition.

The best configuration for Linux guests in a replicated virtual environment is to create three separate LUNs for the guest virtual disks: a swap LUN, a root LUN and a data LUN (or LUNs). When VMs are created, RDMs to each of the three LUNs are mapped. When the Linux guest OS is installed in a VM, the swap partition is created on the swap device, the root partition on the root device and the application data partition(s) on the data device (or devices). This configuration enables selective replication policies to be applied to VMs. For example, the swap LUN would never be replicated, the root LUN would be replicated on an infrequent but regular basis (frequency is tied to configuration management change policies) and the data LUN(s) would be regularly replicated to meet application RTOs. Additionally, archiving policies would include root and data LUNs only.

This brings up another tip for replicating VM virtual disks in an environment where VM snapshots are used for recovery or archive policies. VMware offers two modes of building RDMs: virtual and physical. Snapshots are disabled with physical RDMs but are available in virtual RDMs. When a VM snapshot is taken, normally all virtual RDMs associated with the VM are included in the snapshot. To exclude the swap RDM, you must create the virtual disk on the swap RDM as an independent disk.

The bottom line
Planning a virtual environment for Linux guests requires forethought that almost never includes using the vendors' default configurations for the virtual infrastructure nor the Linux OS installation. Planning for the future, including the use of replication for recovery -- whether to a remote site or a cloud provider -- requires an architecture that separates the operating system files from the swap file and the application data.

ABOUT THE AUTHOR: Richard Jones is vice president and service director for Data Center Strategies at Midvale, Utah-based Burton Group. He can be reached at rjones@burtongroup.com.

What did you think of this feature? Write to SearchDataCenter.com's Matt Stansberry about your data center concerns at mstansberry@techtarget.com.

Rate this Tip
To rate tips, you must be a member of SearchDataCenter.com.
Register now to start rating these tips. Log in if you are already a member.




BROWSE BY TAG
Data center Linux,   Server hardware,   Linux servers,   Data center server virtualization,   Data center operations management,   Server virtualization,   Storage backup - data center,   Data center storage,   Data center disaster recovery planning,   VIEW ALL TAGS

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Data center Linux
Will Solaris on x86 survive the Oracle-Sun acquisition and Linux?
How will KVM virtualization affect RHEL Xen users?
Novell SLES Mono Extension could put Windows on mainframe, in cloud
Xen vs. KVM: Verdict still out on dueling hypervisors
Vendors pledge joint support for Cisco's Unified Computing System
Red Hat bolsters Linux for mainframes, tries to catch Novell
Should you pay for support on all Linux servers in your data center?
Novell vs. Red Hat: How their Linux strategies affect your data center
Server users ponder Sun's hardware future
Zenoss upgrades IT monitoring software to vie with Big Four

Data center server virtualization
What are your CIO's priorities? An interview with Sunoco's CIO
Application performance monitoring firm targets cloud computing
How will KVM virtualization affect RHEL Xen users?
County government makes business case to update PA-RISC servers
Server hardware cost comparison: Is virtualization cheaper?
Reporter's notebook on AFCOM Data Center World: Day two
U.S. versus global data center trends: IT priorities vary
Users buying, configuring servers for virtualization
Blade server popularity cools
Xen vs. KVM: Verdict still out on dueling hypervisors

Storage backup - data center
Lower disaster recovery costs with open source replication tools
Sun Microsystems provides storage, hard drive wiping services
Data growth: The worst enemy of your recovery time objective
Offsite data storage advice
Tapeless backup gains favor among storage architects
Deduping: an essential backup tool in the data center?
Tiered storage shifts focus away from disk
CDW improves backup server speeds by 1,000%
Sun props up storage line in quarterly update
VTL users talk shop
Storage backup - data center Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
unified computing system (UCS)  (SearchDataCenter.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



White Papers - Data Center Networking

The Intel IT Technology Center - Power, Performance and Mobility Solutions

HomeNewsTopicsITKnowledge ExchangeTipsBlogsMultimediaWhite PapersEvents
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2005 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts