Deploy vCenter Server 6.7 & Create VSAN cluster (w/ Lab Setup and VSAN Configuration Assist)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey guys welcome to techlingo in this video i'm going to show you how you can create a new vsan cluster while deploying a vcenter server appliance so typically a vsan cluster is created after the vcenter server appliance has been deployed and configured but for the environments where vcenter server is not installed you can create a new vsan cluster as you deploy the vcenter server appliance and host that vcenter server on the same vsan cluster in other words you don't need to have an already installed vcenter server to create a new vsan cluster while deploying a new vcenter server you can create a new vsan cluster with just a single esxi host and you can have the disks claimed from that host for the vsan data store so in this video like i said i will discuss on how to deploy vcenter server 6.7 update 3 and create a new vsan cluster at the same time so i'll be deploying vcenter server appliance with embedded pse but before that let's take a look at my lab environment and before i show you my lab setup this is the step in the deployment wizard which will allow you to create a new vsan cluster while deploying the vcenter server appliance you can see in this screenshot selecting the option install on a new vsan cluster containing the target host will allow you to create a vsan cluster and specify the data center name as well as the cluster name in the next step the wizard allows you to specify the disks that can be claimed for caching tier as well as the capacity tier to contribute to the vsan data store although the vcenter server appliance will help you to create a new vsan cluster deploy a vsan datastore and store the vcenter server appliance in the same vsan datastore you will still need to complete the remaining configuration of the vsan cluster such as adding additional esxi hosts to the vsan cluster configuring vsan storage and networking soon after the deployment of vcenter server so coming to my lab environment i have a standalone esxi host which is a desktop with 64 gig of ram and a core i5 processor and a 500 gig of ssd disk and also a 1tb of regular magnetic disk but for my lab environment i'll be using the ssd disk to save my virtual machines so with the help of virtualization i have hosted my three node esxi hosts as virtual machines this lab environment is no way a recommended setup for production environment but this environment can be used for lab purpose only so here are the three virtual machines which i have created using esxi 6.7 update 3 esx01 esx02 and esx03 like i said they are running esxi 6.7 update 3 and they have 4 gig of cpu and 16 gig of ram each virtual machine that runs as esxi hosts has five virtual disks hard disk one is a five gig thin virtual disk which is saved in my 500 gig ssd disk and this 5 gb virtual disk is used for esxi operating system hard disk 2 is a 20 gig ssd disk which is thin provisioned and it is also saved in my 500 gig ssd disk on the esxi host and hard disk 2 will be used for caching tier and the next three hard disks are 200 gig in size and they're also thin disk and also saved in my 500 gig ssd disk and these three virtual disks will be used for capacity tier each esxi hosts which are running as virtual machines has eight network adapters so the first two network adapters are connected to my management network network adapter three and 4 are connected to vmotion network network adapter 5 and 6 are connected to vsan network network adapter 7 and 8 are connected to my virtual machine network along with these three virtual machines i've also created two more virtual machines dc01 that acts as the domain controller and the dns server for my active directory domain contoso.local and router01 that acts as the gateway appliance for the virtual networks which have created on my standalone esxi host so dc01 is running windows server 2019 and it has a single network adapter which is connected to my management network coming to router01 it is also running windows server 2019 and it has five network adapters network adapter 1 is connected to my management network network adapter 2 is connected to vmotion network network adapter 3 is connected to vsan network and network adapter 4 is connected to virtual machine network network adapter 5 is connected to internet so these network adapters of router vm acts as the gateway ip for these respective networks right so if i log into this router 0 1 vm and if i go into the network settings you can see all these five network adapters and for management network the ip address which i have configured is 192.168.10.254 and it's a class c subnet and for vmotion network the ip address configured is 192.168.11.254. for vsan network the ip address configured is 192.168.12.254. for vm network the ip address configured is 192.168.13.254 and for internet it has the ip address configured in the internet ipsubnet so click close so these network adapters acts as the gateway for their respective networks and here is the networking overview of my standalone esxi host for this lab environment so these networks are actually the standard switch port groups for this lab i have created two standard switches dc 0 1 and v switch 0 and dc01 has no uplinks whereas vswitch 0 has one uplink which is connected to my external network for internet so if i open dc01 it has four virtual networks management network dc01 which is in the subnet of 192.168.10.x 24. nick one and nick two of the esxi hosts are connected to this management network and nick one of router zero one and dc-01 are also connected to this management network we have vmotion network dc-01 port group which is in the subnet of 192.168.11.x 24. nick 3 and nick 4 of all the esxi hosts are connected to this vmotion network and nick2 of the router02 is also connected to this vmotion network next we have vsan network which is in the subnet of 192.168.12.x 24. nick 5 and nick 6 of the esxi hosts are connected to the vsan network and nick3 of router01 is also connected to vsan network and finally we have vm network which is in the subnet of 192.168.13.x nix 7 and nick 8 of the esxi hosts are connected to this vm network and nik4 of router01 is also connected to this vm network and the virtual switch vswith0 it has a port group called internet and it has a single uplink used for internet connectivity so nick 5 of router 0 1 vm is connected to this port group for internet connectivity this single uplink is connected to my home broadband network so before we start creating a vsan cluster we must ensure that the esxi hosts hardware components are compatible with vmware 8cl but here are some of the key points to consider before creating a vsan cluster now this list is not a complete list for vsan prerequisites if you want a complete list of vsan prerequisites you can go to vmware documentation and look for vsan prerequisites coming to cluster requirements the vsan cluster must contain a minimum of three sxi hosts or two esxi hosts if vsan witness appliance is being used in my lab demo i'll be using three esxi hosts to build the vsan cluster so these esxi hosts must contribute storage from their local disks and a minimum of four disks must be contributing to the vsan data store and in that four disks at least one of them should be ssd disk for caching and remaining disks can be capacity disk and these csxi hosts which are already a member of a vsan cluster cannot be a member of other vsan or ha cluster coming to the networking requirements for hybrid vsan configuration a minimum of one gig network adapters are recommended for vsan traffic but for all flash vsan configuration a minimum of 10 gig network adapters are recommended for recent traffic i am using one gig network adapter for vsan traffic and it is completely okay for lab purpose the esxi hosts must be connected to a layer 2 or a layer 3 vsan network all my esxi hosts are connected to same layer 2 vsan network and each esxi host participating in the vsan cluster must have a dedicated vsan vm kernel port regardless of whether it contributes storage these vsan vm kernel ports will be created for one esxi host while deploying vcenter server appliance coming to storage requirements minimum of one ssd or pcie flash device should be available for caching tier in hybrid vsan configuration minimum of one magnetic disk should be available for capacity tier where in all flash vsan configuration minimum of one ssd or pcie flash device should be available for capacity tier if you are using sas or sarah hpa or rate controller you need to configure non-raid passthrough or raid 0. if the esxi host is boring from the usp or sd card then the size of the disk must be at least 4gb if the esxi host is booting from the sara dom device you need to use a single level cell device and the size of the boot device must be at least 16 gb now for this lab demo each esxi host like i said before has five disks and all of them are ssd disks and that means i'm going to build an all flash vsan cluster after ensuring that all the prerequisites are met the first step is to deploy the vcenter server appliance with an embedded psc and at the same time we'll be creating a new vsan cluster so i've already mounted the vcsa iso image so i'm going to launch the installer file which is in the directory ui installer win32 and i will double click on this installer.exe i'll click on install which will install a new vcenter server appliance and i'll click next on the introduction page in the end user license agreement i will click on i accept the terms and i'll click next and for the deployment type i'm going to select vcenter server with an embedded psc uh and i'll click next for the esxi host of vcenter server name i'm going to specify my first esxi host which is esx01.connect and i'll specify the root credentials for my esx01 i'll accept the self-signed certificate now i'm going to give a name for my vcenter server appliance which will show up in the inventory so the name will be vcenter01 and i'll specify the root password for this appliance and in the deployment size i will keep this default let this be tiny and the storage size will also be default so i'm going to click next so here i need to select the second option that says install on a new vsan cluster containing the target host so selecting this option will create a new vsan cluster while deploying a vcenter server appliance and you can also specify the data center name so for the data center name i will specify contoso as the data center name and and the cluster name will be h a cluster and i'll click next so in the claim disks for vsan you need to select the disk which will be used for caching tier and the disks which will be used for capacity tier so like i said before in this lab demo for my esxi hosts i will be using 20 gb disk as the caching disk and it is already selected for caching tier and the other 200 gb disks will be used for capacity tier so i will select the 200 gb disks and i'll click on claim for capacity all right so we have three 200 gb disks which will be used for capacity tier and one caching disk which is a 20 gig disk which will be used for caching tier and i'll also enable thin disk mode and i'll click next so in the configure network settings screen you have to configure the network settings for the vcenter server appliance so in the network so you have an option to specify the network that will be used by vcsa and you can see there is only one network vm network because this appliance is being deployed onto an esxi host which has the only one default vm port group vm network port group and this network for vcenter appliance can always be changed later and i'll keep the ipv version as ipv4 and the ip assignment will be static and for the fqdn i'm going to specify the fully qualified domain name for the vcsa so which will be vcenter01.contoso.local and the ip address is 192.168.1 which will be the ip address for this vcenter server appliance and i've already pre-staged the dns entry for the vcenter server appliance in my dns server and the subnet mask will be 255.255.255.0 and the default gateway will be the gateway address for this network which is 192.168.10.254 and the dns server will be my single dns server which is 192.168.10.1 and i'll leave the default http and https ports and i'll click next okay so now at this point you can review your settings and click on finish to start the deployment of the appliance and you can see the deployment progress of the vcsa all right so the stage one of the deployment has completed so you can click continue to proceed to the stage two of the deployment now if you click close and close this installer you can resume the appliance setup at any time by logging into the vcenter server whammy page using the root credentials i will click continue all right so we are in the stage two of the deployment process where the vcsa will be configured so i'm going to click next on the introduction screen for the time synchronization mode i will synchronize the time with my ntp server which is actually my domain controller which is 192.168.10.1 and i will keep the ssh access enabled and i'll click next i will click ok on the ip address change warning dialog box all right in the sso configuration screen you can either select to create a new sso domain or join an existing domain since it's my first vcenter server appliance which is being deployed i'll keep the option create a new sso domain selected and for the sso domain name i'll type the default domain name which is vsphere.local and for the sso admin account i will type in the password and i'll confirm it again and i'll click next and in the configure ceip screen i will uncheck join the vmware's customer experience improvement program and i'll click next all right you can review the settings and click finish i will click on ok on the notification that says you will not be able to pause or stop the installation and you can view the progress of the stage 2 deployment of vcsa all right the stage 2 deployment as completed and ensure that the setup has completed successfully and in the same window the wizard will provide you a url to log into the vcenter server so i'm going to click that link to log into the vcenter server i'll click advanced and click proceed to the vcenter server appliance login page i'll click on launch vsphere client html5 and i'll type the default sso admin user and the password and i'll click login so after you log into vcenter server you'll see a data center and a vsan cluster with single esxi host hosting the vcenter server appliance that we just deployed so in my case i can see the data center name contoso and the vsan cluster name is h a cluster with my single esxi host esx01 already being the member of the cluster since the vsan configuration is incomplete i'm seeing these alarms with my vsan cluster so to complete the configuration of the vsan cluster i need to add the remaining vsan hosts to the cluster so for this vsan cluster i'll be adding other two esxi hosts cs602 and esx03 and i'll configure a distributed switch and add the vsan vm kernel adapter for three sxi hosts and i will also add the cache disk and the capacity disks from the other two esxi hosts to the vsan disk group and lastly i will apply the vsan default storage policy to the vcenter server appliance so there's a feature in vsphere cluster called configuration assist which will help you to complete the necessary steps which i talked about such as creating the distributed switch vm kernel adapters for vsan traffic and vmotion traffic so configuration assist you can find it in h a cluster and clicking configure and clicking quick start under configuration so it's a feature not just wizard for use with uh easy install based deployments you can also use when configuring the existing vsan cluster so this has that deep integration into vsan so it will help you to make sure that your vsan cluster is healthy so you'll see three tabs cluster basics add hosts and configure cluster so i'm going to click edit under cluster basics so in the edit cluster settings window you can specify the name of the cluster so i'll keep the name which are specified during the deployment of the vcenter server appliance and you can enable or disable vsphere drs vsphere ha and vsan so here the vsan services is already enabled so i'm going to enable vsphere drs as well as vsphere a and i'm going to click ok all right now under cluster basics you can see vsphere drs and vsphere h a is enabled and you have a green check mark now under add hosts i will click on add to add the remaining hosts under add hosts i will click on add to add the remaining two hosts in the add host screen under new hosts you can either type the fqdn or the ip address of the remaining two hosts in my case i will type the fqdn of the hosts and i'll specify the root credentials for these hosts if i check this option use the same credential for all hosts then i don't need to type the same root credentials again for all the hosts if the root credentials for those hosts are all same for this vsan cluster i will add esx02 and es603 and i've already created the dns entries for them in my dns server so i'm going to click next and i'm going to accept the default certificates of the hosts by clicking ok on the security alert in the host summary screen you can review the host summary details and click next in the ready to complete screen the wizard will display the message about the new hosts that will be added to the vsan cluster and these hosts will enter into maintenance mode for which you might need to power off or migrate any vms if any in my case i don't have any vms running on these two hosts since these are new hosts i will simply click finish to add the two hosts after adding the new hosts they will continue to stay in maintenance mode until you configure the storage and networking now the next step is to configure the storage and networking for the vsan cluster so i will click configure under configure cluster in the distributed switches screen i will specify 1 for the number of distributed switches required which will create one distributed switch if you wish to configure the networking settings later you can select the option configure networking settings later in our case we'll create a distributed switch and use the default name which is a dswitch and if you have an existing distributed switch which you would like to use you can click the link that says use existing in my case i don't have any existing dv switch now this wizard will only create two dv port groups one for v motion traffic and another one for vsan traffic now under port groups you can see two port groups named d-switch v-motion and d-switch vsan and both of them are attached to the d switch distributed switch and under physical adapters i have eight physical adapters on each esxi hosts and i'll connect only vm nic 2 vm nik 3 vm nic 4 and vm nick 5 to the distributed switch d switch now vm nik 0 and vm nik 1 is being used for management network which is created by default standard vswitch now after the creation of this distributed switch using this quick start wizard i'm going to go ahead and migrate the vm kernel adapter and the physical adapters used by management network from my standard switch to the distributed switch and likewise i will create virtual machine network port groups using vm next 6 and vm next 7 after completing this quick start wizard now this is my type of lab setup where i have created a pair of network adapters for each type of network but typically in a production environment you would see a pair of 10 gig or higher network adapters carrying all traffic using vlan ids for segmenting different types of traffic by the way the wizard will not complete all the required networking configuration for your environment this wizard will help you to set up the initial vsan configuration okay so after making the appropriate selection i will click next all right now in the vmotion traffic screen you can check the option use vlan if you want to specify the vlan id for vmotion traffic but in my lab there's no vlan id for any traffic so i'm going to uncheck the use vlan option and i'll keep the ip protocol as ipv4 and under ipv4 configuration for the ip type i will select static eyepiece and specify the ipv4 address subnet mask and the gateway for the vmotion vm kernel adapter on all three esxi hosts you can see my vmotion subnet is 192.168.11.x 24 and the gateway ip is 192.168.11.254 you can click on autofill to fill the vmotion ip address for all the three hosts but in my case it is not continuous so for my esx01 the vmotion ip address is 192.168.11.21 and for my esx02 the vmotion ip address is 192.168.11.31 and for my esx03 the ip address is 192.168.11.41 okay so i'm going to click next and in the storage traffic screen if you have a vlan id for your vsan traffic you can check the option use vlan like i said i don't have a vlan id so i'm going to uncheck this option and i'll keep the ip protocol as ipv4 and under ipv4 configuration for the iptype i will select static ips and i'm going to specify the ipv4 address subnet mask for my vsan vm kernel adapters on all the three esxi hosts now if you see here you don't have an option to specify the gateway ip address for vsan network because the wizard will take the gateway configured in the default tcp ip stack so for my esx01 the ip address configured for my vsan vm kernel adapter is 192.168.12.21 and it's a classy subnet 255.255.255.0 and i'll click autofill and again the number is not continuous in my lab and for esx02 the ip address for vsan vm kernel adapter is 192.168.12.31 and for esx04 the ip address is 192.168.12.41 so i'm going to click next now in the advanced options screen you have options to enable or disable host failure monitoring virtual machine monitoring admission control and set the admission control policies now you can also specify the vsphere drs automation level and set the migration threshold and under vsan options you have options to specify the deployment type whether it's a single site cluster or stretch cluster in my case it's a single site cluster you can also enable or disable encryption and specify the kms cluster if you have enabled encryption you can also enable or disable deduplication compression configure the fault domains and specify the large scale cluster support under host options you can enable or disable lockdown mode you can specify the ntp servers so i'm going to specify my domain controller as the ntp server for the hosts and also under enhanced vmotion compatibility you can either enable or disable evc and specify the evc mode so i'm going to click next now in the claim disk screen you can specify the cache disks as well as the capacity disks that will be contributed to the vsan data store by the two new hosts which we have added as mentioned previously for my lab environment all 20 gig ssd disks from the hosts will be selected for cast here and all 200 gig ssd disks from the host will be selected for capacity tier all right i'm going to click next now i don't need to specify the proxy settings because my vcenter has direct connectivity to internet so i'm going to click next on the proxy sharing screen otherwise you can check the option configure the proxy server if your system uses one and you can specify the host name port number username and password for your proxy server in the ready to complete screen you can review the settings and click finish and when the vsan configuration completes it is always recommended that you run a vsan health check and see if you have any errors since it's a lab environment that i'm working with there would be some errors which i can ignore lastly i'm going to show you how to apply the vsan default storage policy to the vcenter server vm so i'm going to right click on it and i'm going to navigate to the vm policies and i will click on edit storage policies and in that i'm going to select vsan default storage policy to apply it to the vcenter vm and i'll click ok and i also mentioned that you need to complete your distributed switch configuration the way you prefer in my case the distributed switch only has two port groups vmotion and vsan also the uplinks are named with default names and nick gaming can be inappropriate so i prefer to make some changes with my distributed switch but in your environment this would be different based on your environment design and needs so some of the things which i typically do is migrate management network vm kernel adapters from standard switch to distributed switch i'm going to add additional dv uplinks and categorize them based on the network type and i'm going to create additional dv port groups for virtual machine network and i'm going to configure the taping policy for each of these dv port groups now this concludes the step-by-step instructions to create a new vsan cluster while deploying a new vcenter server 6.7 update 3 appliance hope this video has been informative to you all and i thank you for watching this video
Info
Channel: vCloudBitsBytes
Views: 8,423
Rating: 4.9316239 out of 5
Keywords: Deploy vCenter Server, Create VSAN cluster, VSAN pre-requisites, lab setup, VSAN lab, vCenter Server appliance, vSphere 6.7, vSAN 6.7, vSAN Configuration Assist, vsan, vmware, vsphere, vcenter server appliance, vcenter
Id: VOdbVi3tTrU
Channel Id: undefined
Length: 32min 19sec (1939 seconds)
Published: Sun Jul 19 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.