VM-based Setup on ESXi
- 08 Sep 2023
- 1 Minute to read
- Print
- DarkLight
- PDF
VM-based Setup on ESXi
- Updated on 08 Sep 2023
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
About his Article
This article provides environment setup steps for deploying VSP on ESXi VM.
Pre-requisites
Refer the article VM for information on hardware requirements and the list of the ports utilized by VSP components for Network Security group settings.
OVF Deployment
Once the OVA file with the above minimum configuration is procured, follow the steps below to deploy the virtual Machine via VMware vSphere / vCenter Server
- Log in to the VMware vSphere Web Client and navigate to the tab VMs
- Navigate to Actions and click Deploy OVF Template
- Select Local file and click UPLOAD FILES to upload the the required OVA file from the local system. Click NEXT
- Provide the Virtual Machine Name and select the location for VM deployment. Click NEXT
- Select the resource to be utilized for VM deployment. Click NEXT
- Review the package information that consists of advanced configuration options. Click NEXT to accept them
- Select the required storage location from the datastore list. Select Thin Provision and click NEXT
- Select the required destination network from the dropdown list for each source network. Click NEXT
- Review the configuration data and click FINISH
- The system imports and deploys the OVA file. Once the import is complete, click Refresh to update the system. It is listed in the center pane. Select the VM and click Power On
- Once the VM is powered on, click Launch Web Console icon to open the VM in a new window
- Once logged in, change the IP Address of the VM (if required)
Installation
- Log in to the two newly created machines using SSH and install Docker and Docker Compose using the commands below:
sudo su subscription-manager register --username <username> --password <password> --auto-attach #Register the machine with the Red Hat subscription to download dependencies yum update subscription-manager repos --enable=rhel-7-server-rpms --enable=rhel-7-server-extras-rpms --enable=rhel-7-server-optional-rpms yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum install -y yum-utils device-mapper-persistent-data lvm2 yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo yum install docker-ce systemctl enable --now docker.service curl -L "https://github.com/docker/compose/releases/download/1.29.x/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose mv /usr/local/bin/docker-compose /usr/bin/
- Verification: Execute the commands below to verify the Docker and Docker Compose versions:
docker version docker-compose version
Was this article helpful?