License information/doubt

security

(Tim Dunphy) #1

After setting up the elastic shield in cluster I applied license in master node .
Now to see the license information in master node I typed in the elsaticsearch URL and port 9200

curl --user adminuser  http://localhost:9200/_licenses
Enter host password for user 'adminuser':
{
  "licenses" : [ {
    "status" : "active",
    "uid" : "LongUUID",
    "type" : "subscription",
    "subscription_type" : "gold",
    "issue_date" : "2015-06-25T00:00:00.000Z",
    "issue_date_in_millis" : 1435190400000,
    "feature" : "shield",
    "expiry_date" : "2016-07-16T23:59:59.999Z",
    "expiry_date_in_millis" : 1468713599999,
    "max_nodes" : 3,
    "issued_to" : "MyCompany Inc",
    "issuer" : "Bob Barker"
  }, {
    "status" : "active",
    "uid" : "aLongUUID",
    "type" : "subscription",
    "subscription_type" : "gold",
    "issue_date" : "2015-06-25T00:00:00.000Z",
    "issue_date_in_millis" : 1435190400000,
    "feature" : "watcher",
    "expiry_date" : "2016-07-16T23:59:59.999Z",
    "expiry_date_in_millis" : 1468713599999,
    "max_nodes" : 3,
    "issued_to" : "MyComanpy, Inc",
    "issuer" : "Bob Barker"
  } ]
}

I have not applied the license in other two nodes of the cluster ,but when I try to get the license information for them using URL http://x.x.xx.xxxx:9200/_licenses and http://x.x.xx.xxx:9200/_licenses I can see the license information there too

So I am not sure if Its fine to just apply the shield license in master server?

I have this confusion because we have installed shield in all the nodes and hence I feel the license should also be applied in all the nodes.


(Steve Kearns) #2

Hi Tim,

You are safe, though I can see how it can be confusing :slight_smile:

The license information is automatically distributed across the cluster, so you only need to add the license to the cluster one time.


(Tim Dunphy) #3

Cool! Thanks for the clarification. :smile:

Tim


(system) #4