Skip to main content

Professional VMware Server

Eric Hammersley

ISBN: 978-0-470-12453-6

Dec 2006

437 pages

Select type: E-Book

Product not available for purchase

Description

Developing software and testing within virtual machines provides you with countless advantages in terms of automation, stability, disaster recovery, and overall code quality. With this book as your guide, you get the tools you need to create a fleet of virtual machine images that you can use to build your own secure applications.

Beginning with the basics of virtualization and its place within the development and testing environment, the book then delves into the APIs and provides a deep, example-rich reference to their function and purpose. VMware expert Eric Hammersley shares his vast experience in using VMware in the development process and shows you how you can streamline your own development with the new VMware Server.

You'll learn to integrate VMware Server into your existing environment using CruiseControl.NET and Visual Studio(r) Team System as examples. Plus, you'll get a clear understanding of virtual hardware, networks, and the server console, and find out how to build base images. You'll discover the benefits of software development and testing within virtual machines and the advantages they have to offer. This will help you rapidly deploy new machines, set up multiple platforms on a single machine, and dramatically increase the utilization of your hardware.

What you will learn from this book
* Steps on how to install and configure VMware Server
* Tips to follow when creating development base images
* Methods on how to organize your image libraries and prepare them for use
* Best practices for using VmCOM, VmPerl, and the Programming API
* How to integrate VMware Server into your existing environment and automate its functionality
* Ways to leverage VMware Server to provide banks of testing machines on demand

Who this book is for

This book is for software developers, lead developers, and software testing engineers who want to integrate VMware Server into their existing systems in order to create and test applications on various platforms.

Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.
Acknowledgments.

Introduction.

Who This Book Is For.

What This Book Covers.

How This Book Is Structured.

What You Need to Use This Book.

Conventions.

Source Code.

Errata.

p2p.wrox.com.

Chapter 1: VMware Server: A Brief Introduction.

What Is Virtualization?

Terminology, Host vs. Guest.

So What Is VMware Server?

Life without VMware Server.

Chapter 2: Installing Your VMware Server.

Host Hardware Requirements.

Host Operating System Requirements.

Remote Client Requirements.

Installing VMware Server.

Installing the VMware Server Management Interface on Linux.

Installing the Remote Client.

Troubleshooting the Install.

Chapter 3: VMware Configuration Nuts and Bolts.

Getting to Know the Server Console.

Host Settings and Console Preferences.

Virtual Machine Settings.

Virtual Networking.

Virtual Machine Security.

Chapter 4: Creating Your First Base Image.

What Is a Base Image?

Creating Your First Virtual Machine.

Installing a Guest Operating System.

Chapter 5: Where Does This Fit into Your Development Environment?

Virtual Machines for Software Development.

Virtual Machines for Software Testing.

Virtual Machines for Post-Release Maintenance.

Creating Base Images for Your Development Environment.

Chapter 6: Bringing It All Together.

Organizing Your Image Library.

Preparing Base Images for Use.

Recycling Your Testing Images.

Creating an ISO Image Library.

Chapter 7: Introduction to the Scripting APIs.

What Can You Automate?

Supported Platforms.

Programming API.

VmPerl vs. VmCOM vs. Vix.

The vmware-cmd Utility.

The vmrun Utility.

The VMware SDK.

Chapter 8: Using VmCOM.

A Quick OOP Primer.

Windows Scripting Host.

Objects.

Enumerations.

Chapter 9: Using VmPerl.

Cross-Platform Perl Scripts.

Modules.

Constants.

Chapter 10: Using the Programming API.

Compiling Against Vix with Visual C++.

A Quick Vix Primer.

Functions.

Host Machine Operations.

Virtual Machine Operations.

Job Handle Operations.

Using Vix — A Few Brief Examples.

Chapter 11: Integrating with Your Existing Environment.

Continuous Integration.

VMware Tools Scripting.

CruiseControl.NET.

Visual Studio Team System.

VMware Server Integration under Linux — A Brief Look.

Chapter 12: A Real-World Scenario.

Defining Your Environment.

Defining Your Goals.

Setting Up Your Development Images.

Setting Up Your Testing Images.

Configuring Build Integration.

Appendix A: VmCOM Error Codes.

Appendix B: VmPerl Error Codes.

Appendix C: Vix Error Codes.

Index.

Download Code
Download Code
Code downloads for this title are available here.
Download Code
Download
Download Code
Code downloads for this title are available here.
Download