Ask Your Question
0

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

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

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

Comments

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

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

I've consulted HK. It was not AIO RDO install . I've also provided a sample of answer-file for multi node deployment http://lxer.com/module/newswire/view/...

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

1 answer

Sort by ยป oldest newest most voted
1

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

dbaxps gravatar image

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

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 192.168.1.53) open ports 5900-6000, on any remote host set up tunnelling VNC over SSH

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

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

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

Comments

Can you please give steps to connect to Qemu ?

HK gravatar imageHK ( 2015-04-06 13:51:10 -0500 )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 -0500 )edit
1

How connect to Qemu : https://help.ubuntu.com/community/KVM...
Just replace "apt-get install" with "yum install"

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

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 -0500 )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 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 468 times

Last updated: Apr 06 '15