Document navigation

Deployment and Initialization

Prepare an accessible ZLR management service and initialized local sites for cross-site disaster recovery.

ZLR is deployed independently as a service VM at each disaster recovery site. Each service instance is bound to a single local infrastructure platform and site identity. Each site requires separate deployment and initialization.

Deployment and initialization involve two management UIs with the following responsibilities:

  • The ZSphere management UI provides service deployment and access entry points. The infrastructure platform creates and hosts the service VM.
  • The ZLR management UI provides local site initialization. Using a local administrator account, you complete site registration, platform binding, and data replication network configuration.

After initialization, ZLR has an established local site identity and can access the local infrastructure platform. The two initialized sites can be paired to configure cross-site protection.

Deploy ZLR Service

Upload the ZLR installation package and deploy ZLR Service in ZSphere.

Before you begin

  • You are logged in to the ZSphere management interface as the admin user.
  • You have obtained the ZLR installation package in QCOW2 format.
  • An image storage, host, and data storage with normal status and sufficient capacity are available.
  • A distributed port group and a management IP address have been planned for the service VM. The network must be available on the target host, and your client must be able to access the service management interface through this network.
  • To upload the package from a URL, the management node must be able to access the URL.

About this task

Perform this task in the ZSphere management interface. The platform creates the ZLR service VM based on the installation package and resource configuration, and provides access to the console. Deploy the service separately on the infrastructure platform at each site.

Procedure

  1. In ZSphere, choose Platform Service > All Services.
  2. On the ZLR Service card, click Deploy.
  3. In the deployment drawer, click Upload Package and configure the package upload settings.
    Option Description
    Upload By

    Select how to upload the installation package:

    • URL: Upload the package from an HTTP or HTTPS URL that ends with .qcow2.
    • Local File: Select a QCOW2 package from your local computer.
    URL/Installation Package Enter the package URL or select a local package. The displayed option depends on the selected upload method.
    Image Storage Select the image storage where the service package is stored.
  4. Click Upload and wait for the upload to complete.
    After the upload is complete, click Reupload if you need to replace the installation package.
  5. In the Deploy ZLR Service step, click Deploy.
  6. In the Deploy ZLR Service dialog box, configure the service VM.
    Option Description
    Service Name Enter a name for ZLR Service.
    Host UUID Select the host on which the service VM runs under its cluster. Only enabled and connected hosts are displayed. If you switch to a host in another cluster, select the data storage and distributed port group again.
    CPU Specify the number of CPUs for the service VM. Default: 8.
    Memory Specify the memory capacity for the service VM. Default: 16 GB.
    Data Storage UUID Select a data storage compatible with the target host for the system disk of the service VM. Candidate data storages must be enabled, connected, and attached to the cluster of the selected host.
    Distributed Port Group Select the distributed port group for the service VM. The network must be available on the target host.
    IP Address

    Configure the IPv4 address of the service VM:

    • If DHCP is enabled on the distributed port group, leave this option empty to have the system automatically assign an address.
    • If IP address management is enabled on the distributed port group, the manually specified address must be within the selected network segment.
    Netmask If DHCP is not enabled on the distributed port group, enter the netmask for the service VM IP address.
    Gateway If DHCP is not enabled on the distributed port group, enter the gateway address used by the service VM.
  7. Click Deploy.

Results

The platform creates the service VM and installs ZLR. After deployment, click View Overview in the ZSphere management interface to view service information. From the service overview, open the ZLR console to continue configuring sites and protection.

To log in to the service VM terminal, see Log In to the ZLR Service VM.

Note:
If the package upload fails, click Reupload to upload the package again. If service deployment fails, click Deploy, and then click Clear and Redeploy in the Redeploy ZLR Service dialog box. Reconfigure and deploy the service.

Log In to ZLR

From the Platform Service page in ZSphere, open ZLR and log in with a local account.

Before you begin

  • You have completed Deploy ZLR Service.
  • You are logged in to the ZSphere management interface and can view the ZLR service page.
  • Your client can access the ZLR management interface.
  • You have obtained the username and current password of a local ZLR account. A local administrator account is required to initialize the local site for the first time.

Procedure

  1. In ZSphere, choose Platform Service > All Services. On the deployed ZLR Service card, click View.
  2. On the service page that opens, click Go in the page banner to open the ZLR login page.

    Alternatively, enter the ZLR access address directly in your browser. The default format is http://ZLR_IP:3200, where ZLR_IP is the service IP address.

  3. On the ZLR login page, select the Local User tab and enter your username and password.
    When first using the initial system administrator account, the username is admin and the initial password is password. If the password has been changed, use the updated password. Before the local site is initialized, Platform User login is unavailable. Use a local administrator account to log in.
  4. Click Log In.

Results

After you log in, you have switched from the ZSphere management interface to the ZLR management interface. If the local site has not been initialized, continue with Initialize the Local Site. Otherwise, you enter the console, where available menus and operations depend on your account permissions.

Initialize the Local Site

Confirm the local site, configure the data replication network, and complete registration and self-check.

Before you begin

  • You have deployed ZLR Service at this site, logged in to ZLR with a local administrator account, and entered the initialization wizard.
  • ZLR can access the local platform management node.
  • You have planned the data replication network. This network must be able to reach the network of the ZLR service VM, which in turn must be able to reach the platform management network.

About this task

Each ZLR instance is bound to a single local infrastructure platform and site identity. Initialize the two sites separately.

Note:
You can change the site display name after initialization. Changing the bound platform management node or site identity requires clearing and redeploying the service.

Procedure

  1. On the Confirm Local Site page, verify the following information, set Site Display Name, and click Next.
    OptionDescription
    Management Node Provided by the infrastructure platform. Verify that it matches the management node used to deploy the service at this site. You do not need to enter it again.
    Site ID Provided by the system to identify the local site. It cannot be edited.
    Site Display Name Required. The name must be 1–128 characters long and can contain Chinese characters, English letters, numbers, and - _ . : + ( ). Spaces are allowed between name parts, but not at the beginning or end.
  2. On the Configure Data Replication Network page, select a Network Configuration option, complete the configuration, and click Next.
    OptionDescription
    Reuse management network Use host management IP addresses to transfer replication data. Verify the displayed Host Management IP, which belongs to the host running the ZLR service VM.
    Specify network Enter an IPv4 network address in Data Replication Network CIDR, for example, 172.21.0.0/24. Each host that transfers data must have exactly one matching address.

    This configuration is used to send and receive replication data at this site. It does not create a network or change the management IP address of the service VM.

    After the network check passes, the Registration and Self-Check page opens.
  3. Complete Registration and Self-Check.
    1. Review Configuration Summary and click Start Initialization.
      Before initialization starts, you can click Back to change the configuration. You cannot go back after it starts. The system automatically registers the local site, establishes the platform binding, installs the default replication server, and runs the self-check.
    2. Wait for initialization and self-check to complete, and review the execution status and check results.
      The status refreshes automatically while initialization is still in progress or the management service is not yet ready.
    3. After initialization completes, the management service is ready, and no blocking issues remain, click Go to Home and verify the current site name.
      If the system has already opened Home automatically, verify the site name directly.

Results

The local site is initialized and bound to the local platform, and the ZLR Home page opens.

What to do next

Confirm that deployment and initialization are also complete at the other site before establishing a site pair.