Skip to content
vWorld
Menu
  • Main Page
  • About
  • Study Guide
    • VCAP-CMA Deploy 2018
Menu

Tasks for Private HoL

Posted on June 7, 2019June 7, 2019 by admin

LAB-01 ESXi Installation.

  1. Login to your Jump-Host.
  2. Run web browser and open vCenter address
  3. Login to vCenter
  1. Provide Credentials
  1. Go to Host and Clusters
  1. Expand vCenter -> Datacenter -> Cluster -> vApp -> Resource Pool
  1. Right Click on Powered Off VM -> Edit Settings
  1. Find CD/DVD Drive and change it to Datastore ISO
  1. On Datastore in folder find ISO click on them and click OK
  1. click on Connect at Power On
  1. and click OK
  2. Power On this VM. Click on Action -> Power -> Power On

And Confirm Power On on vApp

  1. Launch Remote Console
  1. On Welcome Screen press Enter
  1. Accept the license by pressing F11
  2. Choose local hard disk by pressing Enter
  3. Change Keybord Layout to Polish
  4. Set passwod (P@ssw0rd1!)
  5. Check errors and warning and press Enter
  6. Press F11 to install ESXi on local disk

  7. Press Enter to Reboot your Host
  8. Stay on your JumpHost to perform LAB-02

LAB-02 Basic ESXi Configuration.

  1. Launch Remote Console for ESXi
  1. Press F2 and login with credentials provided during installation

  1. Collect data to next LAB (SSL Thumbprint (SHA1))
  1. Go to Configure Management Network
  1. Set IPv4 Configuration with static IP provided in DATA file
  1. Disable IPv6
  1. Set DNS and Hostname
  1. Accept all changes and reboot the VM
  1. Close Remote Console
  2. LogOff from Second Jump Host

LAB-03 Connect to vCenter

  1. Log in to vCenter
  2. Click Administration and Licenses
  1. Press create new License and add Key

Next

Next

Finish

  1. Go back to Home and Click on Host and Cluster
  1. Create new Datacenter by clicking a right mouse button and
  1. Add a Host by clicking a right mouse button on Datacenter
  1. Enter IP address from first Host
  1. Provide credentials
  1. Accept the SHA key. Compare with your DATA collected in LAB-02
  2. Chose the license
  1. Leave disabled lockdown mode
  1. Repeat step from 6-12 to add second ESXi Host

LAB-04 Networking

  1. Log in to vCenter
  1. Select first host from list
  2. Click configure tab
  3. Click networking tab
  1. Click Add host networking
  1. Choose VMkernel Network Adapter
  1. Choose new standard switch
  1. Add new adapter (choose vmnic2)
  1. Change Network Label to NFS
  1. Set static IP
  1. Press Finish
  2. Repeat steps from 5-11 on second host
  3. Repeat steps from 5-11 second time on ESXi-01 and ESXi-02 setting IP address and name for iSCSI

LAB-05 NFS Datastore

  1. Log in to vCenter
  2. Select first host from list
  3. Go to related object tab
  4. Choose Datastore Tab
  1. Create new Datastore
  1. Choose NFS
  1. Leave NFS 3 version
  1. Change label name to NFS
  1. Provide path and IP
  2. After creation on first HOST click right mouse button and press Mount Datastore to Additional Hosts
  1. Chose second host
  1. Press OK and confirm that on second Host you also see NFS Datastore.

LAB-06 iSCSI Datastore

  1. Log in to vCenter (credentials are in DATA file)
  2. Select first host from list
  3. Go to storage tab
  1. Choose storage adapters
  2. Add new Storage Adapter
  3. Software iSCSI Adapter
  4. Choose newly created iSCSI Storage Adapter
  5. Select Targets tab
  6. Dynamic discovery Add
  1. Provide iSCSI Server IP address
  2. Click Rescan all storage adapters
  3. Back to iSCSI Storage Adapter
  4. Choose Device tab and check there is two device  provided from FreeBSD storage
  5. Repeat steps from 3 to 13 on second host
  1. Go to Related Object  and Datastores
  2. Add new storage
  3. Select VMFS Datastore and full disk space.
  1. Repet steps 15 and 16 to second iSCSI Storage
  2. Confirm that you see both Datastores on both Hosts

