Jump to: navigation, search

Difference between revisions of "Sahara/ClusterHA"

(User stories)
(Implementation)
Line 13: Line 13:
  
 
==Implementation==
 
==Implementation==
* Scheduler should call the compute manager to rebuild the instance.
+
# Check the cluster status
* Compute Manager should get a list of dictionaries of network data of an instance.
+
* Instance (is up? accessible?)
* Compute Manager should update the volume db and instance db.
+
* Volume creation, attachment and mount
* Compute Manager should setup volumes for block device mapping by using the volume manager.
+
* ambari server/agent installment and configuring
* Compute Manager should spawn the instance by using the virt driver.  
+
# If the error is generated, below steps will be done.
* Compute Manager should associate the floating ip by using the network manager.
+
* Update the DB which is used by ClusterHA module. (Table name: ClusterHA)
* Compute Manager should update the instance db.
+
* Delete a Instance
* Compute Manager should restart the network module.
+
* Detach a volume and deleting a volume
 +
* Jump to return the value (cluter_id, status)
 +
# Resume cluster creation
  
 
==Code Changes==
 
==Code Changes==

Revision as of 06:40, 10 September 2013

Sumarry

It Shall provided system level HA. So even if a component fails during Hadoop provisioning, the system shall be able to complete the Hadoop provisioning without defect or error.

Release Note

When this is implemented, the system shall be able to complete the Hadoop provisioning without defect or error.

User stories

  1. Operator gets the list of failed Cluster through savanna web
  2. Operator clicks the resume icon
  3. The cluster will be rereated by using this operation.

Design

Implementation

  1. Check the cluster status
  • Instance (is up? accessible?)
  • Volume creation, attachment and mount
  • ambari server/agent installment and configuring
  1. If the error is generated, below steps will be done.
  • Update the DB which is used by ClusterHA module. (Table name: ClusterHA)
  • Delete a Instance
  • Detach a volume and deleting a volume
  • Jump to return the value (cluter_id, status)
  1. Resume cluster creation

Code Changes

Test/Demo Plan

This need not be added or completed until the specification is nearing beta. 

Unresolved issues

TBD