Skip to content

Preparing to migrate data

To use the Orient Me home page, HCL Connections™ Profiles will need to be migrated from Connections to Orient Me. To do this, there is a migration tool. To prepare the migration tool, first you must complete the steps listed in the Populating the Orient Me page of this document.

Follow these steps to prepare for the data migration.

  1. Connect to the container:

    kubectl exec -n connections -it $(kubectl get pods -n connections | grep people-migrate | awk '{print $1}') sh
  2. Now that you are logged into the people migration container, edit the migration configuration settings for the migration. The migration configuration file is called migrationConfig and it's available in the root directory inside the container, so no need to change location.

    For example, vi /usr/src/app/migrationConfig.

  3. Open the file migrationConfig and edit it to match the details of the Kubernetes master and Connections systems being setup. Consider the following to help you edit the file:

    • Profiles and Communities admin user can be found in WebSphere Application security role mapping of Profiles and Communities 'admin' role.

    • Communities dsx-admin user can be found in WebSphere Application security role mapping of Communities 'dsx-admin' role.

    • By default, the migration tool will read the configuration file from default root directory. you can also put the configuration file at any location and use config:[filePath] to specify the configuration path.

    • Tune the setting of MAX_REQUEST_NUMBER_PER_MINUTE and MAX_CONCURRENT_USER based on your system configuration and performance requirement, to make sure the migration does not cause the system to overload

      Tip: The recommended configuration for a 300,000 populated profiles database is MAX_REQUEST_NUMBER_PER_MINUTE: 20000 and MAX_CONCURRENT_USER: 50.

    For example, your result will look like the following code snippet:

     //API format
     "API_FORMAT": "atom",
     //Connections Host apps URL
     "SERVER_HOST": "https://Your\_Connections\_env\_URL",
     //MongoDB Host
     "MONGODB_HOST": "mongo:27017",
     //MongoDB port
     "MONGODB_PORT": 27017,
     //MongoDB replicate set name
     "MONGODB_RS_NAME": "rs0",
     //Profiles admin user
     "PROFILES_USER_NAME": "ConnectionsAdminUser",
     //Profiles admin password
     "PROFILES_USER_PASSWORD": "ConnectionsAdminPassword",
     //Profiles admin API end point
     "PROFILES_ADMIN_API_PATH": "/profiles/admin/atom/",
     //Profiles report chain API end point
     "PROFILES_REPORT_CHAIN_API_PATH": "/profiles/atom/",
     //Profiles network API end point
     "PROFILES_NETWORK_API_PATH": "/profiles/atom/",
     //Profiles network pagesize
     //Profiles Following API end point
     "PROFILES_FOLLOW_API_PATH": "/profiles/follow/atom/resources",
     //Page size for Profiles Following API
     //Communities admin user
     "COMMUNITIES_USER_NAME": "ConnectionsAdminUser",
     //Communities admin password
     "COMMUNITIES_USER_PASSWORD": "ConnectionsAdminPassword",
     //Communities Following API end point
     "COMMUNITIES_FOLLOW_API_PATH": "/communities/follow/atom/resources",
     //Communities dsx-admin user
     "COMMUNITIES_DSX_USER_NAME": "ConnectionsAdminUser",
     //Communities dsx-admin password
     "COMMUNITIES_DSX_USER_PASSWORD": "ConnectionsAdminPassword",
     //Communities membership API end point
     "COMMUNITIES_MEMBERSHIP_API_PATH": "/communities/service/atom/dsx/membership",
     //Page size for Communities Following API
     //Batch user size for user population
     //Maximum of HTTP/HTTPS request sending to Connections per minute during migration
     //Maximum of users migrated concurrently
     //Step populate code
     "STEP_POPULATE_CODE": false,
     //Step migrate people info

Parent topic:Populating the Orient Me home page

Next topic:Migrating the data for the Orient Me home page