How to reinstall X-Pack?


(Sitanxin) #1

Hi Team,

We are using X-Pack now. But after we follow the instructure to uninstall and install it again, we found the license issue date. So if we want to keep using the X-Pack till the actual license purchase, how to do?

Before

{
  "license" : {
    "status" : "active",
    "uid" : "38e6d6bb-8619-45b4-ac50-f38f006942ff",
    "type" : "trial",
    "issue_date" : "2016-11-17T03:49:34.858Z",
    "issue_date_in_millis" : 1479354574858,
    "expiry_date" : "2016-12-17T03:49:34.858Z",
    "expiry_date_in_millis" : 1481946574858,
    "max_nodes" : 1000,
    "issued_to" : "elk5-es-poc-cluster-dev",
    "issuer" : "elasticsearch",
    "start_date_in_millis" : -1
  }
}

After

{
  "license" : {
    "status" : "active",
    "uid" : "38e6d6bb-8619-45b4-ac50-f38f006942ff",
    "type" : "trial",
    "issue_date" : "2016-11-17T03:49:34.858Z",
    "issue_date_in_millis" : 1479354574858,
    "expiry_date" : "2016-12-17T03:49:34.858Z",
    "expiry_date_in_millis" : 1481946574858,
    "max_nodes" : 1000,
    "issued_to" : "elk5-es-poc-cluster-dev",
    "issuer" : "elasticsearch",
    "start_date_in_millis" : -1
  }
}

(David Pilato) #2

You can ask sales at elastic dot co to extend your trial period.
You can also remove the data dir (which will remove all existing data) and start again elasticsearch.


(Sitanxin) #3

Hi @dadoonet,

So do you mean if we Delete all the data from ES and restart, it will auto extend the license?


(Sitanxin) #4

About the "data dir", can we use
curl -XDELETE -u elastic:changeme 'http://Host:Port/*'
to do the same way?


(David Pilato) #5

I meant that if you start a new empty cluster with the license plugin it will be considered as a trial license starting from today.

Remove all indices won't work.

If you want to go that way (again it will remove all existing stuff you did):

  • shutdown all you nodes
  • on each node, remove the data dir rm -r data
  • start again the nodes

It's exactly the same thing as provisioning a new machine and installing everything from scratch.


(Chris Wu) #6

Hi Guys,

Is the X-PACK free to use or under trial license? If it is the latter, where can I find the expired date?

thanks.

Cheers,
Chris


(David Pilato) #7

When you start it, it tells you when the expiration date is in logs.

You have a trial but you can ask for a free basic license which gives you access to monitoring and profiling UI.

See https://www.elastic.co/subscriptions


(system) #8

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.