Migrating Office 365 Endpoint

As the main result of the migration:

  • A new endpoint is deployed to Azure.
  • The Office 365 database is migrated to Azure.
  • The Office 365 endpoint URL is updated in the CloudBlue Commerce configuration.

Prerequisites

  • A new (target) Office 365 endpoint is deployed to Azure and is ready for use.

    Note: To test the readiness, verify connections from and to OSS and BSS.

  • The migration script switch_endpoint.py is ready to be launched on the current (on-premise or cloud) deployment of CloudBlue Commerce management node.

Migration Procedure

To migrate an Office 365 endpoint to Azure:

  1. Turn off IIS.
  2. Using PowerShell commands or MSSQL Studio features, back up your Office 365 database.
  3. Copy the database to the target node.
  4. Import the database at the target node.
  5. Compare the settings.conf files on the source and target IIS servers. Make sure that they are configured identically.

    Note: For example, you can do so by checking the OrderStatus parameter.

  6. Restart IIS on the target node.
  7. Update the endpoint URL using the script switch_endpoint.py.
  8. Test the new deployment: Place a test order (or perform a test resource upgrade) while monitoring the Office 365 node sitelog. Make sure that REST requests come to the new node (they must appear in the sitelog).
  9. For auditability purposes, manually copy the logfiles from the source node to the target node (sitelog, preload, and so on).