-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export Geoserver layers from MTG to ATOS #23
Comments
Hi Mario I have access to ATOS' FTP for Clarity. The layers that we have in MTG right now, should go to your directories, I think these: Europe: Dc1-Naples DC4-Spain This file transfer is fast. You will be able to have the layers in your FTP as soon as we agree on the directories of the submissions. If we shuffle a total of 400 layers, the update process in ATOS geoserver can take several days. I don't know an automatic way to do this... I look forward to your comments |
Hi Laura, |
I don't really understand what do you mean. I have copied the data with the same folder structure in your server. I am going to generate a list with the directories in order you can replicate it in your Geoserver instance. Should you have any problem, let me know. |
@negroscuro let us know if everything is ok, we hope the styles, stores and workspaces are migrated correctly because that could be rather painful to do manually. We could check if there's some other way of migrating that in case there's some sort of problem. |
Hi! We've checked the existing layers on our geoserver and we have come up with a list of changes that are needed. They are covered in the attached document. Let us now if you have any questions. |
Nice, we will use it to check everything is there after migration. |
Btw, who is going to update the Data Packages and resources, respectively which are currently pointing to https://clarity.meteogrid.com/geoserver/ ? |
That's a good question. If that is the case we'll have to share the work among several people, there are simply too many layers for just one or two people. |
This comment has been minimized.
This comment has been minimized.
Another hint: TLS should be enabled for http://services.clarity-h2020.eu:8080/geoserver. |
Since we have access to the CSIS Drupal database, it should be possible to do it by some simple SQL statements. But I don't know the Drupal data model. WDYT @patrickkaleta and @fgeyer16 |
The paths to the wms should be saved in the table node__field_reference_path. So it should be possible to update the wms urls with an update statement. |
It looks like we are gettin errors if we try to deploy the copy of the Meteogrid Geoserver isntance: /usr/local/tomcat/lib/tomcat-i18n-es.jar jar is broken But a clean deployment of a Geoserver works.... the problem is the 500 layers already configured in Meteogrid's. Regarding:
Wich JAVA version are you using? |
According to our geoserver, java version is: Oracle Corporation: 1.8.0_212 (OpenJDK 64-Bit Server VM). I think we cannot drag this too long. We are updating and changing layers from time to time and our versions are diverging. I've discussed this with @LauraMTG and we think that if this does not work we should try doing the thing by hand, (yeah, I know...) We can just divide the 500 layers among the four of us (@negroscuro @bullz + @LauraMTG and me) and do it. We could share a short doc with the guidelines for naming, styles and such. |
@negroscuro @bullz any inputs on this issue? We shouldn't let this linger for much longer. |
Any progress to report here @DanielRodera ? |
Hi, yes, we have deployed a Geoserver instance in the new Atos server, we have deployed the 2.16.2 version. We have included the importer module to be able to import all the MTG data and we also take care of the CORS filter. Today we will have a telco with MTG to restore all the data. |
How is it going? 😃 |
People from MTG are working restoring the data with the importer module. Once is done the only remaining task will be to assign the layers styles. @ghilbrae is splitting this task between Atos and MTG people to finish it as soon as possible. |
Most of the layers have already been uploaded to the new geoserver. I'm going through the remaining layers (around 25) to solve whatever is going on with them. Anyway, all of the layers related to hazards for Europe are working correctly, the only thing that we have to do now is update the styles. |
I have seen that the DNS entry for the url https://geoserver.myclimateservice.eu still points to the geoserver instance on the AIT server instead of the new ATOS geoserver instance. I think, we should change this now. |
@DanielRodera the url https://geoserver.myclimateservice.eu points now to 95.211.163.27, but I get a "503 Service Temporarily Unavailable", when I try to access the url. |
https://geoserver.myclimateservice.eu/ gives me 'connection refused' but I can access http://95.211.163.27:8080/geoserver/web/ But when looking at the layer previews (16 layers), this doesn't seem to be the correct geoserver instance. |
Hi @p-a-s-c-a-l , @therter , Let me explain: http://95.211.163.27:8080/geoserver/web/ --> is another instance for another project. No related with CLARITY. https://geoserver.myclimateservice.eu --> previously was pointing to an empty GeoServer in another server (I don't know which Geoserver and where). Yesterday our IT team mapped the subdomain to our server, but the Geoserver was exposed in a different port (not the default one), it because you couldn't reach the server. After some work, we manage to set up everything properly. The Atos Geoserver is http://geoserver.myclimateservice.eu/geoserver. This Geoserver stores all the MTG data and in a few days should have all the data Mario generated until today (we are working on it, we will let you know when is ready). Next step: get the httpS. Our IT people are working on it. |
Hi, The certificates are now properly set, the Geoserver is running on: Once we are sure the migration is successful, we will use the old instance of Geoserver for making tests for the input layers scripts. @p-a-s-c-a-l, @humerh could you please check if all the layers are served as you needed? |
Thank you for reporting @p-a-s-c-a-l , we are working on it. |
It seems that GeoServer is totally overloaded and returns 502 Bad Gateway in case of a timeout. ATM it's not possible to serve a single users, so we cannot go live with this setup. The Status Page shows physical memory usage at 96.27 % (3.3 GiB) and swap memory usage at 54.06 % (8 GiB). It is possible to increase physical memory? 8 GiB should be the absolute minimum, better 16-32 GiB. |
We have to restart the server so you may experience connections problems. Should be ready by today, I will let you know anyway. Thank you! |
We assigned more memory to the ATOS server as well as the Geoserver. Now should work as expected, Sorry for the inconveniences, |
Thanks. :-) What's the status of the styles? I noticed that there are still some of the missing. |
It seems that getFeatureInfo is not enabled / working on https://geoserver.myclimateservice.eu. You can test it here This is how it works on services.clarity-h2020.eu:8080: @therter Do you know whether this a per-layer-option or can it be controlled globally? |
@therter I've set the PROXY base URL, the mixed content warning is gone. |
Hi @p-a-s-c-a-l, I have tried and its working, Anyone else has this problem?? |
Yes. after setting PROXY base URL it's working now. |
We need to start planning this task and agree on dates, procedures, etc.
@negroscuro whenever you are ready let us know.
The text was updated successfully, but these errors were encountered: