ESX4i Installation
Jump to navigation
Jump to search
BIOS Settings
- Execute Protection should be Enabled
- Also known as: eXecute Disable (XD - Intel), or No-Execute Page-Protection (AMD)
- CPU Virtualisation Assist should be Enabled
- Also known as: Intel VT, or AMD-V
- Node Interleaving of memory should be Disabled
- CPU Power Management should be set to OS Control
Installation
Basic Install
- Connect ISO / Load CD-ROm and boot ESX
- Follow on screen prompts to install to local disk/USB/SD-card
- Once installed, remove install media and reboot
- Connect to console and configure
- (root) password
- IP address and default gateway
- Hostname and DNS servers
- ESX should now be pingable
Basic Config
- Connect vCentre to ESX
- Add shared VMFS storage (at least scratch disk)
- Configure NTP servers
- Update the local hosts file
/etc/hosts
with the names & IP's of all ESX's in the same cluster and the vCentre
Scratch partition config
- Create a directory for the ESX on the Scratch VMFS (use the ESX’s hostname for directory name)
- In the vSphere client go to Inventory > Hosts and Clusters and select an ESX
- Go to the Configuration tab, and within Software click on Advanced Settings
- Select ScratchConfig
- Set
ScratchConfig.ConfiguredScratchLocation
to/vmfs/volumes/<Scratch Datastore>/<ESX Dir>
- Check
ScratchConfig.ConfiguredSwapState
- Reboot host to apply
Syslog config
- In the vSphere client go to Inventory > Hosts and Clusters and select an ESX
- Go to the Configuration tab, and within Software click on Advanced Settings
- Set
Syslog.Local.DatastorePath
to[<Scratch Datastore>]/<ESX Dir>/log/messages
- Set
Syslog.Remote.Hostname
to<IP address>
Migrate to dvSwitch
- Create dvSwitch and Uplinks
- In the vSphere client go to Inventory > Networking
- Right-click over the Datacentre and select New vNetwork Distributed Switch…
- Use version 4.1.0
- Give the switch an appropriate name, and leave with 4 uplink ports
- Add all relevant ESX’s and select the vmnics to be used for each
- Uncheck Automatically create a default port group
- Enable Network I/O Control
- In the vSphere client Inventory > Networking view
- Select the dvSwitch in the left-hand pane, and click the Resource Allocation in the right-hand pane
- Click Properties, and tick Enable network I/O control on this vDS
- Click OK to apply
- Create a management port group
- In the vSphere client Inventory > Networking view
- Right-click over the dvSwitch and select New Port Group…
- Give the port group an appropriate name (eg ESX_Mgmt)
- Leave the number of ports as is
- Change VLAN type to VLAN, and enter the VLAN ID
- Migrate ESX management network to the dvSwitch (repeat for each ESX)
- In the vSphere client go to Inventory > Hosts and Clusters and select an ESX
- Go to the Configuration tab, and within Hardware select Networking
- Change to the vNetwork Distributed Switch view, and click Manage Virtual Adapters…
- Click Add, then select Migrate existing virtual adapters
- Change the Port Group option to name chosen before (eg ESX_Mgmt), and click Finish to apply
- Once completed, select
vmk0
, and click Edit - Check Use this virtual adapter for vMotion, and click OK to apply
- Tidy up each ESX’s vSwitches (repeat for each ESX)
- Within the vSphere client go to Inventory > Hosts and Clusters and select the ESX
- Go to the Configuration tab, and within Hardware select Networking
- Within the vNetwork Distributed Switch configuration view of an ESX
- Click Manage Physical Adapters…
- Edit the uplinks so that dvUplink1 is using vmnic0, dvUplink2 is using vmnic1, etc
- No changes are made until you click OK to apply, you won’t lose contact with the ESX whilst editing the config
- When adding vmnic0, confirm that you want to remove vmnic0 from vSwitch0
- Click OK to apply the changes
- Switch to the Virtual Switch view
- Remove vSwitch0 (which should have no connected adapters or VM’s etc)
- Add VM Port Groups (repeat for each VM VLAN)
- Still within the vSphere client Inventory > Networking view
- Right-click over the dvSwitch and select New Port Group…
- Give the network an appropriate name
- Leave the number of ports as is
- Change the VLAN type to VLAN
- Set an appropriate VLAN ID tag
- Confirm settings are correct and click Finish to create.