ReportWire

Tag: Create vCenter Cluster with VMWare Workstation

  • Create vCenter Cluster with VMWare Workstation (3): Create VMs

    Create vCenter Cluster with VMWare Workstation (3): Create VMs

    [ad_1]

    In the third part of this 5-part hands-on guide, we would create the virtual machines we would use for the lab using the plan created in part 1.

    When I created the VMs, I saved them on the default location, “C:UsersDocumentsVirtual Machines.” I have now moved them to the 300+ GB partition I created in part 1 of this guide.

    Step 1: Create the the ESXi VMs

    After creating the lab, I realized that IPMvESXi1 requires more memory because the vCenter Server Appliance consumed 90% of its 16 GB (16384 MB) RAM. So, I upgraded its memory to 18432 MB (18 GB). If your VMWare Workstation host has up to 32 GB of RAM, you can safely assign 18432 MB to IPMvESXi1.

    1. Sign in to the Windows PC you installed VMWare Workstation Pro.
    2. Then, double-click the VMWare Workstation shortcut on the desktop. Then, on the first page, select “Use VMWare Workstation 17 for Personal Use” and click Continue, then Finish.
    Create the VMs with VMWare Workstation Pro
    1. When VMWare Workstation opens, click “Create a Virtual Machine.”
    When VMWare Workstation opens, click Create a Virtual MachineWhen VMWare Workstation opens, click Create a Virtual Machine
    1. On the first page, select Custom (Advanced).
    1. Select ESXi 7.0 as the Virtual Machine Hardware compatibility.
    Select ESXi 7.0 as the Virual Machine Hwardware compactibilitySelect ESXi 7.0 as the Virual Machine Hwardware compactibility
    1. On the “Guest Operating System” page, check “Installer disk image file (iso),” then use the Browse button to select the path to the ESXi 7 ISO file you downloaded earlier.
    1. Enter IPMvESXi1 in the name field, and accept the default path.
    Enter IPMvESXi1 in the name field, accept the default pathEnter IPMvESXi1 in the name field, accept the default path
    1. Enter 2 on the Number of processors and Number of cores per processor.
    Enter 2 on the Number of processors and Number of cores per processorEnter 2 on the Number of processors and Number of cores per processor
    1. Based on our plan, IPMvESXi1 should be assigned 16384 MB. Enter 16384 as the memory size for the VM./im
    Based on our plan, IPMvESXi1 should be assigned 16384 MB. Enter 16384 as the memory size for the VM.Based on our plan, IPMvESXi1 should be assigned 16384 MB. Enter 16384 as the memory size for the VM.
    1. On the Network type, select Use bridged networking option.
    On the Network type, select Use bridged networking optionOn the Network type, select Use bridged networking option
    1. Select the options shown in these screenshots.
    Select the options shown in these screenshots - 1Select the options shown in these screenshots - 1
    Select the options shown in these screenshots - 2Select the options shown in these screenshots - 2
    Select the options shown in these screenshots - 3Select the options shown in these screenshots - 3
    Select the options shown in these screenshots - 4Select the options shown in these screenshots - 4
    Select the options shown in these screenshots - 5Select the options shown in these screenshots - 5
    Select the options shown in these screenshots - 6Select the options shown in these screenshots - 6

    Repeat steps 1 to 8 to create the second VM for IPMvESXi2.

    Step 2: Add More vNICs to the ESXi VMs

    Add 3 vNICs each – later, we will configure two into a Teamed network – 1 for VM Network, the other for Management Network Port group.

    1. Right-click VM > Settings
    Add More vNICs to ESXi VMsAdd More vNICs to ESXi VMs
    1. Then, at the bottom, click Add.
    1. Select Network Adapter, then Finish.
    Finally, select Network Adapter, then Finish. Finally, select Network Adapter, then Finish.
    1. Finally, select Bridged as the Network Connection typer and ensure that “Connect at power on” is checked.
    Finally, select Bridged as the Network Connection typer and ensure that Connect at power on is checkedFinally, select Bridged as the Network Connection typer and ensure that Connect at power on is checked

    Repeat steps 1 – 4 to add 2 more vNICs on IPMvESXi2 and 3 on IPMvESXi2.

    When you finish, you should have 4 vNICs on each ESXi host – click OK to save the changes you made.

    When you finish, youn should have 4 vNICs on each ESXi host - click OK to save the changes you madeWhen you finish, youn should have 4 vNICs on each ESXi host - click OK to save the changes you made

    Step 3: Create the iSCSI VM

    1. To start the new VM wizard, click File > New Virtual Machine.
    To start the new VM wizard, click File, New Virtual MachineTo start the new VM wizard, click File, New Virtual Machine
    1. When you create IPMviSCSI, select Typical (Recommended)
    1. Then, on the next page, select the “I will install the operating system later” option.
    Then, on the next page, select the I will install the operating system later option.Then, on the next page, select the I will install the operating system later option.
    1. Select “Microsoft Windows” as the Operating System, then Windows Server 2022 as the version.
    Select Microsoft Windows as the Operating System, then Windows Server 2022 as the versionSelect Microsoft Windows as the Operating System, then Windows Server 2022 as the version
    1. Name of the VM IPMviSCSI, then select the volume you created for the VM storage as the path to save the VM.
    Name of the VM IPMviSCSI, then select the volume you created for the VM storage as the path to save the VM.Name of the VM IPMviSCSI, then select the volume you created for the VM storage as the path to save the VM.
    1. Accept the default disk size of 60GB, then select the “Store virtual disk as a single file” option.
    Accept the default disk size of 60GB, then select the Store virtual disk as a single file optionAccept the default disk size of 60GB, then select the Store virtual disk as a single file option
    1. On the review page, click “Customize Hardware,” then, select Network Adapter and change its connection type to Bridged.
    On the review page, click "Customize Hardware," then, select Network Adapter and change its connection type to Bridged. On the review page, click "Customize Hardware," then, select Network Adapter and change its connection type to Bridged.
    then, select Network Adapter and change its connection type to Bridged. then, select Network Adapter and change its connection type to Bridged.
    1. Finally, create the VM.
    Finally, create the VM.Finally, create the VM.

    Since we used the VMWare Workstation’s default VM wizard, it assigned 2 GB or RAM, 2 processors and 2 processor cores.

    Since we used the VMWare Workstation's default VM wizard, it assigned 2 GB or RAM, 2 processors and 2 processor cores. Since we used the VMWare Workstation's default VM wizard, it assigned 2 GB or RAM, 2 processors and 2 processor cores.

    However, since this VM is not resource-intensive, in our plan in part 1 of this guide, this VM should be assigned 1 GB of RAM, 1 processor and 1 core.

    1. To modify the RAM size, click Memory, then enter 1024 as the memory, and click OK.
    To modify the RAM size, click Memory
