Hybr®
Cloud Assert HomeDocs Home
2303
2303
  • Introduction
  • Features
    • Summary
    • Service Providers
      • Tenants Management
        • Tenant Onboarding
        • Tenant Portal Access for HYBR Admin
        • Tenant Portal Access for Support Users From Different Domain
        • Tenant Company Management
        • Company with AAD B2C
        • User Management
        • Subscriptions Management
        • Offers Management
        • Plans Management
      • Reseller Management
        • Reseller Offer
        • Reseller Plan
        • Onboarding a CSP Customer and Mapping it with Reseller
      • Billing
        • Credits
        • Microsoft CSP
        • Pricing Profile
          • Pricing Profiles Management
            • How to set Pricing List Import setting for meter
          • Update Pricing Profile from Excel
        • Cost Reset
      • Resource Management
        • Console connect requirements for imported VMs
        • Connection manager
          • Azure Stack Hub Connection Management
          • Azure
          • AWS
        • VM Template management
        • Param Spec
        • Network Management
        • Azure Integration
        • Policy Management
        • Linked Clone
        • Attach and detach networks
        • Delete Options
        • Backup
          • Veeam Backup Configuration
          • Scheduling a backup using Veeam
      • Microsoft CSP
        • MS CSP security consent process
        • Partner Center Refresh Token Expiry Alert
        • New Commerce Experience (NCE)
          • Transition from Legacy to NCE
        • Azure Reservation Management
        • Granular Delegated Admin Privileges
          • Bulk Transition of customers from DAP to GDAP
          • Default roles to be provided for relationship request.
      • Service Catalog
        • FAQ
      • Azure Stack Hub
        • Create and Publish Service Catalog offers
        • Configure Service Catalogue Plan
        • Pricing
        • Security Deposit for an Azure Stack Hub Offer
      • Customization
      • Administration
        • Application Settings
        • Admin Portal Access for Support Users
    • Business Intelligence Dashboards & Reports
      • Dashboards
      • Reports
        • Schedule Reports
    • Reseller
      • Customers Management
        • Customer Onboarding
        • Plans
        • Offers
      • Billing
        • Pricing Profile Management
    • Customer
      • Subscriptions
      • Resource Management
        • Virtual Machines
        • Connect a VM using browser
        • Virtual Networks
        • Resource Templates
        • Resource Groups
      • Microsoft CSP
        • CSP Operations and Status tracking
      • Software-Defined Network (SDN)
      • Company Registration
    • Cloud Cost Management
      • Cloud Dashboards
        • Azure Invoice Comparision
      • Collaborations
      • Resource Tagging
        • Data Processing Rules
      • Cost Allocations & Budgeting
        • Budgeting
      • Recommendations
      • Reconcilation
      • Getting started
        • Kubernetes
        • Azure
        • AWS
        • GCP
        • Tenant Company Creation
  • Advanced Guides
    • CSP Customers with Resellers
  • API Documentation
    • External Integration and API Documentation Overview
    • External Webhook Integration
    • Zapier Integration
      • External application events which trigger event in Hybr
      • Event in Hybr which trigger external Application
  • Support
    • How do I contact support?
    • How do I share feedback?
    • Roadmap
    • Changelog
  • On-Prem Installation
    • Architecture
    • Prerequisites
      • Infrastructure
        • Production
        • POC
      • Identity Providers
        • AAD B2C
        • Microsoft Entra ID
        • ADFS
      • Services
        • VConnect
        • Workflow
        • Microsoft CSP
        • Remote connect using Guacamole
          • Apache Guacamole Setup
          • Troubleshoot
          • Support Links
          • Guacamole Pre-Requisites
        • Console connect for VCenter V7
          • Pre-Requisites
          • Configurations for Nginx (Reverse Proxy Server)
          • Troubleshoot
          • Supporting Commands / Configurations
      • Ports Requirements
    • Deployment
      • Core Components
      • VConnect
      • Billing
    • Configuration
      • Billing
        • Custom Invoice
        • Multilingual Support
      • Cost Management
        • General
    • Updates
      • Billing
      • Cost Management
    • Infrastructure & Application Security - Recommendations
Powered by GitBook
On this page
  • Option 1: Assign ports using Hybr portal
  • Option 2: PowerShell script to assign the ports for multiple VM's:

Was this helpful?

  1. Features
  2. Service Providers
  3. Resource Management

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.

PreviousResource ManagementNextConnection manager

Last updated 1 year ago

Was this helpful?

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.

Single or a few VMs

  1. Ports can be manually assigned for VMs one by one using Hybr Admin portal.

  2. VM needs to be stopped and started s VCenter requires this process to

Bulk port assignments

  1. PowerShell script can be used to bulk assign the ports for multiple VMs.

  2. 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).

Option 1: Assign ports using Hybr portal

  • 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.

Option 2: PowerShell script to assign the ports for multiple VM's:

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.

VCONNECT.EXE DownloadAvailableConsolePorts <connectionId:Int32> [/VConnectApiEndpoint:<String>] 
[/VConnectApiUserName:<String>] [/VConnectApiPassword:<String>]  

Example:

  • Open the shared AllocateVCenterRemoteConsoleConnectPorts-Updated.ps1 PowerShell script in notepad++ and give the required parameters as below.

$HostServerName = '-Vcenter server name-' 
$HostServerPort = 443 
$username = '- Vcenter Username-' 
$password = '- Vcenter password-' 
$Cluster = '-CLUSTERNAME-' 
$Datacenter = '-DATACENTERNAME-' 
$csvFile = '- Path to AvailabeConsoleConnect.csv generated in previous step-' 
$outputcsvfile = 'Path to save the allocated ports for the VM in an output file'  
  • 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.

➡️
➡️
➡️