AnsweredAssumed Answered

Moving to a new server, and fixing some small issues

Question asked by dhaycurrie on Apr 10, 2017
Latest reply on May 31, 2017 by dhaycurrie

I wanted to bounce some ideas about the process.

I have Openfire running in Ubuntu 12.04

I have a new VM setup and ready with 16.04. Openfire and MySQL are already installed and ready to go.

I am using the latest version of Openfire, and I also use FastPath (so I need to install Tomcat too).

I am going to do this during business hours so I wanted to make sure I cover all the bases first

  1. Prepare VM
    1. Install Ubuntu 16.04
    2. set hostname as intended for server
    3. Install Apache2
    4. Install MySQL-server
    5. Install Tomcat
    6. Install Openfire deb
  2. Copy MySQL Database
    1. Create Openfire MySQL user (it can be exported but the password needs to be set manually since it is saved as a hash)
    2. For openfire User update the password in the config file (which one??){openfire.xml I am guessing, but it is encrypted
  3. Copy Openfire configuration files from /etc/openfire
  4. (this is only  for FastPath) Copy Tomcat configuration files
    1. It has been a long time so I don't remember what I need to copy actually. I remember that I needed to put the java package, and I remember I did most of it using defaults, but I can't remember what I did. Tomcat is my weak point.
  5. At this point most should be ready, so now switch the IP address so that the connections can go to the new server
  6. Setup SSL for Openfire and Tomcat
    1. For Openfire create a new server request from inside the application
    2. For Tomcat I am not sure what to do. I need to create a new keystore right, not move it. And then create the request.
  7. Copy additional files
    1. /usr/share/openfire/index{groupname}
    2. Any other files?

I almost forgot. I would like to get the DNS SRV Record verification working with this server. So lets say we use for fqdn

chat.contoso.com and that the domain name is conto.com (yes, someone though to shorten our domain name for some weird reason).

Should I name the server chat? I can add a DNS record that says chat.contoso.com. Would it still give the warning?

Outcomes