VMware ESXi 5 Whitebox

I just recently purchased a new PC which I have turned into my VMware ESXi 5.0 Whitebox. More posts to come soon as I prepare my virtual environment!

Gateway DX4860
Intel i5 processor
8GB RAM
1TB HDD

This screen shows the ESXi host management console. It’s a custom version of Linux designed by VMware to be a baremetal hypervisor and leave a minimal footprint on the host.

With the ESXi host prepared, we are now ready to navigate to the IP address of the host to install VMware Virtual Infrastructure Client on my laptop. This will be used to remotely manage the host and virtual machines.

This the welcome screen you receive when navigating the host’s IP address. On this page, vmWare provides you tools needed to remotely manage the ESXi host.


Using VMware Virtual Infrastructure client to access the host. I logged into the host using the root credentials, but once my servers are configured access will be delegated through Active Directory user accounts with the required security group privilege.

Preparing for Windows Server 2008 to be installed as a virtual machine. This will be my Primary Domain Controller on my network.

Installing Windows Server 2003. This will just be a member server on the domain and will have VMware virtual infrastructure client installed on it. That way, if I don’t have my primary Windows laptop I can still VPN back to that server and access the ESXi host using that virtual machine. This machine will also run automated tasks, scripts, and handle backups.

A quick view of the usage statistics with both virtual machines running.

Performing a Physical to Virtual Migration – Hot Migration

In this article, I will attempt to explain to the best of my ability how to perform a physical to virtual migration.

Pre-Requisites:

  • Knowledge of vmWare vSphere 4 and Virtual Infrastructure Client

Before we proceed, you will need to head over to http://www.vmware.com/products/converter/ and download the free vCenter Converter.

  1. Launch vCenter Converter
  2. Click “Convert Machine” located at the top left menu
  3. Fill in the info for your remote powered on machine. IP address will be the physical machine you wish to convert. Supply your administrative credentials for the username and password. (DOMAIN/USERNAME for username).
  4. Click “View source details”
  5. Choose to “Automatically uninstall the files when the import succeeds”
  6. Once the conversion prep is complete, you will receive a pop-up displaying the information gathered from the physical machine. Click close on this window.
  7. Click next and you will be taken to the destination screen. This is where you will tell it to go to your Virtual Infrastructure. The “server name” will be your vCenter server. For username and password, supply your administrative credentials. (DOMAIN\USERNAME for username).
  8. Click next and you will be asked to name your newly created VM. I have a naming scheme in place for certain types of servers. (Example: SERVER_NAME_nfs for file servers and SERVER_NAME_bdc for domain controllers).
  9. Click next and select which Host in your Cluster you wish for this vm and also on the right hand side select which datastore you would like to use to store this VM.
  10. Click next and verify the settings for this VM. Make any needed adjustments here before proceeding. (Example: I needed to make a change on the diskspace on the last P2V I did. The physical machine C: drive was 279GB and I wanted it to be 250GB since I had a decent amount of space unused on the drive and don’t plan to go past 250GB with it anytime soon). Also make sure the number of vCPUs and amount of RAM is set to your liking.

  11. Click next then finish. The conversion task will begin so sit back, grab a cold soda and wait for it to complete!

Use Ubuntu as a Mac File Server or Time Machine Volume

Recently, I came across this amazing article that shows you how to turn your Ubuntu desktop/server into a Mac File Server or Time Machine volume. Not only does it allow you to share files between the two computers, but it will also automatically mount your Time Machine volume and begin the backup process. I have followed this article and am currently using this setup on my home network. If you have any questions about this article or need help, please post it in the comments.

Click here to read the article!

Editing List Columns for your Sharepoint Document Library

Recently, my company’s sharepoint administrator left her job and I was given the reins to sharepoint. Growing up with FaceBook, Myspace, and HTML knowledge, editing sharepoint became a piece of cake. It wasn’t until I was asked to edit our Document Library’s List Column that I ran into trouble. Editing the List Columns the traditional way by going into your Modify Site Settings didn’t seem to work so I found a workaround.

  • Edit your document library in the datasheet (Excel)
  • Right click the column you wish the change and choose edit
  • Add in any settings you’d like
  • Save and exit

I hope this helps!

Resolved: Apache “Could Not Reliably Determine the Server’s Fully Qualified Domain Name”

While installing Apache 2 on my Linux server, which runs Ubuntu 10.10, I came across this error:

chris@chrism-laptop:~$ sudo /etc/init.d/apache2 restart
* Restarting web server apache2
apache2: Could not reliably determine the server's fully qualified domain name,
using 127.0.1.1 for ServerName

To solve this problem simply issue this command:

sudo gedit /etc/apache2/httpd.conf

The file will be blank by default so don’t worry! Type this into the blank document and save:

ServerName localhost

Now, issue the restart command for apache.

sudo /etc/init.d/apache2 restart

Hope this helps!

Restricting users from receiving internet mail outside of your company

Blocking a user from receiving Internet based mail is much simpler in Exchange 2003 because our good friends at Microsoft included a simple checkbox, so here are the steps you can take:

  1. Open the properties for the user that you want to stop receiving Internet mail in Active Directory Users and Computers.
  2. Select the Exchange General tab, and then click on the Delivery Restrictions button, the Delivery Restrictions dialog box will now appear.
  3. Check the “From authenticated users only” checkbox in the Message Restrictions section.

Read the rest of the article here.

Wakeup 1.01

Note: This is most useful in a LAN (Local Area Network) where the computer you are trying to wakeup is on the same router as you are. Wakeup packets get squashed when hopping routers.

Scenario: You have a computer in the same building as you are in and you would like to wake it up (from shutdown, standby, or sleep) without actually walking over to it and pressing the power button. (Assuming that this computer is on the same network as you are and uses the same gateway/router)

First, you will need Wakeup 1.01 which you can download here. Within the ZIP file you will find wakeup.exe. Copy that to a new folder C:\wakeup101\ (which you will create).

Next, open up a command prompt (START -> RUN -> CMD). Change the directory to the wakeup folder by using this command chdir C:\wakeup101\

Your command line should now read C:\wakeup101>. In order to wake up a computer you will use this command:
C:\wakeup101>wakeup MACADDRESS

Refer to the picture below for how I issued this command!

wakeup