SDDC Business Virtual Machines

SDDC Business Virtual Machines

Understanding VMware vCenter

VMware vCenter® is a centralized server used to manage your VM environment. Rackspace Technology Support also uses the VMware vCenter user interface to connect to and manage your ESXi hosts. SDDC Business offering provides access to VMware vCenter or a vSphere Client.

Understanding vCPU

A VM includes one or more virtual central processing units (vCPU). By allocating vCPUs to VMs, you can share physical CPUs on the hypervisor with the VMs.

Over-allocating CPU can negatively impact system performance. You should only allocate as many vCPU resources as your VM needs. If you allocate more cores than you need, you waste CPU cycles that could be used by your other VMs.

Understanding vRAM

You can allocate physical RAM on the hypervisor to the VMs as virtual RAM (vRAM). If you allocate more vRAM than is physically installed, application performance can suffer because of the techniques that ESXi uses to reclaim memory, such as memory swapping and memory ballooning. You should only allocate as many vRAM resources as your VM needs.

Deploy Virtual Machine from Template

  1. Right click the Compute-ResourcePool resource pool.

  2. Click New Virtual Machine.

  3. Deploy from template.

  4. Choose the template.

  5. Provide a name for the Virtual Machine and choose the Workloads folder. Click Next.

  6. Ensure the Compute-ResourcePool is selected, click Next.

  7. Review the details, click Next.

  8. Ensure the storage LUN is selected, click Next.

  9. Select Network, click Next.

  10. Review the details, click Finish to start the virtual machine deployment.

  11. The VM should be visible under the Compute-ResourcePool.

  12. Right click on the VM, Power > Power On to start the VM.

Deploy Virtual Machine Template Using OS Customization Spec

  1. Right click the Compute-ResourcePool resource pool.

  2. Click New Virtual Machine.

  3. Deploy from template.

  4. Choose the template.

  5. Provide a name for the Virtual Machine and choose the Workloads folder and check the "Customize the operating system" check box. Click Next.


  6. Select 'RXT Linux - New Deploy' or 'RXT Windows - New Deploy' depending on your OS, click Next.

  1. Enter your desired IP Address, Subnet Mask and Gateway information, click Next.
  1. Ensure the Compute-ResourcePool is selected, click Next.

  2. Review the details, click Next.

  3. Ensure the storage LUN is selected, click Next.

  4. Select your desired Virtual Network for your network adapter(s), click Next.

  5. Review the details, click Finish to start the virtual machine deployment.

  1. The VM should be visible under the Compute-ResourcePool.

  2. Once the "Deploy OVF template" task completes, Power On the VM.

  3. The VM will start and may reboot once to complete the OS customization process.

Fetching Initial Admin Credentials

The following steps will explain how to retrieve the initial admin password:

  1. Right-click the VM in vCenter, click Edit Settings

  2. Click the VM Options tab and expand Advanced

  3. Scroll down and click EDIT CONFIGURATION

  4. The initial admin password can be found in the value column next to 'guestinfo.custom.adminpassword'

  • NOTE: DO NOT Power cycle the VM (Power Off / Power On) until you have retrieved the initial admin credentials. The metadata key will disappear when you power off the VM!

Deploy Virtual Machine from ISO

  1. Right click the Compute-ResourcePool resource pool.

  2. Click New Virtual Machine, Click Next.

  3. Provide a name for the virtual machine, select the Workloads folder, click Next.

  4. Ensure the Compute-ResourcePool is selected, click Next.

  5. Select your storage LUN.

  6. Keep the VM compatibility as default, click Next.

  7. Select your Guest OS Family Windows/Linux or Other. Choose your Guest OS Version.

  8. Click Next.

  9. Configure your Virtual Machine CPU and Memory, size of the Hard Disk, Network segment.

  10. Click on the new CD/DVD Drive dropdown, select Content Library ISO File.

  11. Select the ISO that you would like to use, click OK.

  12. Ensure that the drive is connected.

  13. Click Next, review your setting then click Finish to start the deployment.

  14. Your Virtual machine should be visible under the Compute-ResourcePool.

  15. Right click on the Virtual Machine, Power, Power On to start the Virtual Machine.

  16. The Virtual Machine should boot using the ISO, the installation process can start.

VMware Tools Installation

VMware Tools is a suite of services and components that enhances the performance of the virtual machine and enable several features for better management and user interactions with guest operating system.

Prerequisite

  • Powered on virtual machine with a running operating system.
  • A user with administrative privileges

Windows VMware Tools Install

  1. VMs without VMware Tools installed, will show a message on the console.
  1. Click on install vmware Tools on the message or right click on the VM, click Install VMwareTools.
  1. Click Mount, this will trigger the vmware Tools install process.

  1. Click Run setup64.exe.
  1. Click Next.
  1. Choose Typical, click Next, click Install to begin the install.

  1. Click Finish to complete the install. Please reboot your Virtual Machine.
  1. The vmware tools should now show as current and running.

Linux vmware Tools Install

📘

  1. Right click VM in the virtual machine menu, then click Guest > Install/Upgrade vmware Tools. Click Mount.

  1. Create a Mount Point
mkdir/mnt/cdrom
  1. Mount the CDROM

mount/dev/cdrom/mnt/cdrom

  1. Copy the tar file

cp/mnt/cdrom/vmwareTools-version.tar.gz /tmp/

  1. Change to the tmp directory and extract the files

tar -zxvf vmwareTools-version.tar.gz

  1. Change to the vmware-tools-distrib directory and run the vmware-install.pl.

Install now complete.

Request a Public IP

To request a public IP for your workload. Please reach out to support teams by raising a ServiceDesk ticket.

Working With Tags

Your VMware vCenter Server provides a feature called Tags that allows you to organize and categorize your virtual resources, such as virtual machines, templates, and virtual appliances. Tags can be used to group resources based on different criteria, such as department, application, or environment.

You can create and manage tags using the vSphere Web Client, which is the primary user interface for vCenter Server. To create a new tag, you can go to the Tags section of the vSphere Web Client and click on the “New Tag” button. You’ll then be prompted to enter a name and description for the tag, and to choose a category. You can also assign an icon to the tag to help differentiate it from other tags.

Once you’ve created a tag, you can apply it to one or more virtual resources. For example, you can go to the “Virtual Machines” section of the vSphere Web Client and select one or more virtual machines, then click on the “Actions” button and select “Assign Tag”. You’ll then be prompted to select the tag that you want to assign to the virtual machine(s).

You can also use the vSphere API to create and manage tags programmatically. The vSphere API provides a set of services and methods for creating, retrieving, updating, and deleting tags, as well as for working with other vCenter Server objects, such as virtual machines and datacenters. You can use one of the vSphere SDKs, such as the vSphere Management SDK, to interact with the vSphere API and automate various tasks related to vCenter Server.

You can also find vCenter tag automation using PowerCLI which is a PowerShell interface for managing vSphere environments. You can use PowerCLI to automate various tasks related to vCenter Server, including creating, modifying and deleting tags.

Creating a Tag Category

  1. In your vCenter, click on Tags and Customer Attributes.

  2. Click on Categories, New.

  3. Provide a name, tags per object, and select the objects that the tag can be associated with.

  4. Click create.

Creating a Tag

  1. In your vCenter, click on Tags and Customer Attributes.

  2. Click on Tags > New.

  3. Provide a name, description and choose the tag category.

Assign a Tag

In our example, we will be assigning the demo tag to a VM.

  1. Right click your VM, Tags & Custom Attributes, Assign Tag.

  2. Choose the tag, click Assign.

  3. In the summary page of the VM, the tag will now show under tags.