ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Speidel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-6275) Add support for "add hosts" with Blueprints API
Date Tue, 21 Oct 2014 23:47:34 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-6275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14179335#comment-14179335
] 

John Speidel commented on AMBARI-6275:
--------------------------------------

Sorry for the lack of formatting in my previous comment, I don't have privileges to edit my
post :(
Here are the same examples formatted.

Case 1: specify an existing host that will be "cloned" with regards to components/configuration
{code}
"host_groups" : [
  {
    "hosts" : [
      { 
          "fqdn" : "192.168.1.2" 
      },
      { 
          "fqdn" : "192.168.1.3" 
      }
    ],
    "host_to_clone" : "existingHost.foo.com"
  }
]
{code}
Case 2: Specify a blueprint/hostgroup from which to obtain the component set for the new host(s)
{code}
"host_groups" : [
  {
    "hosts" : [
      { 
          "fqdn" : "192.168.1.2" 
      },
      { 
          "fqdn" : "192.168.1.3" 
      }
    ],
    "blueprint" : "myBlueprint",
    "host_group" : "slaves"
  }
]
{code}


> Add support for "add hosts" with Blueprints API
> -----------------------------------------------
>
>                 Key: AMBARI-6275
>                 URL: https://issues.apache.org/jira/browse/AMBARI-6275
>             Project: Ambari
>          Issue Type: Improvement
>          Components: ambari-server
>    Affects Versions: 1.7.0
>            Reporter: Yusaku Sako
>            Assignee: John Speidel
>             Fix For: 2.0.0
>
>
> Support for "adding hosts" based on *blueprint* style *host_group* via Ambari REST API.
There are two scenarios to consider for this JIRA:
> 1) Add hosts based on an existing host in the cluster (and it's *blueprint* style *host_group*
component layout). This enables the user to add hosts with components similar to existing
hosts in the cluster. For example: expand this cluster with these X hosts and make each of
these hosts like Y host (components + configs) existing in the cluster.
> 2) Add hosts based on components + configs. This would be a verbose method that uses
*blueprint* style *host_groups* and *configs* to allow you to add hosts to a cluster that
do not necessarily have a component layout or config of a similar host existing in the cluster.
For example: expand this cluster with these X hosts and make each of these hosts include Y
components with Z configs. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message