Jump to: navigation, search

Difference between revisions of "Start"

 
Line 5: Line 5:
 
This version is modified from SAMSUNG sds<br />
 
This version is modified from SAMSUNG sds<br />
 
If you start the instance after stop, the instance will started at optimal Compute host.<br />  
 
If you start the instance after stop, the instance will started at optimal Compute host.<br />  
The selected host is through the nova-scheduler.<br />
+
The selected host is through the nova-scheduler.<br /><br />
  
<big>Before Logic <br /></big>
+
<big><Before Logic><br /></big>
 
1. Do not use the scheduler originally in start logic of Openstack Nova<br />
 
1. Do not use the scheduler originally in start logic of Openstack Nova<br />
 
2. Start on the host where the instance is created<br />
 
2. Start on the host where the instance is created<br />
 
[[File:2013-08-13 11.04.56.png]]
 
[[File:2013-08-13 11.04.56.png]]
  
<big>After<br /></big>
+
<big><After Logic><br /></big>
 +
1. When the stopped instance start, Changed to start from the hosts that is selected by nova-scheduler<br />
 +
2. When the VM starts, Check the resources through check_resource_limit()<br />
 
[[File:2013-08-13 11.05.01.png]]
 
[[File:2013-08-13 11.05.01.png]]
 +
 +
 +
<big>Pros<br /></big>
 +
- You can use resources efficiently <br />
 +
- When you start a virtual machine, You can solve the problem that is error caused by the lack of resources on a host.<br /><br />
 +
 +
<big>This is a sequence diagram. This logic already implemented in Folsom Logic at Samsung SDS</big><br />
  
 
[[File:Folsom start sequence diagram.png]]
 
[[File:Folsom start sequence diagram.png]]

Latest revision as of 07:45, 13 August 2013

Start by Nova-Scheduler

This is a new start logic.
This is slightly different from the original version.
This version is modified from SAMSUNG sds
If you start the instance after stop, the instance will started at optimal Compute host.
The selected host is through the nova-scheduler.

<Before Logic>
1. Do not use the scheduler originally in start logic of Openstack Nova
2. Start on the host where the instance is created
2013-08-13 11.04.56.png

<After Logic>
1. When the stopped instance start, Changed to start from the hosts that is selected by nova-scheduler
2. When the VM starts, Check the resources through check_resource_limit()
2013-08-13 11.05.01.png


Pros
- You can use resources efficiently
- When you start a virtual machine, You can solve the problem that is error caused by the lack of resources on a host.

This is a sequence diagram. This logic already implemented in Folsom Logic at Samsung SDS

Folsom start sequence diagram.png