How to switch to new semarchy_repository database?
P
Paul.gilligan
started a topic
over 2 years ago
We have been trying a cloud install whereby we create a new VM using the Semarchy xDM image in azure which creates the xDM application, this installs a default postgres database which is then populated ok.
If I use psql I can see that xDM tables are populated:
What we could like todo is hook up the xDM application to a different semarchy_repository database and to have the application re-populate
the schemas.
When we switch to a SQL Database, connection/auth have been verified, and then restart tomcat to restart the xDM all seems fine but no tables in the new database.
It is not clear from docs that setting SEMARCHY_SETUP_TOKEN will trigger this and or how SEMARCHY_SETUP_TOKEN should best be setup with the tomcat setup that has been installed.
Interesting that we get NO errors from semarchy and that it seems all is ok but of cause the application is not available from the web.
Best Answer
S
Stéphanie FOURRIER
said
over 2 years ago
Hi Paul,
it seems that you created a ticket for this same question.
I'm writting the conclusion of the ticket in case it helps others:
The SEMARCHY_SETUP_TOKEN needed to be set as an environment variable in the setenv.sh, in your case, using
export SEMARCHY_SETUP_TOKEN=<your_token_value>
Because you are running tomcat on a Linux server. The samples to set environment variables were described here in our documentation.
Best regards,
Stéphanie.
1 Comment
S
Stéphanie FOURRIER
said
over 2 years ago
Answer
Hi Paul,
it seems that you created a ticket for this same question.
I'm writting the conclusion of the ticket in case it helps others:
The SEMARCHY_SETUP_TOKEN needed to be set as an environment variable in the setenv.sh, in your case, using
export SEMARCHY_SETUP_TOKEN=<your_token_value>
Because you are running tomcat on a Linux server. The samples to set environment variables were described here in our documentation.
Paul.gilligan
We have been trying a cloud install whereby we create a new VM using the Semarchy xDM image in azure which creates the xDM application, this installs a default postgres database which is then populated ok.
If I use psql I can see that xDM tables are populated:
What we could like todo is hook up the xDM application to a different semarchy_repository database and to have the application re-populate
the schemas.
When we switch to a SQL Database, connection/auth have been verified, and then restart tomcat to restart the xDM all seems fine but no tables in the new database.
It is not clear from docs that setting SEMARCHY_SETUP_TOKEN will trigger this and or how SEMARCHY_SETUP_TOKEN should best be setup with the tomcat setup that has been installed.
Interesting that we get NO errors from semarchy and that it seems all is ok but of cause the application is not available from the web.
Hi Paul,
it seems that you created a ticket for this same question.
I'm writting the conclusion of the ticket in case it helps others:
The SEMARCHY_SETUP_TOKEN needed to be set as an environment variable in the setenv.sh, in your case, using
Because you are running tomcat on a Linux server. The samples to set environment variables were described here in our documentation.
Best regards,
Stéphanie.
Stéphanie FOURRIER
Hi Paul,
it seems that you created a ticket for this same question.
I'm writting the conclusion of the ticket in case it helps others:
The SEMARCHY_SETUP_TOKEN needed to be set as an environment variable in the setenv.sh, in your case, using
Because you are running tomcat on a Linux server. The samples to set environment variables were described here in our documentation.
Best regards,
Stéphanie.
-
xDM Compatibility with Java 17?
-
xDM on Docker
-
How to Upgrade Apache Tomcat?
-
Application Server Gives 404 Error
-
Amazon Aurora support
-
Change Prod Repository Type Without Reinstallation
-
Is It Possible to Import a V5.1.1 Data Model to V5.2.8?
-
"500 Internal Server Error" While Opening with Localhost
-
Enable Access to Azure File Storage?
-
Why am I getting Status 404 -- Not Found Error on Azure?
See all 29 topics