Help Center> Cloud Service Engine> User Guide> Exclusive ServiceComb Engine> Using ServiceComb Engines> Configuration Management (Applicable to Engine 1.x)
Updated on 2024-02-29 GMT+08:00

Configuration Management (Applicable to Engine 1.x)

The configuration added here is a global configuration. After being added, the configuration takes effect immediately if all microservices registered with the engine use it.

If dynamic configuration is set for a single microservice, the dynamic configuration overwrites the global configuration. For details about how to set dynamic configuration, see Dynamic Configuration.

Creating a Configuration

Configuration management provides common configurations for microservices, such as log levels and running parameters. After being added, the configuration item is used as the default one if no same configuration items are defined for microservices.

Configuration items are stored in plaintext. Do not include sensitive data.

  1. Log in to CSE.
  2. Choose Exclusive ServiceComb Engines.
  3. Click the target engine.
  4. Choose Configuration Management.

    • For ServiceComb engines with security authentication disabled, go to 6.
    • For ServiceComb engines with security authentication enabled, go to 5.

  5. In the displayed Security Authentication dialog box, enter the account name and password, and click OK.

  6. Click Create Configuration Item.
  7. On the Create Configuration Item page, select a microservice environment and enter Configuration Item and Value.
  8. Click OK.

Importing Configurations

  1. Log in to CSE.
  2. Choose Exclusive ServiceComb Engines.
  3. Click the target engine.
  4. Choose Configuration Management.

    • For ServiceComb engines with security authentication disabled, go to 6.
    • For ServiceComb engines with security authentication enabled, go to 5.

  5. In the displayed Security Authentication dialog box, enter the account name and password, and click OK.

  6. Click Import.
  7. Select a microservice environment, click Import, and select the target file.

    A maximum of 150 configuration items can be imported at a time.

  8. Click Close.

Exporting Configurations

  1. Log in to CSE.
  2. Choose Exclusive ServiceComb Engines.
  3. Click the target engine.
  4. Choose Configuration Management.

    • For ServiceComb engines with security authentication disabled, go to 6.
    • For ServiceComb engines with security authentication enabled, go to 5.

  5. In the displayed Security Authentication dialog box, enter the account name and password, and click OK.

  6. Click Export All.

Deleting a Configuration

  1. Log in to CSE.
  2. Choose Exclusive ServiceComb Engines.
  3. Click the target engine.
  4. Choose Configuration Management.

    • For ServiceComb engines with security authentication disabled, go to 6.
    • For ServiceComb engines with security authentication enabled, go to 5.

  5. In the displayed Security Authentication dialog box, enter the account name and password, and click OK.

  6. Select the target configuration item and click Delete. You can also click Delete in the Operation column of the target configuration item.
  7. Click OK.

Editing a Configuration

  1. Log in to CSE.
  2. Choose Exclusive ServiceComb Engines.
  3. Click the target engine.
  4. Choose Configuration Management.

    • For ServiceComb engines with security authentication disabled, go to 6.
    • For ServiceComb engines with security authentication enabled, go to 5.

  5. In the displayed Security Authentication dialog box, enter the account name and password, and click OK.

  6. Click Edit in the Operation column of the target configuration item and edit the values of the configuration item.
  7. Click OK.