Deployment, PowerShell and System Administration

vSphere Lab-in-a-Box 14: vMotion Tests

In this post, we will use vMotion to move the DC02 server between the two virtual ESXi servers and between the iSCSI and NFS datastores. Move Server to New Host Open the vSphere Client and locate the “dc02” server.  Right-click on the server and choose Migrate… Leave the Migration Type on Change host.  Click Next.

vSphere Lab-in-a-Box 13: Set up Secondary Domain Controller

In this post we’ll set up a secondary domain controller on a virtual ESXi server and move it to the other virtual ESXi server using vMotion. Enable Nested VMs on the Virtual ESXi servers Since we will be running nested VMs on these virtual ESXi servers, we need to enable the SSH service and then

vSphere Lab-in-a-Box 12: Set up NFS

In this post we will configure the OpenFiler server for NFS and connect the virtual ESXi servers to it. Configure OpenFiler Open the web interface and go to Services.  Click Enable next to NFSv3 server. Go to Volumes.  Click on Block Devices on the right, then click on /dev/sdc. Scroll down and click on the

vSphere Lab-in-a-Box 11: Set up iSCSI

In this post, we will set up the OpenFiler VM as an iSCSI target for the virtual ESXi servers, and connect the virtual ESXi servers to it. Configure OpenFiler Log into your OpenFiler server via the web interface.  Go to Services and click Enable next to iSCSI target server. Go to System and scroll down

vSphere Lab-in-a-Box 10: Set up OpenFiler NAS

This post will run through the initial configuration of the OpenFiler appliance, to provide some shared storage for the virtual ESXi servers. Importing the VMware Appliance: If you haven’t done so already, download the OpenFiler v2.3 VMware appliance and extract it.  It will extract 3 files to a folder called openfiler-2.3-x86. Open the vSphere Client

vSphere Lab-in-a-Box 09: vCenter Server Configuration

This post will describe the initial configuration of the vCenter Server, which will be used to manage the virtual ESXi servers. Connecting and Adding Hosts On the vCenter server, open the vSphere Client.  Enter the FQDN of your vCenter server, and tick Use Windows session credentials, before clicking Login. When the Security Warning pops up,

vSphere Lab-in-a-Box 08: vCenter Server Setup

In this post we will create and install our vCenter server, which we will use to manage our virtual ESXi servers. Create the Virtual Machine Firstly, we need to create a New Virtual Machine.  The setup of this virtual machine closely matches the setup of the Domain Controller.  Below are the areas it differs from

vSphere Lab-in-a-Box 07: Configuration of Virtual ESXi Servers

We are finally ready to create the virtual ESXi servers on our Lab Host. Enable Nested ESXi Servers Before we create the virtual ESXi servers, we need to make a small tweak to the Lab Host to allow this. You will need an SSH client, such as Putty, to connect to the Lab Host and

vSphere Lab-in-a-Box 06: Set Up Domain and Related Services

In this post, we will configure our server to host an Active Directory domain, and set up some related services. After you set up Windows 2008 on your server, it will log in automatically and open the Initial Configuration Tasks window. Configure Networking First off, we’ll configure the network, so click on Configure networking. You’ll

vSphere Lab-in-a-Box 05: Domain Controller Setup

The first virtual machine we will create will be the domain controller, which will also handle DHCP and DNS, running Windows 2008 R2 64-bit. Create Virtual Machine In the vSphere Client, go to the Virtual Machines tab, right-click and choose New Virtual Machine… I always choose to create a Custom virtual machine, as it gives