Console connect requirements for imported VMs
This document helps you with the requirements for connecting a VM using console connect for the VMs imported from VCenter to Hybr.
Last updated
This document helps you with the requirements for connecting a VM using console connect for the VMs imported from VCenter to Hybr.
Last updated
Hybr lets you connect to a VM using console connect. To make use of this feature, a set of pre-requisites needs to be followed. One of the main requirements is to assign ports to the VM properties. This is done automatically by Hybr for VMs created from the admin portal. In case, if you have imported one or more VMs, the ports have to assigned manually.
For VMs not created from Hybr and imported using connection sync, please follow the steps below.
There are 2 ways to assign the console ports to the imported VM’s.
Ports can be manually assigned for VMs one by one using Hybr Admin portal.
VM needs to be stopped and started s VCenter requires this process to
PowerShell script can be used to bulk assign the ports for multiple VMs.
VM needs to be stopped and stopped (This is a requirement from VCenter to make this port available for console connect).
VM needs to be stopped and started. (This is a requirement from VCenter to make this port available for console connect).
Login to Hybr Admin portal
VConnect
Connections
VCenter
Drill down into the respective Connection
Navigate to the Virtual Machines
tab.
Click on the Edit button and provide available the Port number (port range between 1000-9999 and 50000 – 50999)
Restart the VM and try to connect using console connect option.
To get all the available console ports, run the below command in PowerShell window (in admin mode) where the VConnect Tools is present. AvailabeConsoleConnect.csv will be generated in the same directory.
Open the shared AllocateVCenterRemoteConsoleConnectPorts-Updated.ps1
PowerShell script in notepad++ and give the required parameters as below.
Save the script and execute in PowerShell from the machine which has access to the VCenter.
Restart the VMs.
Once restarted, perform 'Sync console ports' button in Hybr admin portal --> VConnect --> Connections --> Choose a connection --> Console Ports tab.
VM needs to be stopped and started. This is a requirement from VCenter to make this port available for console connect.