[Apiman-user] How to reindex all data into a new elasticsearch instance
ashish.patel at futuregroup.in
Wed Jan 16 23:39:56 EST 2019
Just a cent on below conversation.
You will lose usage matrix data in export -> import (which only covers API definition). If you want usage matrix data, please plan elastic search (used for matrix data) export -> import. We are in process of doing the same, shall share feedback once we complete the same.
Thanks & Regards,
From: apiman-user-bounces at lists.jboss.org [mailto:apiman-user-bounces at lists.jboss.org] On Behalf Of Celso Agra
Sent: Wednesday, January 16, 2019 22:58
To: Eric Wittmann
Cc: apiman-user at lists.jboss.org
Subject: Re: [Apiman-user] How to reindex all data into a new elasticsearch instance
I'll do that
Last question (please!): Which version of elasticsearch should I use with APIMAN v1.5.1.Final?
Em qua, 16 de jan de 2019 às 14:19, Eric Wittmann <eric.wittmann at redhat.com<mailto:eric.wittmann at redhat.com>> escreveu:
I generally would recommend exporting data from the old version and then importing into the new one, yes. Apiman should handle any issues of data compatibility between versions.
This is one of the main reasons the import/export feature was actually written. The ability to migrate from one version to another, or the ability to migrate from one storage type (RDBMS) to another (Elastic).
On Wed, Jan 16, 2019 at 10:05 AM Celso Agra <celso.agra at gmail.com<mailto:celso.agra at gmail.com>> wrote:
I got it.
So, in this case, would be better to create a new APIMAN instance with a new version
Is there any compatibility among versions in this case?
So, should I export data from old version and import that to the new one?
Em qua, 16 de jan de 2019 às 12:54, Eric Wittmann <eric.wittmann at redhat.com<mailto:eric.wittmann at redhat.com>> escreveu:
I think the typical solution to this is:
1) Export everything via the apiman UI (there is an admin page for this)
2) Shut down
3) Change whatever persistence settings you want to change resulting in a fresh, empty apiman system configured against whatever persistence you want (ES, RDBMS, etc)
4) Start up the new system
That *should* work but make sure you back everything up before doing this sort of thing!
On Wed, Jan 16, 2019 at 9:06 AM Celso Agra <celso.agra at gmail.com<mailto:celso.agra at gmail.com>> wrote:
I have a question about elasticsearch and apiman.
So, my apiman instance (v1.3.0) are using embedded elasticsearch, but now, I have to upgrade my instance to an apiman cluster.
so, I've change my apiman.properties, and remove apiman-es.war from deployments. But My question is, how reindex all data from embedded elasticsearch to the new one?
Apiman-user mailing list
Apiman-user at lists.jboss.org<mailto:Apiman-user at lists.jboss.org>
Accept the Challenge. Go Paperless
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Apiman-user