You can run the vSphere Bitfusion client in a Docker container that you installed on a virtual machine (VM) that is a part of the same vCenter Server instance as your vSphere Bitfusion servers. Alternatively, you can run the client in a container that you installed on a VM or a bare metal machine that are not a part of the instance, where your vSphere Bitfusion servers run.

Run the vSphere Bitfusion Client in a Docker Container by Using Open VM Tools

To run a vSphere Bitfusion client in a Docker container that runs on a virtual machine that is a part of the same vCenter Server instance as your vSphere Bitfusion servers, first you must install the client and Open VM Tools (open-vm-tools) .

Open VM Tools is the open source implementation of VMware Tools for Linux guest operating systems. The open-vm-tools suite is bundled with some Linux operating systems and is installed as a part of the OS, eliminating the need to separately install the suite on guest operating systems.

Prerequisites

Procedure

  1. Open a terminal application and by using Secure Shell Protocol (SSH), connect to IP address of your virtual machine.
  2. Run a Docker container.
  3. In the Docker container, install Open VM Tools and the vSphere Bitfusion client.
    1. Install Open VM Tools.
      • To install the open-vm-tools package on Ubuntu Linux operating system, run the following commands.
        DEBIAN_FRONTEND="noninteractive" apt -y update
        DEBIAN_FRONTEND="noninteractive" apt install -y open-vm-tools
      • To install the open-vm-tools package on RedHat Linux or CentOS operating system, run the following command.
        yum install -y epel-release  open-vm-tools
    2. Install the latest vSphere Bitfusion client.
      • To install the vSphere Bitfusion package on Ubuntu Linux operating system, run the sudo apt-get install -y ./bitfusion_client_version command, where bitfusion_client_version is the filename of the vSphere Bitfusion client.

        For example, run sudo apt-get install -y ./bitfusion-client-ubuntu2004_4.5.0-4_amd64.deb.

      • To install the vSphere Bitfusion package on Red Hat Linux or CentOS operating system, run the sudo yum install -y ./bitfusion_client_version command, where bitfusion_client_version is the filename of the vSphere Bitfusion client.

        For example, run sudo yum install -y ./bitfusion-client-centos8-4.5.0-4.x86_64.rpm.

  4. (Optional) To verify that the vSphere Bitfusion client is activated, from the vSphere Bitfusion client, list the available GPUs on the vSphere Bitfusion servers by running the bitfusion list_gpus command.

What to do next

Start an application in the vSphere Bitfusion client. After the first run, the vSphere Bitfusion client joins the cluster. For example, start the nvidia-smi application by running the bitfusion run -n 1 -- nvidia-smi command.

Run the vSphere Bitfusion Client in a Docker Container by Using a Client Authentication Token

To run a vSphere Bitfusion client in a Docker container that runs on a bare metal machine or a virtual machine that is not part of the same vCenter Server instance as your vSphere Bitfusion servers, you must first install the client and activate the client by using a client authentication token.

Prerequisites

Procedure

  1. Open a terminal application and by using Secure Shell Protocol (SSH), connect to IP address of your virtual machine.
  2. Run a Docker container.
  3. In the Docker container, install the vSphere Bitfusion client and the token.
    1. Install the latest vSphere Bitfusion client.
      • To install the vSphere Bitfusion package on Ubuntu Linux operating system, run the sudo apt-get install -y ./bitfusion_client_version command, where bitfusion_client_version is the filename of the vSphere Bitfusion client.

        For example, run sudo apt-get install -y ./bitfusion-client-ubuntu2004_4.5.0-4_amd64.deb.

      • To install the vSphere Bitfusion package on Red Hat Linux or CentOS operating system, run the sudo yum install -y ./bitfusion_client_version command, where bitfusion_client_version is the filename of the vSphere Bitfusion client.

        For example, run sudo yum install -y ./bitfusion-client-centos8-4.5.0-4.x86_64.rpm.

    2. Copy the token file to file system of your container.
    3. Extract the contents of the tar file and run the install.sh installer script.
  4. (Optional) To verify that the vSphere Bitfusion client is activated, from the vSphere Bitfusion client, list the available GPUs on the vSphere Bitfusion servers by running the bitfusion list_gpus command.

What to do next

Start an application in the vSphere Bitfusion client. After the first run, the vSphere Bitfusion client joins the cluster. For example, start the nvidia-smi application by running the bitfusion run -n 1 -- nvidia-smi command.