Installing Turbonomic on Hyper-V using a VHD image

Turbonomic delivers a VHD image for each quarterly release. To run Turbonomic on Microsoft Hyper-V Server 2012 R2 or later, install a quarterly release and then update to a later bi-weekly release if necessary.

About the Turbonomic image

Turbonomic installs as a virtual machine image that runs the Rocky Linux 9 OS. Typically, you install this image once, and then run Turbonomic updates to take advantage of the latest product features, enhancements, and fixes. Turbonomic updates do not affect the underlying Rocky Linux 9 OS.

For important security patches for the Rocky distribution, it is your responsibility to install these patches on your Turbonomic virtual machine whenever necessary.

Note:

Rocky Linux OS is used as long as it remains viable and secure.

Installation requirements

The following table shows the minimum requirements for Turbonomic installations.

Note:

Turbonomic keeps a real-time representation of your environment in memory. As the number of entities in your environment increases, the virtual machine that runs Turbonomic requires additional resources. Adjust the memory and CPU capacities for the virtual machine as needed. To adjust the capacities, power off the virtual machine, make changes, and then power it on.

Resource Minimum requirement
Host machine

The machine that hosts the Turbonomic platform must support the SSE4.2 instruction set. Support for this instruction set was introduced at different times for different chip manufacturers:

  • Intel: November 2008
  • AMD: October 2011

The machine that hosts Turbonomic should be newer than these dates. On a Linux system, you can run the following command to check for this support:

cat /proc/cpuinfo | grep sse4
Virtual machine storage

Turbonomic provides a VM image that is preconfigured with two hard disk drives. A minimum of 1.80 TB (using thin or thick provisioning) is necessary to ensure that the drives have the proper amount of storage.

Note:

The /var partition must be at least 340 GB.

Virtual machine memory
  • 160 GB (default)
  • 96 GB (if your environment has 10,000 workloads or less)
Note:

If you plan to install a virtual machine with 96 GB of memory, you must modify the default memory when you install the image.

Virtual machine CPU 12 vCPUs
Network addressing

Turbonomic requires a static IP address. You configure the IP address as part of the installation.

License

To run Turbonomic on your environment, you must have the appropriate license. Licenses enable different sets of Turbonomic features, and they support a specified number of workloads in your environment.

User interface browser

To access the Turbonomic user interface, you must log in to the platform with a browser that can display HTML5 pages. Turbonomic supports the following browsers:

  • Apple Safari
  • Google Chrome
  • Microsoft Edge
  • Mozilla Firefox

Task overview

To install Turbonomic, complete the following tasks:

  1. Import the VHD image and configure settings for the virtual machine. This process installs and starts up the virtual machine that hosts your Turbonomic instance.

  2. Perform post-installation tasks.

  3. Deploy the Turbonomic components.

  4. Log in and get started with the Turbonomic user interface.

