Ways to Access VM Instances
PreviousVM instance is deleted from OpenStack, but not from the underlying host causing IP duplicationNextError While Applying Cinder Role to Rocky Linux Hosts
Last updated
How to access the VM Instances?
Platform9 Managed OpenStack - v5.4 and Higher
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
Info
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)
To access the CLI, run the below command, with correct VM ID:
Info
Please note that the second method will allow access to all virtual machines, regardless of the operating system they are running.
Last updated
sudo virsh listsudo virsh console <VM ID>