Deploy the SSO Migration Utility for IBM PEM Community Manager

Run the SSO migration utility to migrate the existing users data.

You can migrate the users data. For more information on setting the properties, refer to Configuring the properties of application.yml file. For information on SSO migration, refer to Migrating Data for Enabling Single Sign-On for IBM PEM Community Manager.

Perform the following prerequisite steps:
  • Take a back-up for your database before you run the SSO migration utility.
  • Configure the files that are present in your Mount directory. For more information, refer to Configuring the files in Mount directory.

Run the following command:

docker run -d -v "path to mount file":/src -v "path to data folder":/opt/IBM/PCM/sso/data/ -v "<path to logs>":/opt/IBM/PCM/logs -e APP=<application name> -e LOGGER_LEVEL=<log level> -e DB_PASS=<database password> --name <container name> <image name>:<version>
Note: Enter the appropriate parameter values within the angle (<>) brackets.
  • <container name> - refers to the user-defined container name. If you want to reuse the container name, remove the container by running the command docker rm <container name>. Otherwise, you can use a different container name.
  • <path to mount files> - provides the absolute path of the directory where the application.yml file available.
  • <path to data folder > - this is the absolute path of the directory in your host machine that is mounted into the container's data path.
  • <path to logs> - this is the absolute path of the directory in your host machine that is mounted into the container's log path.
  • <database password> - this is the password of the database user.

Sample Run Command

docker run -d -v "$(pwd)":/src -v /b2b/IBM/data:/opt/IBM/PCM/sso/data/ -v /b2b/IBM/logs:/opt/IBM/PCM/logs -e APP=cm-ssomigration -e LOGGER_LEVEL=INFO -e DB_PASS=dbPassword123 --name SSOMigrationUtility pem_cm:6.2.2