Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

For customers who ask us how to add a new Data Location, this guide describes the "back-end" changes that must happen to semarchy.xml on the app server. The "front-end" changes should be straight forward on how to add a new Data Location through the workbench.

This document assumes that you have already created the schema in Oracle. If you have not yet, please refer to this guidance on https://www.semarchy.com/doc/semarchy-xdm/semng.html#configuring-the-data-locations-schemas 

If you are puzzled, check out this guidance on how to create a new Data Location from the Workbench. 

StepsNotes
Copy semarchy.xml
cp /etc/tomcat8/Catalina/localhost/semarchy.xml /tmp/semarchy.xml
Edit semarchy.xml

vim /tmp/semarchy.xml

on US servers there's an alias 'difff'. Run that to see the difference between /etc/tomcat8/Catalina/localhost/semarchy.xml and /tmp/semarchy.xml

Validate you have everything backed-up

ls /tmp

It should have your updated semarchy.xml as well as a copy of semarchy.war. If the .war isn't there, get the current one:
cp /usr/share/tomcat8/webapps/semarchy.war /tmp/semarchy.war

Don't forget to back up your changes:
cp /tmp/semarchy.xml ~/backups/semarchy-YYYY-MM-DD.xml

Undeploy semarchy

Using tomcat manager: http://ec2-13-56-47-175.us-west-1.compute.amazonaws.com/manager/html

Remember that you can click "Sessions" to see who is logged in.

Deploy semarchyUsing tomcat manager: http://ec2-13-56-47-175.us-west-1.compute.amazonaws.com/manager/html
All good
  • No labels