Importing the VHD image and configuring virtual machine settings

  1. Download the Turbonomic installation package.

    The email that you received from Turbonomic includes a link to the downloadable installation package, turbonomic_t8c-{version}-{timestamp}.zip.

  2. Expand the .zip package and copy the contents to your Hyper-V server, either to your cluster shared volume or to a local hard drive. The contents include the VHD image.

  3. Use the Import Virtual Machine Wizard in the Hyper-V Manager to import the image into your environment.

  4. Verify that the virtual network adapter is connected to the correct virtual network.

  5. Verify that the Turbonomic instance has sufficient memory based on the memory requirements described in a previous section in this topic.

    Turbonomic recommends that you use static memory for your Turbonomic instance. However, you can specify static or dynamic memory for the instance.

  6. Start the Turbonomic appliance and record its IP address.

  7. Set up the Turbonomic system administrator account.

    1. Log in to the virtual machine's Hyper-V console with the following default credentials.

      • Username: turbo

        Note:

        Do not use the account name, root.

      • Password: vmturbo

    2. When prompted, specify a new password and then repeat it for verification.

      The new password must comply with the strong password policy that requires a combination of uppercase and lowercase letters, numbers, and a symbol.

      Note:

      Be sure to store the credentials securely as they are required to access and configure the Turbonomic virtual machine. The password cannot be recovered if lost.

  8. Update the root password.

    The platform uses the root account for certain processes, such as rolling up log messages in /var/log/messages. To ensure the account credentials are current, update the password.

    1. In the remote console, open a super user session.

      su -
    2. At the password prompt, specify the default password, vmturbo.

    3. Specify a new password when prompted.

      The new password must comply with the strong password policy that requires a combination of uppercase and lowercase letters, numbers, and a symbol.

      Note:

      Be sure to store the password securely.

    4. Exit the super user session.

      exit
  9. Set up a static IP address. A static IP address for the Turbonomic virtual machine is required to manage the platform.

    1. Run the ipsetup script that is included in the virtual machine.

      sudo /opt/local/bin/ipsetup
    2. Specify the following required information when prompted. If the information is incorrect or unspecified, the installation can fail or your virtual machine may be unreachable.

      Note:

      Proxy servers that are explicitly configured are not supported with the secure client so they should not be specified.

      Prompt Instructions
      Do you want to use DHCP or set a static IP...

      Choose static.

      Please enter the Hostname for this machine Specify the hostname.
      Please enter the IP Address for this machine Specify the IP address.

      Record the IP address for later use.

      Please enter the network mask for this machine Specify the network mask.
      Please enter the Gateway address for this machine Specify the gateway address.
      Enter DNS Server(s) IP Address for this machine Specify the IP address for the DNS server.
      Do you want to configure a proxy server? (y/n)

      Choose n.

  10. Enable the NIC for the installed virtual machine.

    The Turbonomic instance configuration includes one NIC, but it is not enabled or connected to a network. Display the NIC in the Hyper-V Manager and enable it.

Performing post-installation tasks

Review and complete the tasks that apply to your environment.

Deploying the Turbonomic components

Before deploying the platform components, be sure to review the following requirements:

  • You updated the root password when you imported the image and configured virtual machine settings in a previous task.

  • Turbonomic images for online upgrades and installations are pulled from IBM Container Registry (icr.io). Ensure that you have access to https://*.icr.io before continuing.

  • If you want to synchronize the virtual machine's clock now, be sure you have the Network Time Source information. For more information about synchronizing the virtual machine's clock, see Synchronizing time.

  • Image-based installations use Kubernetes v1.28.8. Use the crictl and ctr commands since Docker commands no longer work. For more information, see the following external resources:

  1. Start a secure session (SSH) on your Turbonomic virtual machine using the turbo user account.

  2. Run the t8cInstall.sh script.

    /opt/local/bin/t8cInstall.sh
  3. When the following prompt displays, choose an option.

    Have you run the ipsetup script to setup networking yet? [y/n]
    • If you configured a static IP address when you installed the image, press y to continue.

    • If you did not configure a static IP address, press n. The setup script runs and prompts you to configure a static IP address before you can continue.

    Important:

    The virtual machine must have a static IP address. Because of dependencies between Turbonomic and the Kubernetes installation, it is not recommended to change the IP address after the deployment.

  4. Wait for the deployment to complete.

    As the deployment begins, the script shows the following message:

    ############################
    Start the deployment rollout
    ############################

    The script performs the following tasks.

    • Configures the platform environment with the necessary certificates

    • Configures the Kubernetes cluster on the virtual machine, which can take a few tries before succeeding. For each try that does not succeed, you may see the following message.

      To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.

      When the connection succeeds, the script advances to the next steps.

    • Establishes local storage for the platform

    • Creates the turbonomic namespace for the platform

    • Configures authorization to access the required Kubernetes secrets

    • Initializes the MariaDB database server to manage historical data for the platform. The script creates two accounts on the MariaDB that have full privileges:

      • root@localhost: This account does not use a password. To connect through this account, the user must be system root.

      • mysql@localhost: This account does not use a password. To connect through this account, the user must be system mysql.

      Note:

      For security reasons, Turbonomic recommends that you configure passwords for these accounts. You can connect with these accounts by using the sudo command, such as sudo mysql. After you connect, you can configure passwords. For more information, see the MariaDB documentation.

    • Installs the Timescale database for embedded reports and the Data Exporter

    • Deploys and starts up the platform components

    After the components deploy, the script waits for them to start and shows the following message.

    The installation process is complete, waiting for all the components to start up.
    ** The script will wait for as long as 30 minutes. **
  5. Check if all the components started within 30 minutes.

    • If all components start within 30 minutes, the deployment is complete and successful. The script shows a message similar to the following example.

      #################################################
      Deployment Completed, please login through the UI
      https://10.10.123.123
      #################################################

      Record the Turbonomic server address shown in the message and then open a browser window to access the user interface.

    • If some components do not start after 30 minutes, the script shows the following message and then exits.

      ===========================================================================
          One or more of your deployments has not started up yet.
          ** Please give your environment another 30 minutes to stabilize. **
          To check the status of your components, execute the following command:
          kubectl get pods
          If some components are still not ready, contact your support representative

      The script then displays the formatted result of the kubectl get pods command. This shows you the status of the pods in the Turbonomic platform.

      Wait another 30 minutes. To periodically check the component status, run the kubectl get pods command. If the issue persists, contact your Turbonomic representative.

  6. Save a copy of the platform's master key secret.

    The deployment process creates a master key secret in the Kubernetes cluster. Turbonomic uses this secret to provide access to the platform components. Save the key data to a safe location.

    1. Get the platform secrets.

      kubectl get secrets

      The results include the master key secret.

      ...
      master-key-secret              Opaque                        1      57d
      ...
    2. Display the master key data.

      kubectl get secret master-key-secret -o yaml

      The output is similar to the following example:

      apiVersion: v1
      data:
        primary_key_256.out: xxxxxxxxxxxxxxxxxxxxxxxxxxx=
      kind: Secret
      metadata:
        creationTimestamp: "2021-06-30T02:59:19Z"
        managedFields:
        - apiVersion: v1
          fieldsType: FieldsV1
          fieldsV1:
            f:data:
              .: {}
              f:primary_key_256.out: {}
            f:type: {}
          manager: kubectl-create
          operation: Update
          time: "2021-06-30T02:59:19Z"
        name: master-key-secret
        namespace: turbonomic
        resourceVersion: "1072"
        uid: xxxxxxxxxxxxxxxxxxxxxxxxx
      type: Opaque

      The important key data to save is the primary_key... data. In this example, save the following line.

      primary_key_256.out: xxxxxxxxxxxxxxxxxxxxxxxxxxx=
    3. Save the data to a safe place.

      Write this data to a file and save it in a safe backup location. If you ever need to recover the master key, your Turbonomic representative uses this data to perform the recovery.

Logging in and getting started with the Turbonomic user interface

Log in to the Turbonomic user interface using the server address and get started.

  1. Open a browser window and then specify the address of your Turbonomic instance in the address bar.

  2. In the login page, specify the required credentials.

    • Username – Specify administrator.

    • Password – Specify your password.

      The password must have a combination of uppercase and lowercase letters, numbers, and a symbol.

    • Repeat password – Specify your password again.

    Record these credentials for future use.

  3. Upload your license key file. Be sure to upload only a .xml, .lic, or .jwt file.

  4. Add targets. For more information about targets, see Target configuration.

  5. Create other user accounts with various roles. For more information about user accounts and roles, see Managing user accounts.

    Note:

    For security reasons, you can create a different account with an Administrator role to serve as the main administrator of your Turbonomic installation, and then delete the default administrator account. You must always have at least one user account with administrator privileges.