Produto: | TOTVS Smart Analytics |
Versions: | 11.80 and 12 |
Event: | How to update the project TOTVS Smart Analytics
|
Step by Step: | IntroductionOnce in every two months releases with update packages of TOTVS Smart Analytics will be published, which will be available on the Customer Portal, and the client will be free to update the product according to its needs. Packages include the latest default project, with graphic modeling, graphs and Scripts MAQL of modeling, apart from Agent and its configuration. This article mainly intends to instruct the steps that must be followed to update the whole project. To make the process easier, the route is divided in 2 possible scenarios:
The first step, for both scenarios, is to download the package with the new version of TOTVS Smart Analytics and the Agent package, save and extract the packages on the same folder where the older projects are kept. Then, recommendations of good practices are listed, which must be executed before starting the following steps:
Once these actions are completed, the user may continue the update process of TOTVS Smart Analytics. The process must always follow the same sequence: first, the update and release of modeling, followed by the project deploy, and finally, update of Agent configuration files.
Modeling Backup and UpdateOn scenario 1, it is strongly recommended to the user to backup the modeling, in order to avoid future errors that may occur, then publish the latest modeling. Modeling backupFollow the steps below:
Modeling updateAfter saving the backup, follow the steps below to update the modeling.
ETL process updateThere are two ways to re-deploy the project and update the ETL process of TOTVS Smart Analytics. In one way, you must only access the project in analytics.totvs.com.br, on the other, it is crucial to use the Cloud Connect tool. These very same steps will be followed by users that are eligible for Scenario 2, after other procedures explained on the proper section. First method:
Second Method (using Cloud Connect):
Update of Agent configuration files my.properties
To update the my.properties file, follow the steps below:
In both scenarios, check the status of your run.bat within Agent package. This file must be reference for the new version of the Agent within this very same package, and for my.properties that the user just configured with the steps above. In such cases, the previous version of the customer has extra parameters to improve performance, for example. It that is the case, add the parameter for run.bat updated. Following, two examples of the structure of the run.bat file. One example consists on general structure, the other, illustrates a parameter added in order to improve performance:
On scenario 2, the user is responsible for maintenance and update of its project. The update of a customized project demands extreme caution by the user, to not lose its customizations nor updates published, therefore there are some recommendations to follow:
ModelingTo simplify the modeling update of users that have customizations, the TOTVS Smart Analytics package integrates MAQL scripts of modeling. Follow the next steps:
Warning If the user does not keep updates as the latest, the MAQL Script of the last publish, would probably be incomplete. Therefore, the user must compare the modeling published on the cloud of its project, with the latest default modeling. You may use the Cloud Connect tool for this analysis.
With the aid of Release Notes (available on the Customer Portal), the user may update the graphs of its project, in order to not interfere with its customizations. By completing the graphs development, as wishes, the user may re-deploy the project, according to the steps of the item ETL process update of Scenario 1. Warning Remember, use an own project for customizations and updates, and never edit the default project of TOTVS Smart Analytics.
To update my. properties, the user may also need to pay attention. Execute a comparison between the my.properties published on the Customer Portal and my.properties customized, to perform the proper alterations. In this case, as suggestion, you may use the text comparison program apdiff. Warning The project ID information, Smart Analytics login, access to Database and path for JDBC may be copied from the previous version, if not edited.
To check this file, follow the same steps of the Scenario 1, on item “run.bat”.
Finally, the update cycle is completed, and from then on, the Schedule of load execution may be executed again.
|
Notes: | Release related: |