How to view VM's on Compute Node and add load on them ?

asked 2015-04-06 12:48:43 -0600

HK gravatar image

I am using CentOS 7 and have installed openstack using packstack answer-file. My openstack configuration has a controller node and 2 compute nodes.

I can view the VM deployed on the compute node from the Horizon Dashboard on the controller but how can i view the VM's deployed on the compute node from the compute node itself ?

Also how can i add load to the VM's ?

edit retag flag offensive close merge delete


how did you install packstack was it an all in one install?

omar-munoz gravatar imageomar-munoz ( 2015-04-06 13:04:59 -0600 )edit

I've consulted HK. It was not AIO RDO install . I've also provided a sample of answer-file for multi node deployment

dbaxps gravatar imagedbaxps ( 2015-04-06 13:31:34 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-04-06 13:11:34 -0600

dbaxps gravatar image

updated 2015-04-06 13:25:33 -0600

Just install Virt-Manager on Compute Node && connect to Qemu.

Openstack VM is KVM viewable via virsh,vncviewer,virt-manager
either remotely or locally ( doesn't matter)

Moreover you can see your VMs from any location having ssh connection to Compute Node.
On Compute node (for instannce having IP open ports 5900-6000, on any remote host set up tunnelling VNC over SSH

ssh -L 5900: -N -f -l root
ssh -L 5901: -N -f -l root
ssh -L 5902: -N -f -l root
.  .  .  .  .  .

on remote machine run to open VNC session with VM running on Compute node :-

$ vncviewer localhost:590(X).
edit flag offensive delete link more


Can you please give steps to connect to Qemu ?

HK gravatar imageHK ( 2015-04-06 13:51:10 -0600 )edit

Also suggest how can i add load to VM's ? Can I put load on it from the controller or the compute node ? Please elaborate.

HK gravatar imageHK ( 2015-04-06 13:57:39 -0600 )edit

How connect to Qemu :
Just replace "apt-get install" with "yum install"

dbaxps gravatar imagedbaxps ( 2015-04-06 14:11:36 -0600 )edit

You are supposed to launch Openstack Juno VMs only via Horizon dialog ( or Nova CLI ) from Controller Node. No way else.

dbaxps gravatar imagedbaxps ( 2015-04-06 14:14:37 -0600 )edit

To invoke VirtManager on CentOS 7.X you have to understand how Gnome 3 works. Hopefully, on CentOS 7.X it will appear in drop down menu in left upper corner. Regarding connection to Qemu provided link would work.

dbaxps gravatar imagedbaxps ( 2015-04-06 14:21:32 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-04-06 12:48:43 -0600

Seen: 615 times

Last updated: Apr 06 '15