To modify the RAM size, click Memory
    then enter 1024 as the memory, and click OKthen enter 1024 as the memory, and click OK
    1. Click Processor, then enter 1 for the number of processors and 1 for cores.
    Finally, click Processor,Finally, click Processor,
    then enter 1 for the number of processors and 1 for coresthen enter 1 for the number of processors and 1 for cores
    1. Click CD/DVD (SATA)
    1. Then, select “Use ISO image file,” use the Browse button to enter the path to the Windows Server 2022 ISO, and click OK.
    Then, select "Use ISO image file," use the Browse button to enter the path to the Windows Server 2022 ISO, and click OK. Then, select "Use ISO image file," use the Browse button to enter the path to the Windows Server 2022 ISO, and click OK.

    Read part 4: Configure EXSi and iSCSI VMs (link opens in a new browser tab).

    [ad_2]

    Victor Ashiedu

    Source link

  • Create vCenter Cluster with VMWare Workstation (4): Setup VMs

    Create vCenter Cluster with VMWare Workstation (4): Setup VMs

    [ad_1]

    In this part of the 5-part guide, we will install ESXi 7 on the two VMs, and configure their networks. Then, install Windows Server 2022 on the iSCSI VM, configure it as an iSCSI target, and connect the ESXi hosts to the iSCSI LUMs.

    Step 1: Install ESXi on the VMs

    1. Select the first ESXi VM, IPMvESXi2 and click “Power on this virtual machine.”

    ESXi 7 will start installing. Wait for the installer to display the page shown below, then proceed to step 2.

    1. Click your mouse on the VM. When you do this, the mouse will no longer be available to your Windows 11 PC – I will tell you how to get the mouse back later.
    2. To continue the installation, press the Enter key on your keyboard.
    To continue the installation, press the Enter key on your keyboard. To continue the installation, press the Enter key on your keyboard.
    1. Next, following the instructions on the ESXi installation screen, press F11 on your keyboard to accept the license agreement.
    Next, following the instruction on the ESXi installation screen, press F11 on your keyboard to accept the license agreement. Next, following the instruction on the ESXi installation screen, press F11 on your keyboard to accept the license agreement.

    Follow the instructions on the screen to complete the installation. Note the root password you use for the installation as you will need it later.

    Before you proceed, install ESXi 7 on the second VM, IPMvESXi2.

    When you finish installing VMWare ESXi on a VM, press Ctrl + Alt to release the mouse to Windows.

    When the ESXi finishes installing, it should display a screen similar to my screenshot below. If there is a DHCP server on the network its vNIC is connected, it will receive an IP address.

    When the ESXi finishes installing, it should display a screen similar to my screenshot below. When the ESXi finishes installing, it should display a screen similar to my screenshot below.

    Step 2: Configure Static IP, DNS and License for the ESXi Hosts

    In this section, we will assign the ESXi hosts a static IP address and configure DNS settings, and assign the Hosts a license.

    Assigning licenses to the ESXi hosts is optional. VMWare offers a 60-day trial period so you can continue using the ERSXi hosts for 60 days if you do not have a license.

    1. Set a Static IP Address for the ESXi Host.

    Perform these steps on the two ESXi hosts, IPMvESXi1 and IPMvESXi2. According to our lab plan in part 1 (Table 2), IPMvESXi1 should be assigned 192.168.0.151 and IPMvESXi2, 192.168.0.152.

    If you need to view the table with the IP configurations, click Plan the Lab Network Configuration (the link opens in a new browser tab).

    When you’re ready, follow these steps to configure static IP for the ESXi hosts:

    1. Open IPMvESXi1 in VMWare Workstation and click on the VM’s screen. If the VM is in “sleep” mode, click Enter key to wake it up.
    Open IPMvESXi1 in VMWare Workstation and click on the VM's screen. If the VM is in "sleep" mode, click Enter key to wake it up.Open IPMvESXi1 in VMWare Workstation and click on the VM's screen. If the VM is in "sleep" mode, click Enter key to wake it up.
    1. Next, click F2 to customize the VM. ESXi will request to login, use the tab key to select the password field and enter the root’s password.

      When you finish, press Enter to log in to ESXi console.

    Next, click F2 to customize the VMNext, click F2 to customize the VM
    ESXi will request to login, use the tab key to select the password field and enter the root's password. ESXi will request to login, use the tab key to select the password field and enter the root's password.
    1. On the System Customization page, use the Down arrow key to highlight Management Network, then press Enter to select it.
    On the System Customization page, use the Down arrow key to highlight Management Network, then press Enter to select it. On the System Customization page, use the Down arrow key to highlight Management Network, then press Enter to select it.
    1. Next, highlight IPv4 Configuration and select it. The “() Disable IPv4 Configuration for Management network” will be selected.
    Next, highlight IPv4 Configuration and select it. Next, highlight IPv4 Configuration and select it.
    1. Scroll to “() Set static IPv4 address and network configuration,” Press the Space bar on your keyboard to select this option. After that, press the Enter key to open the option
    Scroll to "() Set static IPv4 address and network configuration," Press the Space bar on your keyboard to select this option. Scroll to "() Set static IPv4 address and network configuration," Press the Space bar on your keyboard to select this option.
    1. Finally, scroll to the IPv4 Address, and enter the IP address. If you need to modify the Subnet mask and Defauly gateways, use the Down arrow key to select each, then modify the values.

    When you finhs, press the Enter key to save your changes. Stay logged on to the ESXi host.

    Repeat steps 1 to 6 for IPMvESXi2.

    2. Configure DNS Settings for the ESXi Hosts

    Press the esc key to return to the previous menu.

    1. Then, scroll to DNS Configuration, press Enter to select it.

    1. On the DNS Configuration page, scroll to “() Use the following DNS Server and host name” option – then press the Space bar to select it

    After that, scroll (using the Down arrow key) to the Primary DNS Server, and enter the value from our plan table (if you’re using the same network). Leave the Alternate DNS Server field blank.

    Then, scroll to the hostname and change it to IPMvESXi1 (the name of this ESXi host). When you finish, press the Enter key to save your changes.

    Finally, press the esc key to return to the “Configure Management network” menu.

    After that, scroll (using the Down arrow key) to the Primary DNS Server, and enter the value from our plan table (if you're using the same network). Leave the Alternate DNS Server field blank.After that, scroll (using the Down arrow key) to the Primary DNS Server, and enter the value from our plan table (if you're using the same network). Leave the Alternate DNS Server field blank.
    1. Then, press the esc key again, ESXi will ask you to apply the changes, type Y to confirm.
    Then, press the esc key again, ESXi will ask you to apply the changhes, type Y to confirmThen, press the esc key again, ESXi will ask you to apply the changhes, type Y to confirm

    Repeat steps 1 to 3 for the second ESXi host, IPMvESXi2.

    3. Assign License to the ESXi Hosts

    1. Enter the IP address of the ESXi host on a browser and press enter to load the page. You will be receive and unsecure warning, ignore it and proceed.
    2. Then, on the sign in page, enter root as the User name. Also, enter the root’s password you set when you installed the ESXi hypervisor – when you finish, click the Login button.
    Then, on the sign in page, enter root as the User name. Also, enter the root's password you set when you installed the ESXi hypervisor - when you finish, click the Login button. Then, on the sign in page, enter root as the User name. Also, enter the root's password you set when you installed the ESXi hypervisor - when you finish, click the Login button.
    1. On the menu (left pane of the page), Host will be selected automatically. Click the Manage menu.
    On the menu (left pane of the page), Host will be selected automatically. Click the Manage menu. On the menu (left pane of the page), Host will be selected automatically. Click the Manage menu.
    1. Then, on the details pane of the Manage menu, click the Licensing tab. On the Licensing tab, click Assign license, enter the license and clcik “Check license.”

    If the license is valid, assign it to the host.

    If the license is valid, assign it to the host. If the license is valid, assign it to the host.

    If you need to assign a license to the second ESXi host, repeat steps 1 to 4.

    Step 3: Attach the Datastore Disk to the iSCSi VM

    In this section, you’ll attach the 600 GB partition you created in part 1 to the iSCSI VM.

    1. Open Disk Management on the Computer VMWare Workstation is installed. Note the disk number of the Disk as you will need it later. For my environment, I have 3 disks on the computer but Disk 1 is the 1 TB drive I want to use.

    Also, note that the 600 GB is the first partition.

    Important note!
    Before proceeding to step 2, if you had the VMWare Workstation Pro console open, close it and select Run in Background. Then, search for VMWare Workstation Pro, right-click it and select Run as administrator. If you do not open VMWare Workstation Pro as administrator, it will not display Disk partitions on the host when you add a physical disk to the VM.

    Alternatively, you can press and hold the Shift key, right-click the VMWare Workstation icon on your desktop and select Run as Administrator.

    Alternatively, you can press and hold the Shift key, right-click the VMWare Workstation icon on your desktop and select Run as Administrator. Alternatively, you can press and hold the Shift key, right-click the VMWare Workstation icon on your desktop and select Run as Administrator.
    1. On the VMWare Workstation console, right-click the iSCSI VM and select Settings.
    On the VMWare Workstation console, right-click the iSCSI VM and select SettingsOn the VMWare Workstation console, right-click the iSCSI VM and select Settings
    1. Then, click the Add button at the bottom.
    Then, click the Add button at the bottom.Then, click the Add button at the bottom.
    1. On the first page of the “Add Hardware Wizard,” select Hard Disk and click Next.
    1. Select NMVe (Recommended) as the Virtual Disk type.
    Select NMVe (Recommended) as the Virtual Disk type.Select NMVe (Recommended) as the Virtual Disk type.
    1. Select Use a Physical disk (for advanced users), click Next, and click Yes to grant admin permission.
    Select Use a Physical disk (for advanced users), click Next, and click Yes to grant admin permission.Select Use a Physical disk (for advanced users), click Next, and click Yes to grant admin permission.

    Here select the Physical disk and use individual partition. Use the Disk Number you noted earlier in this section – mine is PhysicalDisk1. When you click Next, Workstation will request for admin permission, accept Yes.

    If you select the wrong disk, you will lose the data!

    1. On the select Physical Disk Partitions page, check the checkbox next to the 600 GB partition.

    Ensure you select the right partition as choosing the incorrect one may lead to unexpected data loss.

    On the select Physical Disk Partitions page, check the checkbox next to the 600 GB partition. On the select Physical Disk Partitions page, check the checkbox next to the 600 GB partition.
    1. On the review page, accept the suggested name of the vmdk file and click Finish to attach the disk.
    On the review page, accept the suggested name of the vmdk file and click Finish to attach the disk. On the review page, accept the suggested name of the vmdk file and click Finish to attach the disk.

    When you select the new disk in the VM’s settings, it will show that it is connect to a partition on a Physical disk! Click OK to save the changes.

    When you select the new disk in the VM's settings, it will show that it is connect to a partition on a Physical disk!When you select the new disk in the VM's settings, it will show that it is connect to a partition on a Physical disk!

    Step 4: Install Windows Server 2022 on the iSCSi VM

    1. Start the iSCSI VM. The Windows Server 2022 installation should start from the ISO image.
    Start the iSCSI VMStart the iSCSI VM
    1. If the install does not auto-start, right-click the VM, point to Removable Devices > CD/DVD (SATA) > Connect. The VM will load the BIOS boot menu.
    If the install does not auto-start, right-click the VM, point to Removable Devices - CDDVD SATA - Connect. The VM will load the BIOS boot menuIf the install does not auto-start, right-click the VM, point to Removable Devices - CDDVD SATA - Connect. The VM will load the BIOS boot menu
    1. Then, use the Up/Down arrow key to select the CD/DVD drive and press Enter to boot from the ISO image. As usual, you’ll be promoted to press any key to start Windows installation.
    Boot a VMWare Workstation pro VM from BIOS Boot menuBoot a VMWare Workstation pro VM from BIOS Boot menu

    Install Windows Server 2022 Standard edition. Ensure that you install the OS on the 60 GB disk, NOT the 600 GB partition.

    Complete the Windows Installation and proceed to step 5.

    Step 5: Complete Post-OS Install Tasks

    1. Install VMWare Tools

    1. When the OS finishes installing, login to the VM. Then, on the VMWAre Workstation, right-click the VM and select “Install VMWare Tools.”
    1. Then, pen “This PC”, and install the VMWare tools. Restart the VM when promted.
    Then, pen This PC, and install the VMWare toolsThen, pen This PC, and install the VMWare tools

    2. Rename the VM and Assign a Static IP, Configure DNS

    Start the VM and sign in, then, run the following commands to assign the VM an IP address, rename it, and then restart the VM:

    #Assign a static IP address to the VM's NIC

    Get-NetAdapter | New-NetIPAddress -IPAddress 192.168.0.154 -PrefixLength 24 -DefaultGateway 192.168.0.1

    #Assign the DNS server to the NIC

    Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 192.168.0.80

    #Change the computer name of the VM and restart it

    Rename-Computer -NewName IPMviSCSI -Restart

    When the VM restarts, it may be a good idea to check for updates via the Windows Update Settings. Also, remember to enable Remote Desktop so you can manage the VM remotely.

    Step 6: Install and Configure iSCSI Taget

    1. Log in to the iSCSI VM, IPMviSCSI, open PowerShell as administrator.
    2. Then, install the iSCSI role with the command below:
    Add-WindowsFeature fs-iscsitarget-server
    Install and Configure iSCSI Taget with PowerShellInstall and Configure iSCSI Taget with PowerShell

    Once the installation completes, restart the computer, then, follow these steps to create the iSCSI target:

    1. Open Disk Management, right-click the 600 GB disk and select Format.
    1. Then, on the Format disk popup, select the options shown in the screenshot below and click OK.

    If Server Manager was open while you performed steps 1 and 2 above, close it

    1. Open Server Manager and click on File and Storage Services > iSCSI, then click “To create an iSCSI virtual disk, start the New iSCSI Virtual Disk Wizard.”
    Once the disk is online, follow these steps to configure IPMviSCSI as an iSCSI target serverOnce the disk is online, follow these steps to configure IPMviSCSI as an iSCSI target server
    1. On the first page of the wizard, select the 600 GB partition and click Next.
    On the first page of the wizard, select the 600 GB partition and click NextOn the first page of the wizard, select the 600 GB partition and click Next
    1. On the next page, give the iSCSI volume a name (I use the server’s name) and description (optional), then, click Next.

    Note the path the virtual disk is created – D:iSCSIVirtualDisksIPMviSCSI.vhdx. The iSCSIVirtualDisks folder is created by default.

    On the next page, give the iSCSI volume a name (I use the server's name) and description (optional), then, click Next.On the next page, give the iSCSI volume a name (I use the server's name) and description (optional), then, click Next.
    1. Then, assign the entire disk size to the iSCSI LUM, select Fixed space and click Next.
    Then, assign the entire disk size to the iSCSI LUM, select Fixed space and click NextThen, assign the entire disk size to the iSCSI LUM, select Fixed space and click Next
    1. Next, select Create new iSCSI target and click Next. Then, give the target a name and optional description.
    Then, give the target a name and optional descriptionThen, give the target a name and optional description
    1. To specify the ESXi Hosts as the iSCSI Initiators, click Add.
    To specify the ESXi Hosts as the iSCSI Initiators, click AddTo specify the ESXi Hosts as the iSCSI Initiators, click Add
    1. Then, on the “Add Initiator” sub-wizard, select “Enter a Value for the selected type”, then, on the Type drop-down, select IP address, finally, enter the IP addresses of the first ESXi VM (192.168.0.151), click OK to add the iSCSI Initiator.

    When I tried accessing this iSCSI target from the ESXi host with IP 192.168.0.151, it was not working. After a while of troubleshooting, I realised that I entered 92.168.0.151 (see the screenshot below) instead of 192.168.0.151. Anyway, after removing the wrong IP and adding the correct one, the ESXi host displayed the iSCSI storage!

    Then, on the "Add Initiator" sub-wizard, select "Enter a Value for the selected type", then, on the Type drop-down, select IP address, finally, enter the IP addresses of the first ESXi VM (192.168.0.151), click OK to add the iSCSI Initiator.Then, on the "Add Initiator" sub-wizard, select "Enter a Value for the selected type", then, on the Type drop-down, select IP address, finally, enter the IP addresses of the first ESXi VM (192.168.0.151), click OK to add the iSCSI Initiator.

    Repear steps 6 and 7 to add the second ESXi hot’s IP (192.168.0.152).

    1. You should now have the IP addresses of the two ESXi hosts (VMs), click Next to continue.
    You should now have the IP addresses of the two ESXi hosts (VMs), click Next to continueYou should now have the IP addresses of the two ESXi hosts (VMs), click Next to continue
    1. On the authenticator page, click Next without setting any authentication.

    If you’re deploying on a production evironement, you may want to enable CHAP.

    On the authenticator page, click Next without setting any authentication.On the authenticator page, click Next without setting any authentication.
    1. Finally, review your settings and click Create. Wait for the iSCSI LUM to be created, then close the wizard.
    Finally, review your settings and click Create. Wait for the iSCSI LUM to be created, then close the wizard.Finally, review your settings and click Create. Wait for the iSCSI LUM to be created, then close the wizard.
    Wait for the iSCSI LUM to be created, then close the wizard.Wait for the iSCSI LUM to be created, then close the wizard.

    Step 6: Create DNS Host A Records for the VMs

    To allow you connect to the ESXi and the iSCSI hosts, create a Host A record on your DNS server. I also included the vCenter host name, IPMvCSA as creating a Host A record for vCenter host name is a prerequisite for installing vCenter.

    Use the table below to create the A records.

    Host Name IP Address
    IPMvESXi1 192.168.0.151
    IPMvESXi2 192.168.0.152
    IPMvCSA 192.168.0.153
    IPMviSCSI 192.168.0.154
    Table 1

    To create a Host A record:

    1. Open the DNS Manager console, navigate to the forward look zone, right-click it and select New Host A or AAA record.
    Open the DNS Manager console, navigate to the forward look zone, right-click it and select New Host A or AAA record. Open the DNS Manager console, navigate to the forward look zone, right-click it and select New Host A or AAA record.
    1. Then, on the pop up window, enter the name and IP address of the server. The Create associated pointer (PTR) record os checked by default.

    Once you confirm that all entries are accurate, click Add Host. #

    Then, on the pop up window, enter the name and IP address of the server. The Create associated pointer (PTR) record os checked by default.Then, on the pop up window, enter the name and IP address of the server. The Create associated pointer (PTR) record os checked by default.

    Repeat steps 1 and 2 for all records in Table 1 above. From this point, you can access these VMs with their hostname, instead of IP addresses.

    Step 7: Connect ESXi Hosts to the iSCSI Storage

    Use the steps in my guide, Configure VMware ESXi Servers to Share an iSCSI Storage to connect the two ESXi servers – IPMvESXi1 and IPMvESXi2 to the iSCSI target you created earlier.

    Read part 5: Configure vCenter (link opens in a new browser tab).

    [ad_2]

    Victor Ashiedu

    Source link

  • Create vCenter Cluster with VMWare Workstation (5): Setup vCenter

    Create vCenter Cluster with VMWare Workstation (5): Setup vCenter

    [ad_1]

    Read part 5 of my guide to learn how to install vCenter Server Appliance 8, configure LDAP over AD, create directories in the datastore, configure the network and create a vCenter cluster.

    Step 1: Install vCenter 8 Appliance

    To install vCenter 8 Appliance, you require a Windows, Linux, or Mac computer where you run the installer. The computer must meet the System Requirements for the vCenter Server Appliance Installer.

    For my lab, I will use the PC that I installed VMWare Workstation (Windows 11 PC) to run the vCenter Server Appliance Installer.

    In addition to meeting the requirements for the installer computer, the ESXi host you will be deploying the vCenter appliance VM must meet the System Requirements for the New vCenter Server Appliance.

    I have written a comprehensive guide, How to Install vCenter Server 8 Appliance. The guide includes how to check if your ESXi host meets the requirements and how to install the vCenter Appliance.

    Follow the steps in the guide – How to Install vCenter Server 8 Appliance – to install vCenter 8. When you’re done, proceed to step 2 below.

    Step 2: Create a vCenter Cluster

    Follow the steps in my guide – How to Create a vCenter Cluster – to create a vCenter Cluster.

    Step 3: Configure Networking in vCenter

    In a lab environment, the tasks in this section are optional. However, in production infrastructure, it is essential.

    I created a comprehensive guide with the steps to set up a distributed swich in vCenter. Use the steps in the guide – How to Create and Configure Virtual Distributed Switch in vCenter – to complete this section of your lab.

    Step 5: Upload ISO Images to vCenter

    Before uploading ISO images to vCenter, creating folders is a good idea. At a minimum, you will require a folder for storing VMs, VM Templates, and ISO Images.

    To create these folders, follow my guide, How to Delete, Create, or Rename a Folder in a vCenter Datastore.

    After creating folders in the 600 GB datastore, follow these steps to upload ISO images to the ISO Images folder.

    1. After signing in to vCenter, click the datastore node. Then, on the node menu, select the datastore with the folder. The datastore name will be selected on the details pane.
    After sigining in to vCenter, click the datastore node. Then, on the node menu, select the datastore with the folder. The datastore name will be selected on the details pane.
    1. On the details pane of the datastore items list, check the checkbox next to the folder. Then, click UPLOAD FILES, browse to the folder on your computer where the file is saved, and click and open it – vCenter will start uploading the file.
    On the details pane of the datastore items list, check the checkbox next to the folder. Then, click UPLOAD FILES. On the details pane of the datastore items list, check the checkbox next to the folder. Then, click UPLOAD FILES.
    1. To see the uploaded file, click the folder under the datastore. If the folder is not in the folder, the upload may still be in progress, or the upload has failed.

    If the upload fails, vCenter will display an error message. Click on the details to see the error details. As shown in my screenshot my upload failed.

    If the upload fails, vCenter will display an error message. Click on the details to see the error details. If the upload fails, vCenter will display an error message. Click on the details to see the error details.

    Here is why it failed and the recommended fix: copy the vCenter server’s URL to a new tab on the same browser, ignore the certificate error and re-try the upload. /ima

    Here is why it failed and the recommended fix: copy the vCenter server's URL to a new tab on the same browser, ignore the certificate error and re-try the upload. . Here is why it failed and the recommended fix: copy the vCenter server's URL to a new tab on the same browser, ignore the certificate error and re-try the upload. .
    Here is why it failed and the recommended fix ; copy the vCenter server's URL to a new tab on the same browser, ignore the certificate error and re-try the upload 3Here is why it failed and the recommended fix ; copy the vCenter server's URL to a new tab on the same browser, ignore the certificate error and re-try the upload 3
    1. The vCenter login page will load, return to the previous vCenter page, and re-upload the file. The file should start uploading and the progress bar displayed at the bottom.

    Repeat the above steps for all ISO files you need to upload.

    Step 6: Add Active Directory over LDAP in vCenter

    It is best practice to integrate vCenter with Active Directory. Once integrated, instead of creating and managing users in vCenter, you can assign AD users access to vCenter.

    VMWare vCenter offers two options to integrate vCenter with AD – by joining vCenter to an Active Directory domain or adding Active Directory over LDAP. VMWare recommends the last option.

    I have a guide, How to Configure Active Directory Over LDAP in vCenter, follow the steps in the guide to complete this optional task.

    Integrating vCenter and AD is optional but in a prod environment, I strongly recommend it.

    Step 7: Create VM Templates in vCenter

    A VM template provides a consistent and fast way to deploy VMs in vCenter. Creating a template is a 2-step process.

    The first step is to create a VM and install the Operating System you wish to deploy with the template and all apps you want in the template.

    As best practice, I also like to install OS updates.

    After all that, the second step is converting the VM into a VM template.

    Follow the steps in my guide, How to Create VM Templates in VMWare vCenter, to create templates in your lab or prod vCenter server.

    Step 8: Create VMs from Templates

    To create VMs with VM templates, read this guide, How to Create VMs from VM Templates in vCenter (2 Methods).

    Conclusion

    [ad_2]

    Victor Ashiedu

    Source link