Files
nexus/knowledgebase/csd-wiki/ICSD/Migrate-roles-newly-added-in-CMS_688996336.md

2.4 KiB

Migrate-roles-newly-added-in-CMS_688996336

Introduction

This topic describes how to migrate roles newly added in CMS.

We provide an sh script to sync newly added CMS roles from IdM to the tenant.

The steps below are per tenant.

Script file

AuthConvergence_migration_Release.sh

Follow these steps:

  1. Upload the script to the control plane node of the suite.
  2. Log in to the control plane node as a root user, copy the script to the toolkit pod, and grant the executable permissions to the script and file.
  3. Go to the toolkit pod and run the following command in the directory where the script is located:
    sh AuthConvergence_migration_Release.sh -a <account_id>
    
    Where <account_id> is the ID of the account for which you want to migrate the roles. For example, sh AuthConvergence_migration_Release.sh -a 123456789

The script will be run if you use the right account_id. You can see the following message after the script is successfully executed:

It will print the task info at last. If some roles have been migrated, the succeeded part should contain values, as shown below.

Introduction

Related pages

Attachments:

image-2025-2-8_15-6-3.png (image/png)
image-2025-2-8_15-6-14.png (image/png)
AuthConvergence_migration_Release.sh (application/x-sh)
AuthConvergence_migration.sh (application/x-sh)