To create a vContainer host, you must create a virtual machine (VM) instance for it on a server that is running hypervisor software. This article describes how to create a VM on a server running the VMware vSphere ESXi Hypervisor software. You can also create the VM on a server running the Kernel-based Virtual Machine (KVM) Hypervisor software or on Amazon AWS.
To create a vContainer VM on the ESXi hypervisor:
- Launch the vSphere Client and create a vContainer VM.
- Start the vContainer VM instance and connect to the console.
The details of each step are provided below.
If you are using the VMware vCenter Server to create the vContainer host, follow the same procedure. Note, however, that the vCenter Server screens look different than the vSphere Client screens shown in the procedure below.
Launch vSphere Client and Create a vContainer VM
- Launch the VMware vSphere Client application, and enter the IP address or name of the EXSi server, your username, and your password. Click Login to log in to the ESXi server.
The system displays the ESXi screen.
- Download the vContainer host .vmdk file from the Software Center release folder in the Viptela support portal at viptela.com/support and copy it to the Datastore of the ESXi server:
- In the left pane, select the IP address or hostname of the ESXi server.
- In the right pane, click the Summary tab. Then right-click on Storage and select Browse Datastore.
- In the Datastore Browser screen, select the root folder listed in the left pane.
- Click the new folder icon located above the Search tab to create a folder for the vContainer host image.
- In the New Folder popup screen, enter the name of the folder.
- Click OK.
- Locate and then select the folder you just created.
- Click the Upload icon located above the Search tab, and select Upload File.
- Select the .vmdk file and click Open.
- In the Upload/Download Operation Warning message, click Yes. The .vmdk file uploads.
- The .vmdk file is now in the folder you created. In the File menu, select New ► Virtual Machine to create the vContainer VM.
- In the Create New Virtual Machine screen, select Custom. Then click Next.
- In the Create New Virtual Machine screen, enter the name of the vContainer host. Then click Next.
- In the Storage screen, select the storage drive if not already selected. Then click Next.
- In the Virtual Machine Version screen, select Virtual Machine Version: 8. Then click Next.
- In the Guest Operating System screen, select Other.
- In the Version drop-down, select Other (64-bit).
- Click Next.
- In the CPUs screen, select the required number of virtual sockets and number of cores per virtual socket. Then click Next.
- In the Memory screen, select the desired amount of memory for the vContainer host. The minimum required memory is 2 GB. Then click Next.
- In the Network screen, select the number of NICs you want to connect. You must connect at least three NICs.
- In the NIC fields, select the appropriate network for each NIC. NIC1 is for the management of the vContainer host and must be part of the corresponding network. NIC2 must be part of the management network for the vSmart controllers to be configured in the vContainer host. NIC3 must be part of the transport network for the vSmart controllers.
- In the Adapter fields, select the appropriate adapters that are available on the ESXi server.
- Ensure that the Connect at Power On check boxes are selected.
- Click Next.
- In the SCSI Controller screen, ensure that LSI Logic Parallel is selected for the SCSI controller. Then click Next.
- In the Select a Disk screen, select Use an existing virtual disk. Then click Next.
- In the Select Existing Disk screen, click Browse to upload the .vmdk file that you downloaded from the Viptela support portal in Step 2.
- Click OK.
- Then click Next.
- In the Advanced Options screen, ensure that the Virtual Device Node value is IDE (0:0). Then click Next.
- In the Ready to Complete screen, select Edit the virtual machine settings before completion. Then click Continue.
- In the Virtual Machine Properties screen, click Add.
- In the Add Hardware ► Device Type screen, select Hard Disk for the type of device you wish to add. Then click Next.
- In the Add Hardware ► Select a Disk screen, select Create a new virtual disk. Then click Next.
- In the Add Hardware ► Create a Disk screen, select the appropriate disk size. This disk is configured a second partition of the vContainer host and is used to store all vSmart controller images. The minimum size of this partition is 10 GB.
- For Disk Provisioning, select Thick Provision Lazy Zeroed.
- For Location, select Store with the virtual machine.
- Click Next.
- In the Add Hardware ► Advanced Options screen, for Virtual Device Node, select IDE (0:1). Then click Next.
- In the Ready to Complete screen, click Finish.
- In the Virtual Machine Properties screen, click Finish.
The system has successfully created the VM instance with the parameters you just defined and displays the vSphere Client screen with the Getting Started tab selected.
Start the vContainer VM Instance and Connect To the Console
- In the left navigation bar of the vSphere Client, select the virtual machine instance you just created, and click Power on the virtual machine. The vContainer VM is powered on.