# Marvel license file/order number baked into a container

**URL:** https://discuss.elastic.co/t/marvel-license-file-order-number-baked-into-a-container/20130
**Category:** Elasticsearch
**Created:** [October 8, 2014, 4:12am UTC](https://discuss.elastic.co/t/marvel-license-file-order-number-baked-into-a-container/20130 "2014-10-08T04:12:19Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Daniel\_Schonfeld](https://avatars.discourse-cdn.com/v4/letter/d/b4bc9f/32.png) [@Daniel\_Schonfeld](https://discuss.elastic.co/u/Daniel_Schonfeld)
#### Post date: [October 8, 2014, 4:12am UTC](https://discuss.elastic.co/t/marvel-license-file-order-number-baked-into-a-container/20130/1 "2014-10-08T04:12:19Z")

</div>

Hello,

We have recently purchase our Marvel license, but everytime we restart our  
cluster it asks us for the order number again. We use docker and so our  
containers are immutable.

Is there a file or something we can change in the filesystem that will bake  
the license key into the container?

Thanks!

Daniel Schonfeld

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/f41213d5-71a0-4c49-8daf-04a352e2c208%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f41213d5-71a0-4c49-8daf-04a352e2c208%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Boaz\_Leskes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/boaz_leskes/32/723_2.png) [@Boaz\_Leskes](https://discuss.elastic.co/u/Boaz_Leskes)
#### Post date: [October 9, 2014, 9:46am UTC](https://discuss.elastic.co/t/marvel-license-file-order-number-baked-into-a-container/20130/2 "2014-10-09T09:46:52Z")

</div>

Hi Daniel,

When you restart the cluster, do you also wipe all content? The marvel  
license should persist once entered but if you clean the data folder, that  
will go away as well.

Cheers,  
Boaz

On Wednesday, October 8, 2014 6:12:19 AM UTC+2, Daniel Schonfeld wrote:

> Hello,
> 
> We have recently purchase our Marvel license, but everytime we restart our  
> cluster it asks us for the order number again. We use docker and so our  
> containers are immutable.
> 
> Is there a file or something we can change in the filesystem that will  
> bake the license key into the container?
> 
> Thanks!
> 
> Daniel Schonfeld

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b602e1d0-3e30-496d-943f-259a19e33dfa%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b602e1d0-3e30-496d-943f-259a19e33dfa%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Daniel\_Schonfeld](https://avatars.discourse-cdn.com/v4/letter/d/b4bc9f/32.png) [@Daniel\_Schonfeld](https://discuss.elastic.co/u/Daniel_Schonfeld)
#### Post date: [October 9, 2014, 4:06pm UTC](https://discuss.elastic.co/t/marvel-license-file-order-number-baked-into-a-container/20130/3 "2014-10-09T16:06:36Z")

</div>

Hi Boaz,

No the data folder is persisted. And with it i have all my cluster and  
indices data... but for some reason marvel asks for the license/order  
number again.

Is there a file I can check for in my data folder?

Thanks!  
Daniel

On Thursday, October 9, 2014 5:46:52 AM UTC-4, Boaz Leskes wrote:

> Hi Daniel,
> 
> When you restart the cluster, do you also wipe all content? The marvel  
> license should persist once entered but if you clean the data folder, that  
> will go away as well.
> 
> Cheers,  
> Boaz
> 
> On Wednesday, October 8, 2014 6:12:19 AM UTC+2, Daniel Schonfeld wrote:
> 
> > Hello,
> > 
> > We have recently purchase our Marvel license, but everytime we restart  
> > our cluster it asks us for the order number again. We use docker and so  
> > our containers are immutable.
> > 
> > Is there a file or something we can change in the filesystem that will  
> > bake the license key into the container?
> > 
> > Thanks!
> > 
> > Daniel Schonfeld

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/e4db266f-03d7-40b6-ae77-29262e155492%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e4db266f-03d7-40b6-ae77-29262e155492%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Boaz\_Leskes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/boaz_leskes/32/723_2.png) [@Boaz\_Leskes](https://discuss.elastic.co/u/Boaz_Leskes)
#### Post date: [October 9, 2014, 6:39pm UTC](https://discuss.elastic.co/t/marvel-license-file-order-number-baked-into-a-container/20130/4 "2014-10-09T18:39:04Z")

</div>

That's weird. You should for the content of the .marvel-kibana index. That's where it stored when you enter your license info in the UI.

Is the Marvel UI allowed to post back to ES? If that's blocked it may explain things. Normally you will get a message from Marvel instructing you how to add the license from the command line.

> On 9 okt. 2014, at 6:06 p.m., Daniel Schonfeld [downwindabeam@gmail.com](mailto:downwindabeam@gmail.com) wrote:
> 
> Hi Boaz,
> 
> No the data folder is persisted. And with it i have all my cluster and indices data... but for some reason marvel asks for the license/order number again.
> 
> Is there a file I can check for in my data folder?
> 
> Thanks!  
> Daniel
> 
> > On Thursday, October 9, 2014 5:46:52 AM UTC-4, Boaz Leskes wrote:  
> > Hi Daniel,
> > 
> > When you restart the cluster, do you also wipe all content? The marvel license should persist once entered but if you clean the data folder, that will go away as well.
> > 
> > Cheers,  
> > Boaz
> > 
> > > On Wednesday, October 8, 2014 6:12:19 AM UTC+2, Daniel Schonfeld wrote:  
> > > Hello,
> > > 
> > > We have recently purchase our Marvel license, but everytime we restart our cluster it asks us for the order number again. We use docker and so our containers are immutable.
> > > 
> > > Is there a file or something we can change in the filesystem that will bake the license key into the container?
> > > 
> > > Thanks!
> > > 
> > > Daniel Schonfeld
> 
> --  
> You received this message because you are subscribed to a topic in the Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit [https://groups.google.com/d/topic/elasticsearch/UzvDQObssCM/unsubscribe](https://groups.google.com/d/topic/elasticsearch/UzvDQObssCM/unsubscribe).  
> To unsubscribe from this group and all its topics, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/e4db266f-03d7-40b6-ae77-29262e155492%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e4db266f-03d7-40b6-ae77-29262e155492%40googlegroups.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/47B2B069-2C9C-44ED-80EA-38A0EB9EDC29%40gmail.com](https://groups.google.com/d/msgid/elasticsearch/47B2B069-2C9C-44ED-80EA-38A0EB9EDC29%40gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Daniel\_Schonfeld](https://avatars.discourse-cdn.com/v4/letter/d/b4bc9f/32.png) [@Daniel\_Schonfeld](https://discuss.elastic.co/u/Daniel_Schonfeld)
#### Post date: [October 10, 2014, 7:13pm UTC](https://discuss.elastic.co/t/marvel-license-file-order-number-baked-into-a-container/20130/5 "2014-10-10T19:13:35Z")

</div>

Boaz,

.marvel-kibana now has a 'state-2' file inside it. and obv for now since i  
didnt restart or do anything of that nature i am not asked for the license  
details. I wonder if what I see is that .marvel-kibana is only stored with  
one primary and one replica and when i reload the cluster sometimes i  
happen to load the nodes first which dont have .marvel-kibana so thats why  
i get that question about the license.

Anyways, where would marvel should me how to add the license from the  
command line? I'd like to see that cause I haven't run into such a prompt  
yet.

Thanks!

On Thursday, October 9, 2014 2:40:58 PM UTC-4, Boaz Leskes wrote:

> That's weird. You should for the content of the .marvel-kibana index.  
> That's where it stored when you enter your license info in the UI.
> 
> Is the Marvel UI allowed to post back to ES? If that's blocked it may  
> explain things. Normally you will get a message from Marvel instructing you  
> how to add the license from the command line.
> 
> On 9 okt. 2014, at 6:06 p.m., Daniel Schonfeld \<[downwi...@gmail.com](mailto:downwi...@gmail.com)  
> \<javascript:\>\> wrote:
> 
> Hi Boaz,
> 
> No the data folder is persisted. And with it i have all my cluster and  
> indices data... but for some reason marvel asks for the license/order  
> number again.
> 
> Is there a file I can check for in my data folder?
> 
> Thanks!  
> Daniel
> 
> On Thursday, October 9, 2014 5:46:52 AM UTC-4, Boaz Leskes wrote:
> 
> > Hi Daniel,
> > 
> > When you restart the cluster, do you also wipe all content? The marvel  
> > license should persist once entered but if you clean the data folder, that  
> > will go away as well.
> > 
> > Cheers,  
> > Boaz
> > 
> > On Wednesday, October 8, 2014 6:12:19 AM UTC+2, Daniel Schonfeld wrote:
> > 
> > > Hello,
> > > 
> > > We have recently purchase our Marvel license, but everytime we restart  
> > > our cluster it asks us for the order number again. We use docker and so  
> > > our containers are immutable.
> > > 
> > > Is there a file or something we can change in the filesystem that will  
> > > bake the license key into the container?
> > > 
> > > Thanks!
> > > 
> > > Daniel Schonfeld
> > 
> > --  
> > You received this message because you are subscribed to a topic in the  
> > Google Groups "elasticsearch" group.  
> > To unsubscribe from this topic, visit  
> > [https://groups.google.com/d/topic/elasticsearch/UzvDQObssCM/unsubscribe](https://groups.google.com/d/topic/elasticsearch/UzvDQObssCM/unsubscribe).  
> > To unsubscribe from this group and all its topics, send an email to  
> > [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/e4db266f-03d7-40b6-ae77-29262e155492%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e4db266f-03d7-40b6-ae77-29262e155492%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/e4db266f-03d7-40b6-ae77-29262e155492%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/e4db266f-03d7-40b6-ae77-29262e155492%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/666c540a-bd09-477d-8a56-d3970d3ecba7%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/666c540a-bd09-477d-8a56-d3970d3ecba7%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Boaz\_Leskes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/boaz_leskes/32/723_2.png) [@Boaz\_Leskes](https://discuss.elastic.co/u/Boaz_Leskes)
#### Post date: [October 13, 2014, 12:47pm UTC](https://discuss.elastic.co/t/marvel-license-file-order-number-baked-into-a-container/20130/6 "2014-10-13T12:47:55Z")

</div>

> .marvel-kibana now has a 'state-2' file inside it. and obv for now since  
> i didnt restart or do anything of that nature i am not asked for the  
> license details. I wonder if what I see is that .marvel-kibana is only  
> stored with one primary and one replica and when i reload the cluster  
> sometimes i happen to load the nodes first which dont have .marvel-kibana  
> so thats why i get that question about the license.

The order in which you restart the nodes shouldn't really matter. Try  
searching `GET .marvel-kibana/_search` and see that you get the license  
document back?

> Anyways, where would marvel should me how to add the license from the  
> command line? I'd like to see that cause I haven't run into such a prompt  
> yet.

Marvel only shows it if it fails to save it to the cluster. If you want the  
command, it's not a problem but please reach out off list with your details.

On Fri, Oct 10, 2014 at 9:13 PM, Daniel Schonfeld [downwindabeam@gmail.com](mailto:downwindabeam@gmail.com)  
wrote:

> Boaz,
> 
> .marvel-kibana now has a 'state-2' file inside it. and obv for now since  
> i didnt restart or do anything of that nature i am not asked for the  
> license details. I wonder if what I see is that .marvel-kibana is only  
> stored with one primary and one replica and when i reload the cluster  
> sometimes i happen to load the nodes first which dont have .marvel-kibana  
> so thats why i get that question about the license.
> 
> Anyways, where would marvel should me how to add the license from the  
> command line? I'd like to see that cause I haven't run into such a prompt  
> yet.
> 
> Thanks!
> 
> On Thursday, October 9, 2014 2:40:58 PM UTC-4, Boaz Leskes wrote:
> 
> > That's weird. You should for the content of the .marvel-kibana index.  
> > That's where it stored when you enter your license info in the UI.
> > 
> > Is the Marvel UI allowed to post back to ES? If that's blocked it may  
> > explain things. Normally you will get a message from Marvel instructing you  
> > how to add the license from the command line.
> > 
> > On 9 okt. 2014, at 6:06 p.m., Daniel Schonfeld [downwi...@gmail.com](mailto:downwi...@gmail.com)  
> > wrote:
> > 
> > Hi Boaz,
> > 
> > No the data folder is persisted. And with it i have all my cluster and  
> > indices data... but for some reason marvel asks for the license/order  
> > number again.
> > 
> > Is there a file I can check for in my data folder?
> > 
> > Thanks!  
> > Daniel
> > 
> > On Thursday, October 9, 2014 5:46:52 AM UTC-4, Boaz Leskes wrote:
> > 
> > > Hi Daniel,
> > > 
> > > When you restart the cluster, do you also wipe all content? The marvel  
> > > license should persist once entered but if you clean the data folder, that  
> > > will go away as well.
> > > 
> > > Cheers,  
> > > Boaz
> > > 
> > > On Wednesday, October 8, 2014 6:12:19 AM UTC+2, Daniel Schonfeld wrote:
> > > 
> > > > Hello,
> > > > 
> > > > We have recently purchase our Marvel license, but everytime we restart  
> > > > our cluster it asks us for the order number again. We use docker and so  
> > > > our containers are immutable.
> > > > 
> > > > Is there a file or something we can change in the filesystem that will  
> > > > bake the license key into the container?
> > > > 
> > > > Thanks!
> > > > 
> > > > Daniel Schonfeld
> > > 
> > > --  
> > > You received this message because you are subscribed to a topic in the  
> > > Google Groups "elasticsearch" group.  
> > > To unsubscribe from this topic, visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > topic/elasticsearch/UzvDQObssCM/unsubscribe.  
> > > To unsubscribe from this group and all its topics, send an email to  
> > > [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > msgid/elasticsearch/e4db266f-03d7-40b6-ae77-29262e155492%  
> > > [40googlegroups.com](http://40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/e4db266f-03d7-40b6-ae77-29262e155492%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/e4db266f-03d7-40b6-ae77-29262e155492%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > .  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > You received this message because you are subscribed to a topic in the  
> > Google Groups "elasticsearch" group.  
> > To unsubscribe from this topic, visit  
> > [https://groups.google.com/d/topic/elasticsearch/UzvDQObssCM/unsubscribe](https://groups.google.com/d/topic/elasticsearch/UzvDQObssCM/unsubscribe).  
> > To unsubscribe from this group and all its topics, send an email to  
> > [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/666c540a-bd09-477d-8a56-d3970d3ecba7%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/666c540a-bd09-477d-8a56-d3970d3ecba7%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/666c540a-bd09-477d-8a56-d3970d3ecba7%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/666c540a-bd09-477d-8a56-d3970d3ecba7%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAKzwz0ru8LCfEiV1%3DmM9z-msypdAiW3LPBPcO4kiHnBCvp2-gA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKzwz0ru8LCfEiV1%3DmM9z-msypdAiW3LPBPcO4kiHnBCvp2-gA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![jpotisch](https://avatars.discourse-cdn.com/v4/letter/j/c77e96/32.png) [@jpotisch](https://discuss.elastic.co/u/jpotisch)
#### Post date: [April 29, 2015, 7:07pm UTC](https://discuss.elastic.co/t/marvel-license-file-order-number-baked-into-a-container/20130/7 "2015-04-29T19:07:21Z")

</div>

Hi Boaz. I know this is an old thread but I can't find anything newer and  
it seems very related to this issue.

Is there documentation anywhere on how to script installation of the  
license initially? We have not yet run Marvel in production and we do not  
allow manual steps in our deployment process. We'd like to be able to  
deploy Marvel to a completely clean box and have the license already  
present at the end of the deploy. Can you point me to an example curl  
(dummy values, obviously)?

On Monday, October 13, 2014 at 8:48:45 AM UTC-4, Boaz Leskes wrote:

> > .marvel-kibana now has a 'state-2' file inside it. and obv for now  
> > since i didnt restart or do anything of that nature i am not asked for the  
> > license details. I wonder if what I see is that .marvel-kibana is only  
> > stored with one primary and one replica and when i reload the cluster  
> > sometimes i happen to load the nodes first which dont have .marvel-kibana  
> > so thats why i get that question about the license.
> 
> The order in which you restart the nodes shouldn't really matter. Try  
> searching `GET .marvel-kibana/_search` and see that you get the license  
> document back?
> 
> > Anyways, where would marvel should me how to add the license from the  
> > command line? I'd like to see that cause I haven't run into such a prompt  
> > yet.
> 
> Marvel only shows it if it fails to save it to the cluster. If you want  
> the command, it's not a problem but please reach out off list with your  
> details.
> 
> On Fri, Oct 10, 2014 at 9:13 PM, Daniel Schonfeld \<[downwi...@gmail.com](mailto:downwi...@gmail.com)  
> \<javascript:\>\> wrote:
> 
> > Boaz,
> > 
> > .marvel-kibana now has a 'state-2' file inside it. and obv for now since  
> > i didnt restart or do anything of that nature i am not asked for the  
> > license details. I wonder if what I see is that .marvel-kibana is only  
> > stored with one primary and one replica and when i reload the cluster  
> > sometimes i happen to load the nodes first which dont have .marvel-kibana  
> > so thats why i get that question about the license.
> > 
> > Anyways, where would marvel should me how to add the license from the  
> > command line? I'd like to see that cause I haven't run into such a prompt  
> > yet.
> > 
> > Thanks!
> > 
> > On Thursday, October 9, 2014 2:40:58 PM UTC-4, Boaz Leskes wrote:
> > 
> > > That's weird. You should for the content of the .marvel-kibana index.  
> > > That's where it stored when you enter your license info in the UI.
> > > 
> > > Is the Marvel UI allowed to post back to ES? If that's blocked it may  
> > > explain things. Normally you will get a message from Marvel instructing you  
> > > how to add the license from the command line.
> > > 
> > > On 9 okt. 2014, at 6:06 p.m., Daniel Schonfeld [downwi...@gmail.com](mailto:downwi...@gmail.com)  
> > > wrote:
> > > 
> > > Hi Boaz,
> > > 
> > > No the data folder is persisted. And with it i have all my cluster and  
> > > indices data... but for some reason marvel asks for the license/order  
> > > number again.
> > > 
> > > Is there a file I can check for in my data folder?
> > > 
> > > Thanks!  
> > > Daniel
> > > 
> > > On Thursday, October 9, 2014 5:46:52 AM UTC-4, Boaz Leskes wrote:
> > > 
> > > > Hi Daniel,
> > > > 
> > > > When you restart the cluster, do you also wipe all content? The marvel  
> > > > license should persist once entered but if you clean the data folder, that  
> > > > will go away as well.
> > > > 
> > > > Cheers,  
> > > > Boaz
> > > > 
> > > > On Wednesday, October 8, 2014 6:12:19 AM UTC+2, Daniel Schonfeld wrote:
> > > > 
> > > > > Hello,
> > > > > 
> > > > > We have recently purchase our Marvel license, but everytime we restart  
> > > > > our cluster it asks us for the order number again. We use docker and so  
> > > > > our containers are immutable.
> > > > > 
> > > > > Is there a file or something we can change in the filesystem that will  
> > > > > bake the license key into the container?
> > > > > 
> > > > > Thanks!
> > > > > 
> > > > > Daniel Schonfeld
> > > > 
> > > > --  
> > > > You received this message because you are subscribed to a topic in the  
> > > > Google Groups "elasticsearch" group.  
> > > > To unsubscribe from this topic, visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > topic/elasticsearch/UzvDQObssCM/unsubscribe.  
> > > > To unsubscribe from this group and all its topics, send an email to  
> > > > [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > msgid/elasticsearch/e4db266f-03d7-40b6-ae77-29262e155492%  
> > > > [40googlegroups.com](http://40googlegroups.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/e4db266f-03d7-40b6-ae77-29262e155492%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/e4db266f-03d7-40b6-ae77-29262e155492%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > .  
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --  
> > > You received this message because you are subscribed to a topic in the  
> > > Google Groups "elasticsearch" group.  
> > > To unsubscribe from this topic, visit  
> > > [https://groups.google.com/d/topic/elasticsearch/UzvDQObssCM/unsubscribe](https://groups.google.com/d/topic/elasticsearch/UzvDQObssCM/unsubscribe).  
> > > To unsubscribe from this group and all its topics, send an email to  
> > > [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/msgid/elasticsearch/666c540a-bd09-477d-8a56-d3970d3ecba7%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/666c540a-bd09-477d-8a56-d3970d3ecba7%40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/666c540a-bd09-477d-8a56-d3970d3ecba7%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/666c540a-bd09-477d-8a56-d3970d3ecba7%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/fa411f7d-4bef-4581-9ad4-bd053d5d9678%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/fa411f7d-4bef-4581-9ad4-bd053d5d9678%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![jpotisch](https://avatars.discourse-cdn.com/v4/letter/j/c77e96/32.png) [@jpotisch](https://discuss.elastic.co/u/jpotisch)
#### Post date: [May 1, 2015, 1:56pm UTC](https://discuss.elastic.co/t/marvel-license-file-order-number-baked-into-a-container/20130/8 "2015-05-01T13:56:31Z")

</div>

For anyone else coming across this, an Elasticsearch engineer confirmed to  
me in this question  
[https://groups.google.com/d/msg/elasticsearch/CFUZp6j5TOc/\_muPZUAMz\_kJ](https://groups.google.com/d/msg/elasticsearch/CFUZp6j5TOc/_muPZUAMz_kJ)  
that it's not currently possible but a feature request for it has now been  
opened.

On Wednesday, April 29, 2015 at 3:07:21 PM UTC-4, Joel Potischman wrote:

> Hi Boaz. I know this is an old thread but I can't find anything newer and  
> it seems very related to this issue.
> 
> Is there documentation anywhere on how to script installation of the  
> license initially? We have not yet run Marvel in production and we do not  
> allow manual steps in our deployment process. We'd like to be able to  
> deploy Marvel to a completely clean box and have the license already  
> present at the end of the deploy. Can you point me to an example curl  
> (dummy values, obviously)?
> 
> On Monday, October 13, 2014 at 8:48:45 AM UTC-4, Boaz Leskes wrote:
> 
> > > .marvel-kibana now has a 'state-2' file inside it. and obv for now  
> > > since i didnt restart or do anything of that nature i am not asked for the  
> > > license details. I wonder if what I see is that .marvel-kibana is only  
> > > stored with one primary and one replica and when i reload the cluster  
> > > sometimes i happen to load the nodes first which dont have .marvel-kibana  
> > > so thats why i get that question about the license.
> > 
> > The order in which you restart the nodes shouldn't really matter. Try  
> > searching `GET .marvel-kibana/_search` and see that you get the license  
> > document back?
> > 
> > > Anyways, where would marvel should me how to add the license from the  
> > > command line? I'd like to see that cause I haven't run into such a prompt  
> > > yet.
> > 
> > Marvel only shows it if it fails to save it to the cluster. If you want  
> > the command, it's not a problem but please reach out off list with your  
> > details.
> > 
> > On Fri, Oct 10, 2014 at 9:13 PM, Daniel Schonfeld [downwi...@gmail.com](mailto:downwi...@gmail.com)  
> > wrote:
> > 
> > > Boaz,
> > > 
> > > .marvel-kibana now has a 'state-2' file inside it. and obv for now  
> > > since i didnt restart or do anything of that nature i am not asked for the  
> > > license details. I wonder if what I see is that .marvel-kibana is only  
> > > stored with one primary and one replica and when i reload the cluster  
> > > sometimes i happen to load the nodes first which dont have .marvel-kibana  
> > > so thats why i get that question about the license.
> > > 
> > > Anyways, where would marvel should me how to add the license from the  
> > > command line? I'd like to see that cause I haven't run into such a prompt  
> > > yet.
> > > 
> > > Thanks!
> > > 
> > > On Thursday, October 9, 2014 2:40:58 PM UTC-4, Boaz Leskes wrote:
> > > 
> > > > That's weird. You should for the content of the .marvel-kibana index.  
> > > > That's where it stored when you enter your license info in the UI.
> > > > 
> > > > Is the Marvel UI allowed to post back to ES? If that's blocked it may  
> > > > explain things. Normally you will get a message from Marvel instructing you  
> > > > how to add the license from the command line.
> > > > 
> > > > On 9 okt. 2014, at 6:06 p.m., Daniel Schonfeld [downwi...@gmail.com](mailto:downwi...@gmail.com)  
> > > > wrote:
> > > > 
> > > > Hi Boaz,
> > > > 
> > > > No the data folder is persisted. And with it i have all my cluster and  
> > > > indices data... but for some reason marvel asks for the license/order  
> > > > number again.
> > > > 
> > > > Is there a file I can check for in my data folder?
> > > > 
> > > > Thanks!  
> > > > Daniel
> > > > 
> > > > On Thursday, October 9, 2014 5:46:52 AM UTC-4, Boaz Leskes wrote:
> > > > 
> > > > > Hi Daniel,
> > > > > 
> > > > > When you restart the cluster, do you also wipe all content? The marvel  
> > > > > license should persist once entered but if you clean the data folder, that  
> > > > > will go away as well.
> > > > > 
> > > > > Cheers,  
> > > > > Boaz
> > > > > 
> > > > > On Wednesday, October 8, 2014 6:12:19 AM UTC+2, Daniel Schonfeld wrote:
> > > > > 
> > > > > > Hello,
> > > > > > 
> > > > > > We have recently purchase our Marvel license, but everytime we  
> > > > > > restart our cluster it asks us for the order number again. We use docker  
> > > > > > and so our containers are immutable.
> > > > > > 
> > > > > > Is there a file or something we can change in the filesystem that  
> > > > > > will bake the license key into the container?
> > > > > > 
> > > > > > Thanks!
> > > > > > 
> > > > > > Daniel Schonfeld
> > > > > 
> > > > > --  
> > > > > You received this message because you are subscribed to a topic in the  
> > > > > Google Groups "elasticsearch" group.  
> > > > > To unsubscribe from this topic, visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > > topic/elasticsearch/UzvDQObssCM/unsubscribe.  
> > > > > To unsubscribe from this group and all its topics, send an email to  
> > > > > [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > > msgid/elasticsearch/e4db266f-03d7-40b6-ae77-29262e155492%  
> > > > > [40googlegroups.com](http://40googlegroups.com)  
> > > > > [https://groups.google.com/d/msgid/elasticsearch/e4db266f-03d7-40b6-ae77-29262e155492%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/e4db266f-03d7-40b6-ae77-29262e155492%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > > .  
> > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > 
> > > > --  
> > > > You received this message because you are subscribed to a topic in the  
> > > > Google Groups "elasticsearch" group.  
> > > > To unsubscribe from this topic, visit  
> > > > [https://groups.google.com/d/topic/elasticsearch/UzvDQObssCM/unsubscribe](https://groups.google.com/d/topic/elasticsearch/UzvDQObssCM/unsubscribe).  
> > > > To unsubscribe from this group and all its topics, send an email to  
> > > > [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > > To view this discussion on the web visit  
> > > > [https://groups.google.com/d/msgid/elasticsearch/666c540a-bd09-477d-8a56-d3970d3ecba7%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/666c540a-bd09-477d-8a56-d3970d3ecba7%40googlegroups.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/666c540a-bd09-477d-8a56-d3970d3ecba7%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/666c540a-bd09-477d-8a56-d3970d3ecba7%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > .
> > > 
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/0695d9da-3943-4f13-8891-aaa950cc8bf9%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0695d9da-3943-4f13-8891-aaa950cc8bf9%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Boaz\_Leskes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/boaz_leskes/32/723_2.png) [@Boaz\_Leskes](https://discuss.elastic.co/u/Boaz_Leskes)
#### Post date: [May 2, 2015, 6:51am UTC](https://discuss.elastic.co/t/marvel-license-file-order-number-baked-into-a-container/20130/9 "2015-05-02T06:51:31Z")

</div>

Hi Joel,

You can block write access to the monitoring cluster marvel is installed  
on. When you enter the the license details, Marvel will fail storing that  
information in ES and will give you a command you can run manually on the  
server (assuming it runs behind a proxy). You can use that command in your  
provisioning system.

Cheers,  
Boa

On Friday, May 1, 2015 at 4:56:31 PM UTC+3, Joel Potischman wrote:

> For anyone else coming across this, an Elasticsearch engineer confirmed to  
> me in this question  
> [https://groups.google.com/d/msg/elasticsearch/CFUZp6j5TOc/\_muPZUAMz\_kJ](https://groups.google.com/d/msg/elasticsearch/CFUZp6j5TOc/_muPZUAMz_kJ)  
> that it's not currently possible but a feature request for it has now been  
> opened.
> 
> On Wednesday, April 29, 2015 at 3:07:21 PM UTC-4, Joel Potischman wrote:
> 
> > Hi Boaz. I know this is an old thread but I can't find anything newer and  
> > it seems very related to this issue.
> > 
> > Is there documentation anywhere on how to script installation of the  
> > license initially? We have not yet run Marvel in production and we do not  
> > allow manual steps in our deployment process. We'd like to be able to  
> > deploy Marvel to a completely clean box and have the license already  
> > present at the end of the deploy. Can you point me to an example curl  
> > (dummy values, obviously)?
> > 
> > On Monday, October 13, 2014 at 8:48:45 AM UTC-4, Boaz Leskes wrote:
> > 
> > > > .marvel-kibana now has a 'state-2' file inside it. and obv for now  
> > > > since i didnt restart or do anything of that nature i am not asked for the  
> > > > license details. I wonder if what I see is that .marvel-kibana is only  
> > > > stored with one primary and one replica and when i reload the cluster  
> > > > sometimes i happen to load the nodes first which dont have .marvel-kibana  
> > > > so thats why i get that question about the license.
> > > 
> > > The order in which you restart the nodes shouldn't really matter. Try  
> > > searching `GET .marvel-kibana/_search` and see that you get the license  
> > > document back?
> > > 
> > > > Anyways, where would marvel should me how to add the license from the  
> > > > command line? I'd like to see that cause I haven't run into such a prompt  
> > > > yet.
> > > 
> > > Marvel only shows it if it fails to save it to the cluster. If you want  
> > > the command, it's not a problem but please reach out off list with your  
> > > details.
> > > 
> > > On Fri, Oct 10, 2014 at 9:13 PM, Daniel Schonfeld [downwi...@gmail.com](mailto:downwi...@gmail.com)  
> > > wrote:
> > > 
> > > > Boaz,
> > > > 
> > > > .marvel-kibana now has a 'state-2' file inside it. and obv for now  
> > > > since i didnt restart or do anything of that nature i am not asked for the  
> > > > license details. I wonder if what I see is that .marvel-kibana is only  
> > > > stored with one primary and one replica and when i reload the cluster  
> > > > sometimes i happen to load the nodes first which dont have .marvel-kibana  
> > > > so thats why i get that question about the license.
> > > > 
> > > > Anyways, where would marvel should me how to add the license from the  
> > > > command line? I'd like to see that cause I haven't run into such a prompt  
> > > > yet.
> > > > 
> > > > Thanks!
> > > > 
> > > > On Thursday, October 9, 2014 2:40:58 PM UTC-4, Boaz Leskes wrote:
> > > > 
> > > > > That's weird. You should for the content of the .marvel-kibana index.  
> > > > > That's where it stored when you enter your license info in the UI.
> > > > > 
> > > > > Is the Marvel UI allowed to post back to ES? If that's blocked it may  
> > > > > explain things. Normally you will get a message from Marvel instructing you  
> > > > > how to add the license from the command line.
> > > > > 
> > > > > On 9 okt. 2014, at 6:06 p.m., Daniel Schonfeld [downwi...@gmail.com](mailto:downwi...@gmail.com)  
> > > > > wrote:
> > > > > 
> > > > > Hi Boaz,
> > > > > 
> > > > > No the data folder is persisted. And with it i have all my cluster  
> > > > > and indices data... but for some reason marvel asks for the license/order  
> > > > > number again.
> > > > > 
> > > > > Is there a file I can check for in my data folder?
> > > > > 
> > > > > Thanks!  
> > > > > Daniel
> > > > > 
> > > > > On Thursday, October 9, 2014 5:46:52 AM UTC-4, Boaz Leskes wrote:
> > > > > 
> > > > > > Hi Daniel,
> > > > > > 
> > > > > > When you restart the cluster, do you also wipe all content? The  
> > > > > > marvel license should persist once entered but if you clean the data  
> > > > > > folder, that will go away as well.
> > > > > > 
> > > > > > Cheers,  
> > > > > > Boaz
> > > > > > 
> > > > > > On Wednesday, October 8, 2014 6:12:19 AM UTC+2, Daniel Schonfeld  
> > > > > > wrote:
> > > > > > 
> > > > > > > Hello,
> > > > > > > 
> > > > > > > We have recently purchase our Marvel license, but everytime we  
> > > > > > > restart our cluster it asks us for the order number again. We use docker  
> > > > > > > and so our containers are immutable.
> > > > > > > 
> > > > > > > Is there a file or something we can change in the filesystem that  
> > > > > > > will bake the license key into the container?
> > > > > > > 
> > > > > > > Thanks!
> > > > > > > 
> > > > > > > Daniel Schonfeld
> > > > > > 
> > > > > > --  
> > > > > > You received this message because you are subscribed to a topic in the  
> > > > > > Google Groups "elasticsearch" group.  
> > > > > > To unsubscribe from this topic, visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > > > topic/elasticsearch/UzvDQObssCM/unsubscribe.  
> > > > > > To unsubscribe from this group and all its topics, send an email to  
> > > > > > [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > > > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > > > msgid/elasticsearch/e4db266f-03d7-40b6-ae77-29262e155492%  
> > > > > > [40googlegroups.com](http://40googlegroups.com)  
> > > > > > [https://groups.google.com/d/msgid/elasticsearch/e4db266f-03d7-40b6-ae77-29262e155492%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/e4db266f-03d7-40b6-ae77-29262e155492%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > > > .  
> > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > 
> > > > > --  
> > > > > You received this message because you are subscribed to a topic in the  
> > > > > Google Groups "elasticsearch" group.  
> > > > > To unsubscribe from this topic, visit  
> > > > > [https://groups.google.com/d/topic/elasticsearch/UzvDQObssCM/unsubscribe](https://groups.google.com/d/topic/elasticsearch/UzvDQObssCM/unsubscribe)  
> > > > > .  
> > > > > To unsubscribe from this group and all its topics, send an email to  
> > > > > [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > > > To view this discussion on the web visit  
> > > > > [https://groups.google.com/d/msgid/elasticsearch/666c540a-bd09-477d-8a56-d3970d3ecba7%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/666c540a-bd09-477d-8a56-d3970d3ecba7%40googlegroups.com)  
> > > > > [https://groups.google.com/d/msgid/elasticsearch/666c540a-bd09-477d-8a56-d3970d3ecba7%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/666c540a-bd09-477d-8a56-d3970d3ecba7%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > > .
> > > > 
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/8d58dda1-9d2d-4f51-87cc-e41e54348fe8%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8d58dda1-9d2d-4f51-87cc-e41e54348fe8%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![jpotisch](https://avatars.discourse-cdn.com/v4/letter/j/c77e96/32.png) [@jpotisch](https://discuss.elastic.co/u/jpotisch)
#### Post date: [May 2, 2015, 1:40pm UTC](https://discuss.elastic.co/t/marvel-license-file-order-number-baked-into-a-container/20130/10 "2015-05-02T13:40:57Z")

</div>

Interesting. Will give it a shot!

Thanks for the help and have a great weekend.

-joel

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/49a5b3b6-6a69-4b9c-8d70-5cbedb0209e2%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/49a5b3b6-6a69-4b9c-8d70-5cbedb0209e2%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 12:16am UTC](https://discuss.elastic.co/t/marvel-license-file-order-number-baked-into-a-container/20130/11 "2017-07-06T00:16:07Z")

</div>


