Hello friends and welcome to Virtual Techbox youtube channel today I will show you how to install vmware vsphere 7 home lab before we start if you are new on channel I will request you to subscribe to the channel and press the bell icon so that you will get the notification when I update the new video please watch the video till the end as all the steps are very important for creating the home lab for vmware vsphere 7 so let's start this is the system in which I will be creating the vmware vsphere 7 home lab and this is vmware workstation I have installed it in the system and vmware workstation version is 15.5 pro I have already created one virtual machine in this vmware workstation and installed the windows server 2016 during the deployment, I will require the esxi 7 and vcenter 7 iso which I have already downloaded you can click on "i" button and go to the video which explains in detail how to download the esxi 7 and vcenter 7 iso from the vmware's official website these two iso I have already downloaded in my system so my first step would be to create domain controller so this is our windows server 2016 system and I will be installing the domain controller in this system I will full screen it I will go to add roles and features next role-based, next I will select the server here which is my windows server 2016 server and IP is 192.168.0.28 and hostname for this windows server 2016 is WIN2016VM01n next I will select active directory domain services add features next group policy management next next install feature installation completed I will press close after the feature installation, you will see this yellow mark on the server manager I will go here and I will click on promote this server to a domain controller I will select add a new forest it is asking the root name I am giving the root name virtualtechbox.com, next these options I will leave as it is it is asking to type the password for the dsrm I will give the password here any password you can set next next my netbios name would be virtualtechbox next next next it has verified all the prerequisite install installation completed, message is coming "this server was successfully configured as domain controller" it will restart it, automatically restart has completed I will log in I will give the password I will make it fullscreen now I have to create the reverse pointer record for my subnet for that, I will go to tools DNS this is my forward lookup zone you can see here in the reverse lookup zone, no zone is created I will right-click, new zone next primary zone next ipv4 reverse lookup zone next I will give my network id 192.168.0. next next finish you can see here reverse lookup zone has been created for my subnet now my DNS and domain controller is ready and we have completed the step one we are now going to start our step 2 and step 2 is esxi 7 first esxi 7 host installation this is the folder where I am saving the virtual machines of vmware workstation here I will create one folder for the first esxi host now I will go to vmware workstation create new virtual machine custom, next next I will install operating system later, next vmware esxi next, virtual machine name ESXI7VM02 and I will browse to the folder which I had created previously E drive, vmware workstation ESXI7VM02, ok next I will make it 2 next 4GB is enough for my esxi7 host. Next use bridge networking, Next next next create a new virtual disk next I will make it 20GB store virtual disk as a single file next next and finish second virtual machine for the first esxi host has been created I will edit setting I will attach the iso file this is the folder where I have already downloaded the all iso I will connect the iso open ok I will power it on esxi7 host installation has started I will make it full screen enter f11 enter US default I will set the password for the root enter f11 I will enter to reboot restart completed I have to set the static IP to the host I will press f2 I will give the password for the root 192.168.0.160 subnet mask 255.255.255.0 I will give the gateway enter esc yes I will restart the management network F11, Enter test management network 192.168.0.28 enter test is ok our first esxi host is ready now and we have completed the step 2 also we will now start the step 3 and step 3 is second esxi 7 host installation I will go to vmware workstation I will create the new virtual machine next next next next I will give the vm name ESXI7VM03 I will create the folder for this virtual machine ESXI7VM03 I will give the path next I will make it 2, next 4GB is enough bridge networking, next next, next next 20GB store virtual disk as a single file next next, finish edit virtual machine setting I will attach the iso enter F11 enter US default I will set the password enter F11 enter to reboot restart completed, I will set the static IP F2 I will give the password for the root configure management network ipv4 set static subnet mask 255.255.255.0 I will give the gateway enter dns esc yes restart management network F11 enter esc we have installed the second esxi host also and we have completed the step 3 we will now move forward to step 4 which is vcenter 7 installation on vmware workstation this is the vcenter 7 iso file, I will right-click on it mount I will go to vcsa folder and here you can see one ovf file is there I will go to vmware workstation file open and I will select that ovf file which I have shown you just before accept, next I will give the vm name VCSAVM04 and I will give the path of my system where I am saving the all my vmware workstation virtual machines one thing I have to do which is host entry for the vcenter to the domain controller I will go to my domain controller I will go to dns manager and I will right-click on my domain name and I will give the hostname for my vcsa, I will give the ip address 192.168.0.111 I want to create the associated pointer record add host, ok dns entry for vcenter has completed here I will press next I will move ahead with the first option, next here I have to give the all network-related details of the vcenter 7 ip address family ipv4 network mode static host network ip address 192.168.0.111 prefix 255.255.255.0 192.168.0.38 I will give the dns server here 192.168.0.28 host network identity I will provide the hostname of my vcenter server here which is vcsavm04.virtualtechox.com import it is importing from the ovf file import completed it will now power on the virtual machine I will only provide here login name I will not provide here password installation is still going on at the backend message is coming root password is not set to set the root password I will press F2 I will provide here the new password I will confirm the new password enter I have set the password for the vcenter I will now go to my main system where I have installed the vmware workstation actually, I have to do the dns entry for this system to my domain controller I will copy the hostname of my main system where vmware workstation is installed I will go to my domain controller I have taken the rdp of the domain controller I will right-click on my domain I will give the hostname of my main system I will give the ip address 192.168.0.38 I want to create the reverse pointer record add host, ok host entry for my main system has completed I will now go to browser and I will open the management interface of the vcenter server which is https://ipaddress:5480 setup I will give the root password here login next these are all the network settings of the vcenter server I want to enable the ssh for my vcenter next I will provide the root password again here login next sso domain vsphere.local I will provide password for the sso I will confirm the password for the single sign-on next I will untick the CEIP, next these are all the configurations which we have set for the vcenter finish, ok it has started the stage2 for the vcenter stage2 installation has completed I will again go to management interface of the vcenter server I will provide the username root password for the root login here you can do the networking, firewall syslog and backup related configuration here you can monitor the cpu, memory and all I will go to time I will go to edit on time zone I will select my time zone save I will now go to web interface of my vcenter server which is https://hostnameofvcenterserver advance, proceed launch vsphere client html I will provide login administrator@vsphere.local I will provide the single sign-on password here login I have logged-in to my newly installed vcenter server 7 this is the version and build number of my newly installed vcenter server before I move forward I have to do the small setting at my domain controller I will go to my domain controller I will login here I will go to network adaptor settings ipv4 address settings, properties and instead of 127.0.0.1 I will provide here the IP address of domain controller which is 192.168.0.28 ok close I will do the disable-enable for the network adaptor I will again go to my vcneter I have to now join my vcenter to active director I will go to menu administration single sign-on configuration here I will go to active directory domain here you can see my vcenter is not a domain-joined I will click on join AD I will provide domain name which is virtualtechbox.com login administrator I will provide the domain administrator password here join message is coming that our vcenter has joined active directory and a reboot is required to reboot the vcenter I will go to the management interface I will log in here by providing the root credentials I will go to actions and reboot to monitor the reboot process I will go to vmware workstation and I will see the console of vcenter virtual machine in the console, I can monitor the reboot process of vcenter server reboot of the vcenter has completed I will go to browser I will give the ip address of my vcneter server which is 192.168.0.111, launch html client login name administrator@vsphere.local I will provide the single sign-on password here login I will refresh here I have to now add my domain to the identity sources of my vcenter server I will go to menu administration and configuration under the single sign-on here you can see identity sources I will click on add we have already joined the active directory, so here it is showing my domain name I will click on add I will refresh once here you can see my domain has been added to the identity sources of the vcenter server I will now go to users and group here actually I have to add the domain admins to the administrator group I will go to groups and I will search for the administrators I will select administrator, I will go to edit group in drop down I will select my domain name I will search here domain admins save domain admins have been added to the Administrators group of the vcenter server I have to now provide the administrator rights to the domain admins on my vcenter server, for that I will go to menu, host and cluster I will select the vcenter server on left side on right side I will go to permissions I will click on plus in drop down I will select my domain name in group option, I will select domain admins these are the multiple roles which can be assigned, I want to assign the administrator role propagate to children, ok now my domain admins has the administrator rights on the vcenter server and single sign-on I will now logout from the vcenter server and will try to login through the domain administrator credentials login name I will provide administrator@virtualtechbox.com I will give the domain administrator password here login here you can see I have successfully logged in through the domain administrator credentials to my vcenter server and we have successfully installed and configure the vcenter server 7 also on the vmware workstation step 4 is also completed now I am having the domain controller first esxi host, second esxi host and vcenter all these virtual machines on the vmware workstation now I have to create the data center and cluster inside my vcenter server for that, I will log in to my vcenter through the web interface administrator@vsphere.local, I will give the password I will go to the menu, host and clusters I will right-click on vcenter server, new datacenter mylab-dc ok datacenter has been created, now I will right-click on datacenter new cluster I will give the name here mylab-cluster ok cluster created now I will add the host to the cluster, I will right-click, add host I will give the ip address of the first esxi host 192.168.0.160 I will give username root, I will provide password for the root I will give the ip address of second esxi host 192.168.0.170 I will give the username root I will provide the password for the root next ok next finish both the host has been added to the cluster I am having domain controller, two esxi host vcenter and I have created the cluster also and I have added both host to the cluster also now next target is to create iscsi storage to create the iscsi store I will use this windows 2016 machine which is my domain controller in this machine, I will go to E drive and I will create the folder for the shared disk which I will be using as the iscsi storage I will make it full screen first this is my domain controller I will go to server manager file and storage services iscsi to install the iscsi target server start the add roles and features wizard, I will click here iscsi target server is selected, next next install iscsi target server is being installed on this server feature installation completed, I will press close now it is giving the option to create an iscsi virtual disk start the new iscsi virtual disk wizard I will click here I will click the server name I want to give the custom path, I don't want to use the complete drive I will select type a custom path I will give this custom path next I will give the name shared-disk next I will give the size here 50GB total space is 80GB I will give the 50GB next new iscsi target, next target name and access iscsi target server name I have given next access servers, I will click add enter a value for the selected type, I will drop down and select the ip address I will give the ip address 192.168.0.170 ok next next create iscsi target created, close I will refresh once you can see here it is showing the iscsi target server created I will right-click, go to properties and initiator, I will add the second host add enter a value for the selected type, ip address I will give the ip address 192.168.0.160 ok apply ok now iscsi target server has been created and a shared disk has been created and configured here now I have to go to esxi host and add this iscsi storage there I will minimize this is my vcenter, I will go to second host which is 170 I will add the software adaptor ok iscsi software adaptor has been added I will go to dynamic discovery add I will give the iscsi server ip which is 192.168.0.28 ok it is showing the iqn number of the target server after this we have to select this software iscsi adaptor and rescan ok rescan completed then I will go to datastores I will go to actions storage, rescan storage, ok rescan all hba is going on rescan completed now I will go to actions storage, new datastore vmfs, next I will give the name LUN01 and this is the iscsi storage which has been detected during the scan 50GB I will select this and press next vmfs6, next I will select the maximum size which is 50GB next, finish you can see here LUN01 is mounted in similar way we have to mount the storage iscsi storage at the second host I have already added the iscsi software adaptor to this host I will select the iscsi storage I will go to dynamic discovery, add I will give the ip address 192.168.0.28 ok it is asking us to rescan the software iscsi adaptor we will rescan it ok rescan completed, I will go to datastores you can see here through dynamic discovery that LUN01 has been mounted, it has been discovered and mounted because for the first server we had formatted it with vmfs and we had already provided access to these two hosts over that iscsi storage so after adding with the static setting on the 0.170 in 160 we can map automatically with the dynamic setting under dynamic setting of the software adaptor and LUN01 got discovered dynamically now we have the iscsi storage or shared storage mounted on both the host I can right-click and create the new virtual machine I will give name to the virtual machine next 160 next,storage, shared storage next windows windows 10 hard disk I will select 10 GB thin provision memory 2GB next finish you can see here on 0.160 one windows 10 VM I have created now I will enable vmotion on both the host first, on 160 I will go to configure vmkernal adaptor I will select the vmkernal adaptor, I will go to edit and I will tick the vmotion ok ok configuration completed similarly, I will go to second host vmkernal, I will select the vmkernal network adaptor, I will go to edit. I will enable the vmotion ok my windows 10 virtual machine is hosted on the host 160 I will right-click and click on migrate I want to do the vmotion so I will select the first option next it is asking me to select the host I will select the second host on which I want to migrate my virtual machine, next next finish you can see relocate virtual machine has completed which means vmotion has completed previously my virtual machine was hosted on 160 now it should be on 170 which is showing here windows 10 virtual machine has been migrated through vmotion from first host to another host now 160 is not having any virtual machine and 170 is having the windows 10 virtual machine I will wrap up my video here if you have any doubt in this vsphere 7 homelab setup, you can ask me in the comment and while trying this homelab vsphere 7 homelab at the home if you face any type of error or difficulty you can ask me in the comment, we will try to resolve it like and share the video, subscribe to channel I will see you in the next video thank you.