Ask Your Question
0

extending Nova

asked 2014-10-28 19:59:32 -0600

sushilb gravatar image

Hello,

I want to do a develop a basic functionality which can basically talk between 2 different openstack Clouds.

Scenario:- A user logs in cloud A and try to create a VM. The cloud A checks the resources and finds that it does not have enough resources. In this case the Cloud A sends a request to another Cloud B for resources. Cloud B caters the request and creates the VM and sends the details for login to USER. BOTH CLOUDS ARE BASED ON OPENSTACK

Solution what I Think User logs in Cloud A and then NOVA of CLOUD A sends the request to CLOUD B to create the VM's.

Can anyone suggest is it a good solution or there is some other solution? If the above solution is good enough than i have below questions:-

a) How can i understand the functionality of NOVA. b) Where should I start to understand the NOVA at coding level. c) Can I just test the NOVA functionality without setting up the whole cloud thing i.e. on my laptop and store the request in some file to check whether what ever code i have made is working fine. d) Which nova component is the best one to take this task.

Looking forward for your response.

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-10-29 03:05:45 -0600

trung-t-trinh gravatar image

updated 2014-10-29 03:07:22 -0600

Your scenario is involved with "Scaling". You want to have some kind of redundancy for Cloud. All your questions/confusions can be answered/made clear at the following links:

  1. http://docs.openstack.org/openstack-o...
  2. http://kimizhang.wordpress.com/2013/0...

At first, you should read the general architecture of OpenStack ( http://www.openstack.org/software/ ). After that, you can concentrate on Nova as your interest (google with "openstack nova doc"). These docs will guide you how to setup a development environment of Nova. Finally, you can view Nova source code, make some modification and run its Unit-Test.

Last but not least, it's the good way to use DevStack ( http://docs.openstack.org/developer/d... ) to install/deploy OpenStack that can be run in a virtual machine on your own laptop.

Nova/virt/libvirt is one of the hot components because it's responsible to create the VMs.

edit flag offensive delete link more

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: 2014-10-28 19:59:32 -0600

Seen: 258 times

Last updated: Oct 29 '14