Create a Virtual Test Environment

Similar documents
Introduction to Virtualization

So#ware Deployment. Hans- Pe4er Halvorsen, M.Sc. h4p://home.hit.no/~hansha/?page=so#ware_development

Create Installa+on Packages in Visual Studio

So#ware Development. Overview. Hans- Pe4er Halvorsen, M.Sc. h4p://home.hit.no/~hansha/?page=so#ware_development

IOS110. Virtualization 5/27/2014 1

Hypervisor Software and Virtual Machines. Professor Howard Burpee SMCC Computer Technology Dept.

How to use the VMware Workstation / Player to create an ISaGRAF (Ver. 3.55) development environment?

Lab Inventory System. Label Writer Access Card with Barcode Barcode Reader. Hans- Pe(er Halvorsen, M.Sc.

WA2192 Introduction to Big Data and NoSQL. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

NAS 249 Virtual Machine Configuration with VirtualBox

Getting Started Using Project Photon on VMware Fusion/Workstation

How to remotely access your Virtual Desktop from outside the college using VMware View Client. How to guide

ArCycle vmbackup. for VMware/Hyper-V. User Guide

ECT362 Installing Linux Virtual Machine in KL322

Installing Windows On A Macintosh Or Linux Using A Virtual Machine

INSTALLING SAS 9.2 PHASE 3 ON WINDOWS OPERATING SYSTEMS

Comparing Free Virtualization Products

1. Installation Overview

Provide instructions for installing the VMware View Client a non-wellmont device. These instructions are for a Windows based OS.

Deploying BitDefender Client Security and BitDefender Windows Server Solutions

Database Communica/on in Visual Studio/C# using Web Services. Hans- Pe=er Halvorsen, M.Sc.

Using. Microsoft Virtual PC. Page 1

VMware Horizon FLEX User Guide

Setting Up the Development Workspace

These instructions were tested on OS X Earlier or later versions may have slight or major differences in how things work and appear.

VMWare Workstation 11 Installation MICROSOFT WINDOWS SERVER 2008 R2 STANDARD ENTERPRISE ED.

Hosted Connecting Steps Client Installation Instructions

Week Overview. Installing Linux Linux on your Desktop Virtualization Basic Linux system administration

How to install and use the File Sharing Outlook Plugin

ONLINE BACKUP MANAGER TROUBLESHOOTING MISSING BACKUP JOBS

Training module 2 Installing VMware View

Deploying BitDefender Client Security and BitDefender Windows Server Solutions

SysAidTM Freeware Installation Guide

XenApp 7.7 Deployment ISO. 5 th January 2016

Monitoring Oracle Enterprise Performance Management System Release Deployments from Oracle Enterprise Manager 12c

A COMPARISON BETWEEN "ORACLE VM VIRTUALBOX" AND "VMWARE PLAYER" FROM A "LINUX" PERSPECTIVE

Using VirtualBox ACHOTL1 Virtual Machines

vnas Series All-in-one NAS with virtualization platform

Server Software Installation Guide

MANAGING PRINT SERVER DEVICES WITH "WINDOWS XP" VIRTUAL MACHINES

WA1791 Designing and Developing Secure Web Services. Classroom Setup Guide. Web Age Solutions Inc. Web Age Solutions Inc. 1

1. Install a Virtual Machine Download Ubuntu Ubuntu LTS Create a New Virtual Machine... 2

Using TS-ACCESS for Remote Desktop Access

Personal Virtual Server (PVS) Quick Start Guide

Qlik Sense Desktop. Qlik Sense Copyright QlikTech International AB. All rights reserved.

Virtual Server Installation Manual April 8, 2014 Version 1.8

How To Use Outlook On A Virtual Desktop On A Pc Or Macbook

SQL Server 2008 R2 Express Edition Installation Guide

1. Install a Virtual Machine Download Ubuntu Ubuntu LTS Create a New Virtual Machine... 2

Installation Overview

VMware Horizon FLEX User Guide

Installing CM4D Reporter with Microsoft SQL Server Express R2 x64 for Windows 7

Table of Contents. Online backup Manager User s Guide

Software Installation Requirements

Quick Start Guide for VMware and Windows 7

Remote Application Server Version 14. Last updated:

NETFORT LANGUARDIAN INSTALLING LANGUARDIAN ON MICROSOFT HYPER V

WA1826 Designing Cloud Computing Solutions. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

CS5331 Web Security - Assignment 0

VMware Horizon FLEX User Guide

Setting up Windows Phone 8 environment in VMWare

How to Backup and Restore a VM using Veeam

Quick Deployment Step-by-step instructions to deploy Oracle Big Data Lite Virtual Machine

Virtual Owl. Guide for Windows. University Information Technology Services. Training, Outreach, Learning Technologies & Video Production

Download Virtualization Software Download a Linux-based OS Creating a Virtual Machine using VirtualBox: VM name

Acronis Backup & Recovery 11.5

Introduction. Installation of SE S AM E BARCODE virtual machine distribution. (Windows / Mac / Linux)

WINDOWS 64-BIT INSTALLATION NOTES ORACLE VIRTUALBOX Micro Planner X-Pert V3.5.1 Digital Download Edition

OCS Virtual image. User guide. Version: Viking Edition

Remote Application Server Version 14. Last updated:

XenClient Enterprise Synchronizer Installation Guide

SUSE Cloud Installation: Best Practices Using an Existing SMT and KVM Environment

Getting Started With Parallels Desktop 8

The So5ware Development Process (SDLC)

Administrator Manual Across Translator Edition v6.3 (Revision: 10. December 2015)

Migrating a Windows PC to Run in VMware Fusion VMware Fusion 2.0

Virtual machine W4M- Galaxy: Installation guide

Web. Programming. Hans- Pe0er Halvorsen, M.Sc. h0p://home.hit.no/~hansha/?page=sojware_development

INUVIKA OPEN VIRTUAL DESKTOP FOUNDATION SERVER

IronKey Enterprise Server 6.1 Quick Start Guide

Backup / migration of a Coffalyser.Net database

SQL EXPRESS INSTALLATION...

WA1781 WebSphere Process Server v6.2 Administration. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

Administrator Manual Across Personal Edition v6 (Revision: February 4, 2015)

Installing and Configuring vcenter Support Assistant

How To Upload To Google Drive On Pc Or Mac Or Mac (Or Mac) On Pc (Or Pc Or Ipad) On A Pc Or Pc Or Minecraft (Or Minecraft) On Your Computer Or Mac) Or Ipa (Or

How do I Install and Configure MS Remote Desktop for the Haas Terminal Server on my Mac?

Using the Remote Desktop Portal

Thinspace deskcloud. Quick Start Guide

SAS University Edition: Installation Guide for Windows

Installation Guide. (June 2014)

Getting Started with ESXi Embedded

Evaluating the Balabit Shell Control Box

Vembu BDR v Release Notes. Major features in v Other features in Vembu BDR. Cloud Disaster Recovery Service. VMware UltraBlaze.

Installation Logon Recording Basis. By AD Logon Name AD Logon Name(recommended) By Windows Logon Name IP Address

Getting Started With Parallels Desktop 10

Data Execution Prevention DEP should NOT be turned on for all programs as this can cause access violations when running EXO

Transcription:

Create a Virtual Test Environment Step by Step Exercises Hans- Pe5er Halvorsen, M.Sc.

Why Do We Need a Test Environment? Why cant we just use our own PC? 2

3

Why Test Environment? It works on my PC says the Developer Clean Environment On the Developers PCs we have all kind of SoMware installed that the Customer dont have, e.g. Development Tools like Visual Studio, etc. We need to test on different PlaPorms and OperaQng Systems Customers may use different Web Browsers Deployment: Test of InstallaQon packages Make the somware available for Testers etc. 4

Developers Developers & Testers Customers Development TesQng ProducQon Typically the Developers Personal Computer with Database, Web Server and Programming SoMware Development Environment A Clean PC/Server (or a network with PCs and Servers) where you install and test your SoMware. Today we typically set- up a Virtual Test Environment Test Environment The Customers environment where you unstall the final somware (Servers and Clients) ProducQon Environment Programming environments such as Visual Studio, etc. should not be installed in this environment. You need to create.exe files etc. in order to make your somware run.

VirtualizaQon SoMware A lot of VirtualizaQon SoMware exists. Here are some examples: VMware Player (We will use this in this exercise) VMware WorkstaQon VMware vsphere VMware Fusion (Mac) Parallells Desktop (Mac) MicrosoM Hyper- V VirtualBox etc. 6

VirtualizaQon Windows, Linux,... VM = Virtual Machines Guests VM VM VM VirtualizaQon SoMware Windows, Linux,... VM VM VM Host OperaQon System Hardware (Computer) Hypervisor A Hypervisor can run directly on the computer without a Host OS

VMware Player VMware Player is for personal use on your own PC. VMware Player is free of charge for personal non commercial use. Note! Make sure you have enough free space on your harddrive! VMware is a company that has been specializing within virtualizaqon somware. h5p://www.vmware.com 8

Exercises Install VMware Player (or similiar somware)... Download and Install OS (Windows 7, 8, Windows Server 2008 or 2012) from DreamSpark Install/Configure Server SoMware, e.g.: Install the Database System (SQL Server or other) Configure the Web Server (IIS or other) (only if you create Web pages, etc.)... Install Your So?ware (Database, Desktop App, Web App,.?) Start TesQng! 9

Memory SQck with SoMware 1. Install VMware Player If you have 64bit OS: Install VMware Player 7 If you have 32bit OS: Install VMware Player 6 2. Install OS of your choice inside Player Windows 7 or Windows 8.1 (choose different within the Team) 3. Install SQL Server 2014 Express with Tools inside your VM Windows 8/8.1: You need to install.net Framework 3.5 SP1 4. Install your SoMware inside your VM 1. Database Tables, Views, etc. 2. Your Desktop App (as a.exe File) Note! Make sure you have enough free space on your harddrive!

VMWare Player Step by Step Hans- Pe5er Halvorsen, M.Sc.

VMware Player Download and Install VMware Player (or similiar somware) Download and Install SoMware (.iso Files) needed from Dreamspark Windows OS (Windows 7, 8 or Windows Server,...) SQL Server (Express or Full version)... Note! Developer Tools shall not be installed in Test/ProducQon Environment! Download other SoMware if needed Make sure to keep all the somware installaqon files in one place for next Qme Make a copy of the VM for later use ( Clean InstallaQon ) (if you have enough free space on your harddrive) 12

Create New Virtual Machine Example of exisqng Virtual Machines 13

Select the OS.iso File for the OS you want to install Select the version you want to install Select proper Name and LocaQon 14

Tools that the virtualizaqon environment needs to work properly. Click Finish 15

Note! It is reccommended that you change the Computer Name before you starts installiong lots of SoMware on it. CongratulaQons! It works! 16

You are finished with the Exercise 17

VMWare Player InstallaQon of SoMware in a Virtual Machine Hans- Pe5er Halvorsen, M.Sc. 18

Virtual Machine Sekngs Note! You have access to Network, Printers, USB Ports, Sound Card, Camera, etc. on your Host PC 19

Installing SoMware using.iso Files Just locate the.iso File that is located on the Host PC 20

Installing/Copying from a USB Memory SMck Click to Connect to a USB Memory sqck that is connected to the Host PC 21

Copying Files into the VM Just use Ctrl + C and Ctrl + V in order to copy files between your Host PC and the VM J 22

You are finished with the Exercise 23

Database Step by Step Hans- Pe5er Halvorsen, M.Sc. 24

Database You should create one SQL Script that installs all the necessary stuff (Tables, Stored Procedures, Views, Scripts, etc...) Run the Script using the SQL Server Management Studio (or similiar) 25

Database Script Generator Folder structure: FuncQons Scripts Stored Procedures Tables Triggers Views This Tool generates one SQL Script that contains all SQL files in the Folder structure including subfolders (recursive). Useful when installing the Database you need only to execute one single SQL file. Download from h5p://home.hit.no/~hansha/?page=somware_development 26

MicrosoM SQL Server Management Studio 1 3 2 Your SQL Server Your Database 4 Write your Query here Your Tables 5 The result from your Query 27

You are finished with the Exercise 28

Web Server Step by Step Hans- Pe5er Halvorsen, M.Sc. 29

Web Server Configure/setup/install the Web Server IIS (Internet InformaQon Services), Apache,... Install Web Services (if any) Install your Web App Note! This is only necessary when creaqng Web Sites/pages or Web Apps 30

Deploy/Publish Web Service to IIS Copy Web Service Files (Project) to default IIS Directory: C:\inetpub\wwwroot 31

32

You are finished with the Exercise 33

Install your Desktop App Manually Copy your App Files to the VM and make sure you can start it (Create a shortcut on the Desktop) Note! We will learn to create Setup Packages in the next Topic: Deployment and Maintenance 34

You are finished with the Exercise 35

TesQng Test you somware according to the Requirements and Design Documents and the So?ware Test Plan Report Bugs as Work Items in TFS SoMware Test Plan (STP) Test Logs Planning Tests Perform Tests Document Test Results SoMware Design Document (SDD) SoMware Requirements SpecificaQons (SRS) SoMware Test DocumentaQon (STD) - FuncQonal & Non- FuncQonal Requirements - User & System Requirements 36

Hans- PeZer Halvorsen, M.Sc. Telemark University College Faculty of Technology Department of Electrical Engineering, InformaMon Technology and CyberneMcs E- mail: hans.p.halvorsen@hit.no Blog: hzp://home.hit.no/~hansha/ 37