Create logical units

Updated at:

Before you deploy application services using LHC, you must define the logical units for your system. These logical units, also known as zones, are the foundation of a unitized architecture. You can deploy your system in different types of logical units based on your business needs.

  • An RZone (Region Zone) is used to deploy key business systems that are sharded by user dimension. In an RZone, core services and data are split into units where the shards are balanced. Each unit is self-contained, has its own data, and can handle all business operations. A region can contain multiple RZones.

  • A GZone (Global Zone) is used to deploy systems that are not sharded by user dimension. RZones depend on GZones. A GZone provides non-shardable data and services, such as configuration-related services. Its database can be shared with RZones and supports multi-tenant data isolation. There is only one GZone, and you can configure traffic weights for it.

  • A CZone (City Zone) is used to deploy systems that are not sharded by user dimension. RZones frequently access CZones to reduce cross-domain communication latency. A CZone is designed to address latency issues across different geographic locations and is suitable for read-heavy, write-light, and non-shardable services. Typically, each city has one set of applications and data, which acts as a snapshot of the GZone.

1.jpg

Procedure

Note

When you create a unitized workspace, the system automatically plans the logical and deployment units. For more information, see Create a unitized workspace. You can modify, add, or delete logical units as needed before you publish application services.

  1. Log on to the console. In the navigation pane on the left, click Global Settings to open the workspace card page.

  2. Click the card of the workspace that you want to modify to open the workspace details page.

  3. Select the Unit Architecture tab and click Edit. The architecture topology becomes editable.

  4. You can add and delete logical units as needed:

    • Add: Click Add, select an existing zone, and then add the new logical unit.

      Note

      Only logical units of the RZone type can be added. The logical unit name must start with RZ and be 3 to 8 characters long. Use the naming convention AbbreviatedLogicalUnitType+Number, such as RZ03.

    • Delete: Click the delete icon for the logical unit that you want to delete, and then click OK in the confirmation dialog box.