LAB-07 VM Creating

  1. Log in to vCenter
  2. Upload ISO with CentOS to your Datastore
  1. Go to VM and Templates
  1. Right Click on Lab Datacenter
  2. New Virtual Machine ? New Virtual Machine
  1. Set Name and select datacenter
  1. Choose Host
  2. Select Storage
  3. Leave Compatibility Mode
  1. Select Guest OS Family
  1. On customization Tab ? Remove Floppy drive and change CD to ISO file with CentOS minimal and select connect at power on options
  1. Check network card and choose VM Network.
  1. Install CentOS with default settings

LAB-08 Configure Network on VM

  1. Create network for WAN
  1. Add another network to VM
  1. Log-in to VM and configure network.

LAB-09 VMware Tools/KB

  1. Open console for VM
  2. Click VMRC ? Manage ? Install VMware Tools
  1. Create folder /tmp/tools and /mnt/cdrom
  2. Mount CD-ROM in folder /mnt/cdrom
  3. Go to mounted folders and copy VMware Tools into /tmp/tools
  4. Unpack copied files
  5. Install Perl dependencies
  6. Install vmware tools with –default command
  7. Confirm that tools are installed

LAB-10 Template

  1. Shut down the VM
  1. Remove second NIC from VM
  1. Right click on VM ? Template ? Convert to template
  1. Deploy VM from this template
  1. Select Customize this Operating system
  1. Create New Specification
  1. Computer Name set to use VM Name
  1. Set Domain
  2. Configure NIC to prompt user for IP
  1. Deploy VM using
  1. Deploy Another VM using previously created template.
  1. Check if both VM has corrected IP and Hostname set from customization.

LAB-11 Cluster

  1. Go to host and cluster view
  2. Click Right on Datacenter
  3. Crete new Cluster
  1. Turn on vSphere HA and DRS press finish
  2. Migrate both hosts to newly created cluster by drag&drop
  1. Resolve warning which are available in summary tab
  1. Add another NIC to vSwitch0 for management network on both Host
  1. Right click on each host and press Reconfigure for vSphere HA

LAB-12 Create DRS Rule

  1. Go to Cluster
  2. Click on Manage ?Settings ? VM Host Rules
  1. Add new Rule
  2. Create new rule to Separate VM
  1. Set Network to vMotion
  1. Edit DRS Setting to aggressive
  1. Check if VM are placed on different host

LAB-13 Distributed Switch

  1. Go to network view
  1. Right click on Datacenter
  2. Go to Distributed Switch ? New Distributed Switch
  1. Set name
  1. Leave version
  1. Set number of uplinks to 1
  1. Leave default port group and press Finish

Add Host and Migrate Network

  1. Right Click on newly created Distributed Switch
  2. Add and Manage Host
  1. Press add host and choose both host
  1. Leave Manage physical adapter and VMkernel adapter
  1. Assign physical NIC to uplink
  1. Repeat Step 5 on second host below
  2. Migrate NFS network to Distributed Switch
  1. Repeat Step 6 on second host below
  2. Confirm that NFS is on Distributed switch and you still have access to Datastore

Share with:


Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • From Commit to Cluster: Mastering GitOps with Argo CD on VMware Cloud Foundation
  • The Full Power of VCF Automation in Action: How I Connect the Dots and Build a Multi-Tier App with Kubernetes Objects.
  • From Code to Kubernetes Cluster with Chiselled Ubuntu Images on VMware
  • From Zero to Database-as-a-Service: A Deep Dive into VMware Data Services Manager 9.0 and VCF Automation
  • Complete Guide: Configuring SSO in VMware Cloud Foundation with Active Directory and VCF Automation Integration

Archives

Follow Me!

Follow Me on TwitterFollow Me on LinkedIn

GIT

  • GITHub – vWorld GITHub – vWorld 0
© 2026 vWorld | Powered by Superbs Personal Blog theme