Ways to Access VM Instances

Problem

How to access the VM Instances?

Environment

  • Platform9 Managed OpenStack - v5.4 and Higher

Answer

There are two ways to access VM Instances.

1. Access through Console from Clarity UI.

Please follow the steps mentioned in the knowledge base article: https://platform9.com/docs/openstack/virtual-machines-access-instances-via-console

Please note that while accessing the VM from the console, it will display either a graphical user interface (GUI) or a command-line interface (CLI) based on the below configuration/s:

  • Operating System.
  • Runlevel/target at which the OS is operating.

For the Virtual Machine (VM) with a graphical user interface (GUI), the console will automatically open the GUI access. However, to access the VM through the console using the command-line interface (CLI), adjust the system configuration accordingly. Specifically, configure the system to operate at runlevel 3/multi-user.target.

2. Access through CLI.

Please follow the below steps:

  • SSH to the hypervisor.
  • Run the below command: (This will list all running VMs on the hypervisor)
bas
Copy
  • To access the CLI, run the below command, with correct VM ID:
Bash
Copy

Please note that the second method will allow access to all virtual machines, regardless of the operating system they are running.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard