I have to re-create from scratch my dev environment but it has already been deployed into prod, should I be aware of any side-effect?
Best Answer
C
Cédric BLANC
said
over 2 years ago
When recreating your development environment, you must keep in mind to sync that development environment to your production environment. This synchronization ensures that when you close a model in development, you are able to import the new model as a model edition to the existing root model and not create a new root model.
In DEV environment
Export the current model that is up to date.
Delete the data location in Development and Drop the schema
Note you will lose your data in the Dev environment.
In Production, you will make a backup of the repository.
Restore the backup of PROD in the DEV environment and change the REPOTYPE in the mta_repository table to DESIGN. update mta_repository set repotype = 'DESIGN';
Do an import-replace the model using the previously exported model from dev
In the Dev repository change the mta_model_edition status to Open update mta_model_edition set status= 'OPEN' where uuid=xxxx;
Restart tomcat (otherwise the model edition status will still be closed when looking at it from the Application Builder)
1 Comment
Cédric BLANC
said
over 2 years ago
Answer
When recreating your development environment, you must keep in mind to sync that development environment to your production environment. This synchronization ensures that when you close a model in development, you are able to import the new model as a model edition to the existing root model and not create a new root model.
In DEV environment
Export the current model that is up to date.
Delete the data location in Development and Drop the schema
Note you will lose your data in the Dev environment.
In Production, you will make a backup of the repository.
Restore the backup of PROD in the DEV environment and change the REPOTYPE in the mta_repository table to DESIGN. update mta_repository set repotype = 'DESIGN';
Do an import-replace the model using the previously exported model from dev
In the Dev repository change the mta_model_edition status to Open update mta_model_edition set status= 'OPEN' where uuid=xxxx;
Restart tomcat (otherwise the model edition status will still be closed when looking at it from the Application Builder)
Cédric BLANC
I have to re-create from scratch my dev environment but it has already been deployed into prod, should I be aware of any side-effect?
When recreating your development environment, you must keep in mind to sync that development environment to your production environment. This synchronization ensures that when you close a model in development, you are able to import the new model as a model edition to the existing root model and not create a new root model.
update mta_repository set repotype = 'DESIGN';
update mta_model_edition set status= 'OPEN' where uuid=xxxx;
Cédric BLANC
When recreating your development environment, you must keep in mind to sync that development environment to your production environment. This synchronization ensures that when you close a model in development, you are able to import the new model as a model edition to the existing root model and not create a new root model.
update mta_repository set repotype = 'DESIGN';
update mta_model_edition set status= 'OPEN' where uuid=xxxx;
-
Deployment History Date
-
Username in Tomcat Access Logs
-
Is It Possible to Perform Automatic Authentication with The User's Windows Account?
-
Where is the documentation for Version 5.2.5?
-
On Prem Semarchy Authentication using Azure AD?
-
Delete old models
-
Sync production model version with dev
-
Indexes on xDM database tables
-
What logging technology is used in the Semarchy xDM platform?
See all 61 topics