Updated on 2024-07-01 GMT+08:00

Configuring CSE

CAE provides Cloud Service Engine (CSE) with service registry, service governance, and configuration management. It allows you to quickly develop microservice applications and implement high-availability O&M.

Prerequisites

You have created a microservice engine instance. For details, see Creating a ServiceComb Engine.

Binding a Microservice Engine

  • Only microservice engines in the Available state can be bound.
  • Multiple microservice engines cannot be bound at the same time.
  • The microservice engine to be bound must be in the same VPC as the environment.
  1. Log in to CAE.
  2. Choose Component Configurations.
  3. Select the target component from the drop-down list in the upper part of the page.

    Figure 1 Selecting a component

  4. Click Configure in the Cloud Service Engine (CSE) module.
  5. Select a microservice engine.

    • Click Exclusive ServiceComb Engines and select a ServiceComb engine.
      Figure 2 Exclusive ServiceComb engines
    • If the existing microservice engines do not meet service requirements:
      1. Click Go to CSE Console to create a microservice engine. For details, see Creating a ServiceComb Engine.
      2. Select the created microservice engine.

  6. Click Save.
  7. Make the configurations take effect.

    • If the component has been deployed, click Activate Settings in the upper part of the page. In the dialog box displayed on the right, confirm the configurations and click OK for the configurations to take effect.
    • If the component has not been deployed, click Set and Deploy Component in the upper part of the page. In the dialog box displayed on the right, click OK. After the deployment is complete, the configurations take effect.
      • After the ServiceComb engine is bound, you can view microservice running metrics and govern microservices based on real-time dashboard data. For details, see Using ServiceComb Engines.
      • After the Nacos engine is bound, you can manage the services registered with the Nacos engine. For details, see Using Nacos Engines.

Viewing Microservice Engine Configurations

  1. Log in to CAE.
  2. Choose Component Configurations.
  3. Select the target component from the drop-down list in the upper part of the page.
  4. Click Configure in the Cloud Service Engine (CSE) module.
  5. View the microservice engine configurations, such as the name, status, version, private IP address, and binding status.

    The bound microservice engine is labeled with Current Configuration.

    Figure 3 Microservice engine configurations

Modifying Microservice Engine Configurations

  1. Log in to CAE.
  2. Choose Component Configurations.
  3. Select the target component from the drop-down list in the upper part of the page.
  4. Click Configure in the Cloud Service Engine (CSE) module.
  5. Select the target microservice engine and click Save.
  6. Click Activate Settings in the upper part of the Component Configurations page.
  7. In the displayed dialog box, confirm the configurations and click OK for the configurations to take effect.

Unbinding a Microservice Engine

  1. Log in to CAE.
  2. Choose Component Configurations.
  3. Select the target component from the drop-down list in the upper part of the page.
  4. Click Configure in the Cloud Service Engine (CSE) module.
  5. Click to disable CSE settings.
  6. Click Save.
  7. In the displayed dialog box, enter SWITCHOFF and click OK.
  8. Click Activate Settings in the upper part of the Component Configurations page.
  9. In the displayed dialog box, confirm the configurations and click OK for the configurations to take effect.