Professional Documents
Culture Documents
3852 Networks Gettingstarted
3852 Networks Gettingstarted
with Virtualization
an Networking eBook
contents
[ ]
Getting Started with Virtualization
2 For Starters:
The Virtualization
Performance Quandary
Rafael Hernandez
2
4 The Trouble With
Virtual Disaster Recovery
Richard Adhikari
1
[ Getting Started with Virtualization ]
The reality is that not all tasks are well suited to run
V
irtualization can have a huge effect on produc-
tivity and cost savings when consolidating wide- under a virtual OS, the usual culprits being software
ranging workloads, but getting the best per- that's highly resource intensive and I/O bound appli-
formance out of your software is something else cations, similarly there's software that just doesn't
entirely. Here are some of the things you'll want to want to play nice for whatever reason and is best left
keep an eye on if you're determined to get the most to run on its own machine where it can happily run its
out of the technology. course.
“
The fact of the matter is that there is a performance penalty
with any action carried out on a virtualized system
2 ”
Getting Started with Virtualization, An Internet.com Networking eBook. © 2009, Jupitermedia Corp.
[ Getting Started with Virtualization ]
resource intensive applications. with virtualization as detailed here. Their first and
most logical step is to reduce the effect the hypervi-
You're more likely than not to go back to the drawing sor has on a system's performance. AMD's SVM and
board with quite a few consolidation plans once Intel's VT-x have improved how hypervisor emulation
things aren't going smoothly as you hoped. and the like behave when accessing system resources.
Virtualization overhead can get ugly and it's not going
to be cleared up anytime soon, but you can bet the Both companies also have another trick up their
large software and hardware vendors are working on sleeves with regards to CPU performance penalties a
this very problem. system can encounter when managing the memory
requirements of multiple virtual machines. AMD's
On The Hardware Front Nested Page Tables, found on Quad Core Opterons
and the somewhat similar Intel EPT, soon to be found
As with any software trend, hardware support tends to on their upcoming "Nehalem" CPUs, have a dramatic
lag behind quite a bit. There's not much blame you effect on limiting the performance hit on memory
can pass on to the vendors since it takes a while to page table access.
engineer features into their hardware. But the good
news is that your two favorite chip vendors have you The hardware additions along with inevitable software
in mind. tweaking over time will lead to performance increases
(or less of an overall system performance loss) when
AMD and Intel's rivalry extends to all things; even the running virtual machines.
hardware accelerated virtualization field isn't safe. The
two companies have had some basic hardware assist Current performance penalties incurred by systems
with various virtualization tasks in the past few years running multiple virtual machines can cause quite a
but it's been a rather weak response to some of the bit of frustration when you're trying to balance cost-
serious shortcomings that CPUs have when handling cutting and remove any possible instabilities that
this demanding style of application. might arise with loading up a server full of necessary
applications. Thankfully companies are improving on
The two companies have been making strides in order their products in leaps and bounds. In a few years,
to improve on the performance penalty virtualization close to native performance may even become the
can impose on a system. The x86 instruction sets the norm. I
companies' chips use have a particularly difficult time
3 Getting Started with Virtualization, An Internet.com Networking eBook. © 2009, Jupitermedia Corp.
[ Getting Started with Virtualization ]
A
s enterprises virtualize their data centers to cut
costs and consolidate their servers, they may plans? Or, if they're included, why aren't they being
be setting themselves for big trouble. backed up? It's because enterprise IT just does not
have the right tools to back up virtual servers.
According to a disaster recovery research report from
Symantec based on surveys of 1,000 IT managers in The biggest problem for 44 percent of North
large organizations worldwide, 35 percent of an orga- American respondents was the plethora of different
nization's virtual servers are not included in its disaster tools for physical and virtual environments. There are
recovery (DR) plans. so many that IT doesn't
know what to use and when.
Worse yet, not all virtual
servers included in an organi- Another 41 percent com-
zation's DR plan will be plained about the lack of
backed up. Only 37 percent automated recovery tools.
of respondents to the survey Much of the disaster recov-
said they back up more than ery process is manual,
90 percent of their virtual sys- although VMware has a tool
tems. to automate the run book.
“
The biggest problem for 44 percent of North American respondents was
the plethora of different tools for physical and virtual environments.
4 ”
Getting Started with Virtualization, An Internet.com Networking eBook. © 2009, Jupitermedia Corp.
[ Getting Started with Virtualization ]
not been around long enough for users to be familiar because "people didn't do what they were supposed
with them. For example, provisioning, or setting up, to do," Lamorena said. This means that much of
virtual machines from physical ones and vice versa can recovery is still a manual process, and companies
also be a problem, and tools for this have only recent- must begin looking at automation, he added.
ly emerged.
Another cause is that tests are not run frequently
"Virtualization makes some aspects of backup and enough. That's because "when you run a test, it dis-
disaster recovery more difficult," Symantec senior rupts employees and customers," Lamorena said. He
product marketing manager for NetBackup Eric Schou added that 20 percent of the respondents said their
told InternetNews.com. "IT shops are still struggling revenue is impacted by DR tests, so "the tests cause
with the steep learning curve." the same pain to their customers as if they had a real
disaster."
Porting over solutions from the physical environment
won't work, Schou said. "IT shops need to get solu- Finally, the survey found that top-level executive
tions that are finely tuned for virtualization," he involvement in DR planning has fallen. "Last year, the
added. C-level involvement on disaster recovery committees
was 55 percent; this year, it's 33 percent," Lamorena
DR Isn't So Hot Either said. C-level executives are CIOs, CTOs, and CEOs.
Judging from the results of the survey, IT is still not as Lamorena finds the reduction in top-level involvement
familiar with DR as it should be. DR testing is a mess. disturbing because it could lead to more problems
A whopping 30 percent of respondents said their DR with DR. "That's a huge drop, and we've been think-
tests failed. That's better than the 50 percent failure ing about this day and night," he said. "What's alarm-
rate in 2007, but it's still pretty scary. ing is, companies may be getting a little lax and don't
think they'll be affected by a disaster." I
For 35 percent of the respondents, the tests failed
5 Getting Started with Virtualization, An Internet.com Networking eBook. © 2009, Jupitermedia Corp.
[ Getting Started with Virtualization ]
A
s an IT manager you've read of all the advan-
tages that come with virtualization. The next decide on a reasonable set of applications and then
step is to feel comfortable tackling a migration compile the following information:
to virtual infrastructure and to make sure it is protect-
ed. 1. Identify characteristics of selected apps under load
to determine the right implementation. what percentage used at peak load? Don't forget to
note the type of CPU you used when you did your
measurements.
What Applications Should I
Virtualize? Total disk space including growth to next budget
With current virtualization technology almost all cycle
“
Identifying and selecting the capabilities and limitations of data protection
within your virtual infrastructure is one of the most critical tasks.
6 ”
Getting Started with Virtualization, An Internet.com Networking eBook. © 2009, Jupitermedia Corp.
[ Getting Started with Virtualization ]
Build a Solid Virtual
Network bandwidth utilization
Foundation
Network bandwidth used by this application at peak
load. Remember to account for both directions of
network traffic.
By Amy Newman
Storage network throughput (SCSI, FC, iSCSI,
NAS) as both input and output
The same thing you just did for your messaging net- Virtualizing your environment is more than simply
taking a bunch of old servers (possibly laying
around since the last Boom in the 1990s), and parti-
work.
Do you need to be able to recover individual files When ROI Isn't Enough."
7 Getting Started with Virtualization, An Internet.com Networking eBook. © 2009, Jupitermedia Corp.
[ Getting Started with Virtualization ]
initial benefits quickly, but as you move along into
This is the simplest decision, since it mirrors what you
are already doing with your physical infrastructure. production and heavy database apps, the ROI is not
The strengths of this approach: as clear or as quickly forthcoming.
• Low disruption to existing workflows
• Easy application backup and recovery Enterprises therefore, must take a long-term view.
• File level recovery Ritter recommends finding a key metric to measure
early in the process that takes flexibility and agility
There are two significant weaknesses to this approach: into account. This way, they become standard track-
• Total cost of backup software agents ers and in time can be the basis of a business case.
• Need to manage load on ESX server when run- Ritter was emphatic about this, noting, "if you don't
ning backups put the metric is place early to measure the return,
it's going to bite you early."
Agent in Hypervisor Service Console
This is pretty simple as well. It only requires a single There are multiple approaches to measuring this
Red Hat Linux agent for each ESX server. way. High availability and disaster recovery, for
example, are critical issues, and in some cases vir-
tualization makes it financially feasible for organi-
zations to set up a failover site, if they couldn't
Strengths:
8 Getting Started with Virtualization, An Internet.com Networking eBook. © 2009, Jupitermedia Corp.
[ Getting Started with Virtualization ]
Strengths: to do a bare metal disaster recovery again since virtu-
• Simplicity al storage file systems are simple, single files.
• Low application server and ESX server overhead Recovering an entire system can be as simple as
recovering a single file.
Weaknesses:
• Cost of snapshot enabled storage Site disaster recovery can be greatly simplified since
• Complexity of initial deployment (varies widely you can bring a site up quickly on lower end physical
depending on implementation) systems and add capabilities as needed without inter-
rupting operations. You will still need to develop a
What does implementing the right protection solution site disaster recovery plan, but there are many avail-
in a virtual environment do for you? able resources to help you to do so. Clustering virtual
machines with VMware Virtual Infrastructure is much
With virtualization you can do things like physical easier and less expensive than with physical clusters.
machine to virtual machine conversion and, in some
cases, you can take advantage of your existing back- Virtual appliances can make purchasing, installing,
up images to migrate to a virtual infrastructure. configuring, and updating applications much simpler.
In some cases they can also help simplify site disaster
If you plan your data protection, you will never have recovery. I
9 Getting Started with Virtualization, An Internet.com Networking eBook. © 2009, Jupitermedia Corp.
[ Getting Started with Virtualization ]
Windows Virtualization:
Get Started With Hyper-V
By Ryan Bass
T
he release to manufacturing (RTM) version of Hyper-V
made its debut in June 2008. This final edition of sion Windows Server 2008 created with a beta version
Hyper-V includes security, stability, performance, and of Hyper-V, then you are out of luck and will need to re-
user experience improvements. With such a late start, create the virtual hard disk file from scratch. If you cre-
Microsoft is going to have a ated a VM containing a final
tough time capturing a sizable release version of Windows
portion of the enterprise virtual- Server 2008, then follow the
ization market, but small- to steps here to get it working
medium-size organizations are in the RTM version of Hyper-
sure to jump on board the V. If you created VMs with
Hyper-V train as they slowly RC0, all you have to do is
begin to migrate from Server shut down the guest OS and
2003 to Server 2008. merge any snapshot files. If
you've got VMs created with
We're going to take a look at RC1, then you don't have to
what to do if you've already do anything special.
got virtual machines (VMs)
created in the Hyper-V beta We've all been barraged
or release candidate environ- with the benefits of virtual-
ments, and how to get start- ization for several years now,
ed with Hyper-V if you're a but in case you forgot here
beginner. are three good reasons to
go virtual: server consolida-
If you've already been tinker- Jupiterimages
tion, business continu-
ing with the release candi- ity/disaster recovery, and
date or beta editions of Hyper-V here's what you need testing/development. Hyper-V makes it so easy there is
to know if you want to continue using those VMs: really no reason to hold back. Even if you run Hyper-V
10 Getting Started with Virtualization, An Internet.com Networking eBook. © 2009, Jupitermedia Corp.
[ Getting Started with Virtualization ]
solely for testing and development, it is well worth it. es your problem.
The biggest barrier to getting started with Hyper-V is
hardware. Unfortunately, you won't be able to use older VMs In Production
equipment because Hyper-V requires a 64-bit proces-
sor with hardware-assisted virtualization and hardware If you're going to be running VMs in production, then
data execution protection. you will definitely want to take a gander at the different
settings available for your VM. Some of the more
important options include: memory, processor, network
Installing Hyper-V adapter, and automatic start/stop actions. Be sure to
If you've got the right hardware then follow these steps give your virtual machine enough memory because you
to get Hyper-V installed: don't want it to hit the page file on your virtual disk.
Processor settings are important because you don't
1. Setup a Windows Server 2008 x64 server want a test box or runaway app to hog all the process-
2. If the server software didn't already come with the ing power away from other production VMs.
RTM version of Hyper-V then download and install it. Depending on the applications you are running, you
3. Open Server Manager may want to install additional physical network
4. Click on Roles > Add Roles > Next > Select Hyper- adapters into the host server and distribute the net-
V > Next > Next working load among more than one adapter. Finally, it's
5. Select an Ethernet adapter to be available for VMs important to tell Hyper-V what to do when the host
> Next > Install operating system shuts down or starts up.
To open the Hyper-V Manager click on Start > All One final note: Beware of virtual server sprawl. With
Programs > Administrative Tools > Hyper-V Manager. Hyper-V (and other server virtualization technologies) it
To create a new VM click on New from the Actions side becomes almost too easy to create new "servers."
bar and select Virtual Machine. Follow the instructions Remember that there is overhead associated with each
in the wizard to create a new VM. The easiest and additional VM that is created. It may need to have an
fastest way to install a new VM is to use an ISO file con- anti-virus client, a backup client, and any other
taining the operation system you want to install. This clients/agents that you install on your servers. It will
option is available on the Install Options page of the need to be patched each month, and don't forget
New Virtual Machine Wizard. about that pesky OS licensing issue.
Once you've got your first VM setup you may want to Depending on your version of Windows Server you
make a copy of the virtual hard disk file. This will allow may need to purchase additional OS licenses. There is,
you to setup new VMs in a matter of minutes. Of however, a Microsoft tool that will help to determine
course, before you make a copy of the virtual hard disk how many OS licenses need to be purchased. With
file you should run sysprep or another utility on the VM Server 2008 Datacenter Edition you can have as many
to roll the SID on the server. The SID is a unique identi- VMs as you want, Enterprise Edition comes with the
fier that the server assigns itself when it is first created. ability to run four VMs, and Standard Edition requires a
Duplicate SIDs will end up biting you in subtle ways license for each VM. I
and it may not be obvious that the duplicate SID caus-
11 Getting Started with Virtualization, An Internet.com Networking eBook. © 2009, Jupitermedia Corp.
[ Getting Started with Virtualization ]
For the rest of the IT community it's clear that talk Fast-Rising Market
about enterprise server virtualization adoption isn't a
But where virtualization is relevant to an IT profession-
matter of "if," but "when." So the question is whether
al's career -- such as storage, server management and
certification in virtualization technology is a must-have.
PC management — certifica-
tion can put them ahead of
With vendors like VMware,
the curve. IDC projects that
Citrix, and now Microsoft in
by 2011 the market for virtu-
the virtualization certification
alization services will reach
game and the job market for
about $12 billion.
IT professionals with virtual-
ization skills sizzling, it would
Today, Tom Silver, senior vice
appear that many individuals
president at Dice, reports
would stand to benefit from
about 1,500 open job post-
sinking time and money into
ings out of approximately
this specialized training. Red
8,500 posted on the compa-
Hat offers Enterprise Linux
ny's IT job site reference vir-
Virtualization training for Red
tualization skills — a small
Hat Certified Technicians
percentage but a fast-grow-
(RHCT) or individuals with
ing job area nevertheless, he
equivalent knowledge.
says.
What's clear is that there's no Jupiterimages
Silver is on the same page
doubt that getting certified in virtualization technology
as Anderson when considering a certification in virtual-
matters.
ization, noting that it depends on an individual's career
path and where they are on it.
"It just matters to some, not to everyone," says
Cushing Anderson, program vice president at IDC.
"If you're looking to get a job or move into a new area,
He says that today many IT professionals get on-the-
“
What's clear is that there's no doubt that getting certified
in virtualization technology matters.
12 ”
Getting Started with Virtualization, An Internet.com Networking eBook. © 2009, Jupitermedia Corp.
[ Getting Started with Virtualization ]
certification can help. But certifications can be a mixed
bag because once you're in the door, employers aren't Most recently upping the ante for virtualization experts
as interested in certification versus whether you can do is Microsoft, with the launch of its new virtualization
the job," says Silver. products. The vendor also announced a roadmap for
certified technical specialists in virtualization.
Jason Martin, vice president services at VMware, says
that people who take the VMware Certified The vendor will offer four Microsoft Certified
Professional (VCP) training should have some hands-on Technology Specialist (MCTS) certifications on virtual-
experience with virtualization already. ization, two are which are available now: Microsoft
Desktop Optimization Pack, Configuring; and Windows
The vendor reports that it's seeing a shift in demand for Server 2008 Applications Infrastructure, Configuring.
its VMware Certified Professional (VCP) on VMware Available later this year will be: Windows Server 2008
Infrastructure 3 from the channel community to large Virtualization, Configuring; and System Center Virtual
enterprises. Machine Manager, Configuring.
"It's becoming requisite training for IT staff who will The four certifications are designed to validate skills on
install and manage VMware," Martin says. the features and functionality of key Microsoft technolo-
gy areas such as Window Server 2008: Hyper-V; System
In fact, he expects that by year-end more corporate IT Center: Virtual Machine Manager; Terminal Service
professionals than channel partners will pursue VCP Virtualization; and Application Virtualization, according
education. The VCP allows IT professionals to demon- to the company.
strate their virtual infrastructure expertise, according to
Martin. Industry experts warn that rather then getting caught
up in the virtualization buzz, individuals should only
Microsoft Enters Game consider undertaking a certification track if they're inter-
ested in managing complex architectures.
The relatively new VMware Certified Design Expert
(VCDX) is a more advanced certification targeting "Virtualization is very technical. So while the technology
design architect of VMware enterprise deployments. may be hot, only pursue it if it's your bliss," says
Likewise, training such as the Citrix CCA for XenServer Anderson. "Otherwise, you'll be a dull employee." I
matters most to individuals or companies with a direct
investment in the vendor's products.
13 Getting Started with Virtualization, An Internet.com Networking eBook. © 2009, Jupitermedia Corp.