Wednesday, September 1, 2010

migrating incentto to new server

This is a post to remind me of the checklist to migrate to a new server:
1) setup dns to point preview.incentto.com, etc. to the new ip addresses.
2) modify tomcat-users.xml located in  /opt/tomcat/conf/.  Make sure the entry looked something like this to make the tomcat manager work:


<tomcat-users>
  <role rolename="tomcat"/>
  <role rolename="manager"/>
  <role rolename="admin"/>
  <user username="admin" password="***" roles="tomcat,manager,admin"/>
</tomcat-users>

You can now build the ant file to preview.incentto.com and war file will install.

3) add user salesrocket to groups (ftpusers and salesrocket)
4) migrate svn over
5) modify virtual host file for apache at /etc/httpd/conf/httpd.conf to include preview.incentto.com mappings, etc. and to deal with the 8080 port
6) copy some valuable commands over from previous server
7) copy some jdbc files over