Updated on 2023-11-03 GMT+08:00

Namespaces

Introduction

A namespace is a collection of all resources (traffic input, multi-active areas, data synchronization records, and monitoring information) for a MAS instance. You can create a namespace for each system (such as OA and payment systems) to isolate resources.

Creating a Namespace

  1. On the MAS console, click Namespaces and click Create Namespace in the upper right corner.
  2. Configure the namespace and click OK.

    Figure 1 Creating a namespace

    Table 1 Namespace parameters

    Parameter

    Description

    Type

    Select a namespace type.

    • Intra-city multi-active: Deploy your subsystems in the same region and less than 50 km from each other.
    • Remote multi-active (coming soon): Deploy at least one subsystem in a different region and more than 300 km from any other subsystem.
    • Remote geographic-redundancy: Deploy at least one subsystem in a different region and more than 300 km from any other subsystem.

    Name

    Customize a name for the namespace.

    Description

    Enter a description about the namespace.

    Enterprise Project

    Select an enterprise project. You can associate a namespace with the enterprise project. This is available only for enterprise accounts.

    Multi-Active Area

    There are two kinds of clouds for you to deploy your active and standby multi-active areas:

    • Huawei Cloud
    • Third-party data center

    Area Name

    Customize the names for the multi-active areas.

    Description

    Enter the descriptions for the multi-active areas.

    Regions

    Configure the regions for the multi-active areas.

    Region Code

    Configure the region codes for the multi-active areas.

    Default Credential

    Configure the credentials for the multi-active areas. The credentials configured here will be displayed when Creating a Data Source.

    MAS can access different resources based on the credential. The default value Current Account Credential indicates that MAS can access the resources under the current account.

    For details about credentials, see Credential Management.

    Default Project

    The Identity and Access Management (IAM) projects to which the resources belong. You can select the default IAM project or enter a project ID.

    A project is preset in each region by default. IAM users can be granted permissions in a default project to access all resources in the region associated with the project.

    AZ

    Select the availability zones (AZs) for the multi-active areas. AZs are physically isolated but connected through an internal network.

    Features

    Select the features to be enabled. If no features are available, see Enabling a Module.

    NOTE:

    Enable corresponding features before you create data sources and monitors.

Viewing a Namespace

On the namespace details page, the type, enabled features, multi-active areas and their AZs, data sources, and data sync links are shown.

  1. On the MAS console, click Namespaces. On a namespace card, choose Operation > Details.

    Alternatively, you can click a namespace's name to view its details.

  2. View namespace information.

    Figure 2 Viewing namespace information

  3. (Optional) Click Create Data Source. For details, see Creating a Data Source.
  4. (Optional) Click Create Sync Link. For details, see Creating a Sync Link.

Modifying a Namespace

  1. On the MAS console, click Namespaces. On a namespace card, choose Operation > Modify.

    Alternatively, you can click Modify on the namespace details page.

  2. Modify the namespace and click OK.

Deleting a Namespace

  1. On the MAS console, click Namespaces. On a namespace card, choose Operation > Delete.
  2. Click OK to delete the namespace.

    If a namespace has dependent instances and data sources, it cannot be deleted.