Moving Roles
Revision as of 16:32, 4 March 2015 by Ltalaschus (talk | contribs) (→Moving the SPE running in Single-Server-Mode to another server)
Renaming the server where the SPE runs on in Single-Server-Mode
When the server has been renamed, the management dashboard will show you the warning
The Name of this Server differs from the licensed Machine Name. Therefore your license has been disabled.
The Instance Host and Client Access Server roles are not connected to the Management Server role and the instances are not started. Perform the following steps to get your SPE running again:
- Stop the MailStore SPE instance host, client access server and management roles.
- Transfer your MailStore SPE license to the new machine through our license portal.
- Open the configuration of the management role and adjust the Server Name to match the new name.
- Start the management server role.
- Log in into the dashboard and verify that he license warning is gone.
- Open the configuration of the instance host role and adjust the Server Name to match the new name. Additionally enter the new server name in the Management Server field and pair this role with the management server role.
- Start the instance host role.
- Change the Instance Host setting in the instance configuration of each instance.
- Remove the leftover of the old servername from the Dashboard -> INFRASTRUCTURE -> Instance Hosts.
- Open the configuration of the client access server role and adjust the Server Name to match the new name. Additionally enter the new server name in the Management Server field and pair this role with the management server role.
- Start the client access server role.
- Remove the leftover of the old servername from the Dashboard -> INFRASTRUCTURE -> Instance Hosts.
Moving the SPE running in Single-Server-Mode to another server
- Close all MailStore SPE related programs, except for the MailStore Service Provider Edition Configuration.
- Stop the MailStore SPE instance host, client access server and management roles.
- Transfer your MailStore SPE license to the new machine through our license portal.
- Install MailStore SPE on the new machine.
- Stop all roles on the new server.
- Remove all MailStore SPE related certificates from the computer's personal (MY) certificate store.
- Export the SSL certificates and private keys from the old machines certificate store and import it to the same location on the new machine.
- PowerShell command to export all certificats stored in the computers MY store as a single file:
Get-ChildItem Cert:\LocalMachine\My | Export-Certificate -FilePath $env:USERPROFILE\all_mailstore_spe_certs.sst -Type SST
- Powershell command to import the previously exported certificates in the new server certificate store:
Import-Certificate -FilePath $env:USERPROFILE\all_mailstore_spe_certs.sst -CertStoreLocation Cert:\LocalMachine\My
- Copy your "config" folder from the old machine to the new server and overwrite the fresh config.
- Start the management role, then the other ones in arbitrary order.
- Check the SPE's dashboard and verify that everything role is coming up properly.
- Change the instance host, in the configuration of each instance. http://en.help.mailstore.com/spe/Moving_Instances
- Change the location of the instance host's base directory, if that has changed.
- Uninstall MailStore SPE on the old machine. Use Add/Remove Programs available in the control panel.