- ESXi Project Introduction
- ESXi Host Configuration Through vSphere
- ESXi Server 2012 Installation
- Windows Server 2012 Core to GUI
- Remote Access Server 2012
- Create a Domain in Microsoft Server 2012
- Powershell Bulk User Import in Server 2012
- Server 2012 Enable Remote Desktop (RDP) through Group Policy (GPO)
- Create Local Administrator Account through Group Policy (GPO)
- Create Local Administrator Security Group with GPO
So now that your ESXi host and vSphere client are installed, it’s time to start configuring the server.
Rename ESXi Host
You’ll want to rename your ESX host. Personally I try to follow a logical naming convention for all my computer and guest names. This is something I picked up in the industry. It’s rather simple and looks like this: Organization Acronym – Nearest Airport to Geographical Location – Server Type and number. So for my setup I have DAN-OAK-ESX01. DAN is just short for my name, no organization, OAK is the name of the nearest airport to my server, Oakland International, and ESX01 is the type of server this is and the first one. This naming convention is packed full of intelligence and very scalable. You can use any name you’d like but for this series this is the convention I will be following.
- SSH into your ESX host (See I told you it would be handy)
- Type: ssh root@IP_ADDRESS_OF_ESXI
- Execute this command and make sure “hostname” is the nave you want to use: esxcli system hostname set –host=hostname
- Should Look something like this (used Mac Terminal):
Create Admin user
As a best practice you’ll want to make an administrator user that isn’t your root user. In some cases you might want to demote the root user to prevent a brute force attack. In a lot of standardized solutions out there a vulnerability is having the default admin or root account active. Knowing the correct admin username is half the battle; it’s only a matter of time before someone guesses the password. Here is how you make an additional administrator user.
- Open vSphere and connect to your ESXi Host as Root.
- Select the Local Users and Group Tab.
- Right click and create a new username and password.
- Click OK
- Select the Permissions tab.
- Double Click the new user.
- Assign as Administrator.
Create Storage Array
Now that you can administrate the ESX host, it’s time to create a volume to store your VM’s. In vSphere select the Configuration tab. Then select Add Storage. The following dialogue box will appear. Follow the prompts and create your volume.
Add installation Media
Now that you have your storage volume created you’ll need a place to put your installation images. You can do this several ways, including creating an smb mount to a network resource or an image that is on the client running vSphere. However I found for speed and ease that I would just create an “Images” folder on the root of my storage volume and use that for all my Server Installations. Here is how it is done:
- In vSphere right click the storage volume you just created.
- Select “Browse Datastore…”.
- You will be in the root of the volume. Select the “Create New Folder” icon.
- Name the folder “Images” then select it.
- Select the Upload icon.
- Browse to the ISO on your computer and upload it.
At this point you should have everything you need to start building your virtual servers. You have named the ESX host, have a volume to store the VM’s, and local installation media to install your servers. In my next post I will go through a basic Server 2012 install.