LAB-01 ESXi Installation.
- Login to your Jump-Host.
- Run web browser and open vCenter address
- Login to vCenter
- Provide Credentials
- Go to Host and Clusters
- Expand vCenter -> Datacenter -> Cluster -> vApp -> Resource Pool
- Right Click on Powered Off VM -> Edit Settings
- Find CD/DVD Drive and change it to Datastore ISO
- On Datastore in folder find ISO click on them and click OK
- click on Connect at Power On
- and click OK
- Power On this VM. Click on Action -> Power -> Power On
And Confirm Power On on vApp
- Launch Remote Console
- On Welcome Screen press Enter
- Accept the license by pressing F11
- Choose local hard disk by pressing Enter
- Change Keybord Layout to Polish
- Set passwod (P@ssw0rd1!)
- Check errors and warning and press Enter
- Press F11 to install ESXi on local disk
- Press Enter to Reboot your Host
- Stay on your JumpHost to perform LAB-02
LAB-02 Basic ESXi Configuration.
- Launch Remote Console for ESXi
- Press F2 and login with credentials provided during installation
- Collect data to next LAB (SSL Thumbprint (SHA1))
- Go to Configure Management Network
- Set IPv4 Configuration with static IP provided in DATA file
- Disable IPv6
- Set DNS and Hostname
- Accept all changes and reboot the VM
- Close Remote Console
- LogOff from Second Jump Host
LAB-03 Connect to vCenter
- Log in to vCenter
- Click Administration and Licenses
- Press create new License and add Key
Next
Next
Finish
- Go back to Home and Click on Host and Cluster
- Create new Datacenter by clicking a right mouse button and
- Add a Host by clicking a right mouse button on Datacenter
- Enter IP address from first Host
- Provide credentials
- Accept the SHA key. Compare with your DATA collected in LAB-02
- Chose the license
- Leave disabled lockdown mode
- Repeat step from 6-12 to add second ESXi Host
LAB-04 Networking
- Log in to vCenter
- Select first host from list
- Click configure tab
- Click networking tab
- Click Add host networking
- Choose VMkernel Network Adapter
- Choose new standard switch
- Add new adapter (choose vmnic2)
- Change Network Label to NFS
- Set static IP
- Press Finish
- Repeat steps from 5-11 on second host
- Repeat steps from 5-11 second time on ESXi-01 and ESXi-02 setting IP address and name for iSCSI
LAB-05 NFS Datastore
- Log in to vCenter
- Select first host from list
- Go to related object tab
- Choose Datastore Tab
- Create new Datastore
- Choose NFS
- Leave NFS 3 version
- Change label name to NFS
- Provide path and IP
- After creation on first HOST click right mouse button and press Mount Datastore to Additional Hosts
- Chose second host
- Press OK and confirm that on second Host you also see NFS Datastore.
LAB-06 iSCSI Datastore
- Log in to vCenter (credentials are in DATA file)
- Select first host from list
- Go to storage tab
- Choose storage adapters
- Add new Storage Adapter
- Software iSCSI Adapter
- Choose newly created iSCSI Storage Adapter
- Select Targets tab
- Dynamic discovery Add
- Provide iSCSI Server IP address
- Click Rescan all storage adapters
- Back to iSCSI Storage Adapter
- Choose Device tab and check there is two device provided from FreeBSD storage
- Repeat steps from 3 to 13 on second host
- Go to Related Object and Datastores
- Add new storage
- Select VMFS Datastore and full disk space.
- Repet steps 15 and 16 to second iSCSI Storage
- Confirm that you see both Datastores on both Hosts
LAB-07 VM Creating
- Log in to vCenter
- Upload ISO with CentOS to your Datastore
- Go to VM and Templates
- Right Click on Lab Datacenter
- New Virtual Machine ? New Virtual Machine
- Set Name and select datacenter
- Choose Host
- Select Storage
- Leave Compatibility Mode
- Select Guest OS Family
- On customization Tab ? Remove Floppy drive and change CD to ISO file with CentOS minimal and select connect at power on options
- Check network card and choose VM Network.
- Install CentOS with default settings
LAB-08 Configure Network on VM
- Create network for WAN
- Add another network to VM
- Log-in to VM and configure network.
LAB-09 VMware Tools/KB
- Open console for VM
- Click VMRC ? Manage ? Install VMware Tools
- Create folder /tmp/tools and /mnt/cdrom
- Mount CD-ROM in folder /mnt/cdrom
- Go to mounted folders and copy VMware Tools into /tmp/tools
- Unpack copied files
- Install Perl dependencies
- Install vmware tools with –default command
- Confirm that tools are installed
LAB-10 Template
- Shut down the VM
- Remove second NIC from VM
- Right click on VM ? Template ? Convert to template
- Deploy VM from this template
- Select Customize this Operating system
- Create New Specification
- Computer Name set to use VM Name
- Set Domain
- Configure NIC to prompt user for IP
- Deploy VM using
- Deploy Another VM using previously created template.
- Check if both VM has corrected IP and Hostname set from customization.
LAB-11 Cluster
- Go to host and cluster view
- Click Right on Datacenter
- Crete new Cluster
- Turn on vSphere HA and DRS press finish
- Migrate both hosts to newly created cluster by drag&drop
- Resolve warning which are available in summary tab
- Add another NIC to vSwitch0 for management network on both Host
- Right click on each host and press Reconfigure for vSphere HA
LAB-12 Create DRS Rule
- Go to Cluster
- Click on Manage ?Settings ? VM Host Rules
- Add new Rule
- Create new rule to Separate VM
- Set Network to vMotion
- Edit DRS Setting to aggressive
- Check if VM are placed on different host
LAB-13 Distributed Switch
- Go to network view
- Right click on Datacenter
- Go to Distributed Switch ? New Distributed Switch
- Set name
- Leave version
- Set number of uplinks to 1
- Leave default port group and press Finish
Add Host and Migrate Network
- Right Click on newly created Distributed Switch
- Add and Manage Host
- Press add host and choose both host
- Leave Manage physical adapter and VMkernel adapter
- Assign physical NIC to uplink
- Repeat Step 5 on second host below
- Migrate NFS network to Distributed Switch
- Repeat Step 6 on second host below
- Confirm that NFS is on Distributed switch and you still have access to Datastore