Deployment and Environment Connection
Deploy the ZNS management service and connect the ZSphere environments that need ZNS networking as compute managers.
The ZNS service runs as VMs in ZSphere. ZCenter creates the service VMs and provides access to the management interface. For a first-time deployment, start in ZSphere, then switch to the ZCenter and ZNS management interfaces in that order.
| Stage | Management Interface | Outcome |
|---|---|---|
| Deploy ZCenter | ZSphere | Deploy ZCenter through Platform Service and log in to its management interface. If a service is already available, log in directly. |
| Deploy ZNS | ZCenter | Connect the hosting environment, prepare a ZNS license, deploy a single-node or three-node HA service in Application Center, and open the ZNS management interface. |
| Connect business environments | ZNS | Register the target ZSphere environment as a compute manager, and check the management connection and discovered compute resources. |
The hosting environment provides the compute, storage, and management network resources for the ZNS service VMs. It must be connected to ZCenter before deployment. A business environment provides the hosts and workload VMs that will use ZNS networking. It can be the hosting environment or another ZSphere environment.
When deploying ZNS, you can optionally register business environments automatically. Each selected business environment must already be connected to ZCenter, and you must provide its login credentials. After deployment, open ZNS to check the registration results. If you skip automatic registration, manually register compute managers in the ZNS management interface.
Deployment Preparation
Prepare installation materials, hosting resources, management networks, and connection credentials, and select a ZNS deployment mode.
Installation Materials and Accounts
- Prepare compatible versions of ZSphere, ZCenter, and ZNS. For a first-time ZCenter deployment, prepare the service installation package in QCOW2 format.
- Prepare a Linux system image with ZNS preinstalled and add it to the hosting environment. For instructions, see Add an Image.
- Prepare the SSH username, port, and password for VMs created from the image, and ensure that ZCenter can access the nodes over SSH. After the hosting environment is connected to ZCenter and image synchronization is complete, configure the image login information in ZCenter.
- Use the admin user in ZSphere to deploy ZCenter. Use the built-in super administrator account in ZCenter to prepare the license and deploy ZNS.
- Prepare a ZNS license. For instructions on obtaining and uploading the license, see Prepare a ZNS License.
Deployment Modes and Resources
| Deployment Mode | Number of Service VMs | Usage |
|---|---|---|
| Single node | 1 | Provides access through the node management IP address. Suitable for lightweight usage scenarios. |
| Three-node HA | 3 | Provides access through a virtual IP address. Prepare resources for three nodes and reserve a virtual IP address on the management network. |
Each ZNS service VM defaults to 4 vCPUs and 8 GiB of memory. The root disk capacity depends on the selected image and must be at least as large as the image. Prepare sufficient compute and storage resources for the selected deployment mode, along with an image and distributed port group available to the target cluster.
You can also enable node VM high availability during deployment to automatically migrate and restart node VMs if their host fails. This setting is independent of ZNS three-node HA. Before enabling it, ensure that the hosting environment meets the VM high availability requirements.
Management Networks and Addresses
- The client can access the management interfaces of all three components.
- ZCenter can access the management node API of the hosting environment and the management IP addresses of the ZNS nodes.
- Prepare a management IP address for each ZNS node. If using DHCP, the selected distributed port group must be able to assign addresses reachable from ZCenter.
- For three-node HA, reserve an additional unused IPv4 address on the management network as the virtual IP address. It must differ from all node management IP addresses. Enter the address without a subnet mask.
- ZNS can access the management node API of each business environment to be registered.
Environment Connection Credentials
The hosting and business environments can be the same environment, but the two connections use different credentials.
| Connection | Required Addresses | Required Credentials |
|---|---|---|
| Connect the hosting environment to ZCenter | The ZSphere management interface address and management node API address | The AccessKey ID and AccessKey Secret of the target environment. For instructions on generating them, see Generate an AccessKey. |
| Register a business environment with ZNS | The management node API address of the target ZSphere environment | The login username and password of an account with the required resource management permissions in the target environment. |
To register a business environment automatically during deployment, first connect it to ZCenter. Eligible environments must be connected ZSphere environments with an identifiable version of 5.2.0 or later. You can also skip automatic registration and register compute managers directly in ZNS after deployment.
Deploy ZCenter Service
Upload the ZCenter installation package and deploy ZCenter Service in ZSphere.
Before you begin
- You are logged in to the ZSphere management interface as the admin user.
- You have obtained the ZCenter installation package in QCOW2 format.
- An image storage, host, and data storage with normal status and sufficient capacity are available.
- A distributed port group is available for the service VM. To upload the package from a URL, make sure that the management node can access the URL.
Procedure
Results
The platform creates the service VM and installs ZCenter. After deployment, click View on the ZCenter Service card in All Services to view service status and configuration information.
What to do next
Use the Go entry on the service page to open the ZCenter management interface and log in, then continue connecting environments for centralized management.
Log In to ZCenter
From the Platform Service page in ZSphere, open ZCenter and log in with a local account.
Before you begin
- ZCenter Service has been deployed.
- You are logged in to the ZSphere management interface and can view the ZCenter Service page.
- Your client can access the ZCenter management interface.
- You have obtained the username and password of a local ZCenter account.
Procedure
Results
After you log in, you have switched from the ZSphere management interface to the ZCenter management interface. Available menus and operations depend on your account permissions.
What to do next
- After logging in with the initial password for the first time, follow Change the Login Password to change the initial password.
- If a ZSphere environment to be managed has not been connected, see Connect a ZSphere Environment. After the environment is connected and resource synchronization is complete, its resources are available in Inventory.
Connect a ZSphere Environment
Add a ZSphere environment to ZCenter and synchronize its resources for centralized management.
Before you begin
- You are logged in to the ZCenter management interface, and your account has permission to add management nodes.
- You have obtained the management interface address and API address of the target ZSphere environment and ensured that they are reachable over the network.
- You have obtained a valid AccessKey ID and AccessKey Secret from the target ZSphere environment. The account that owns the AccessKey has the required resource management permissions. For instructions on generating an AccessKey, see Generate an AccessKey.
About this task
In ZCenter, a connected ZSphere environment is called a management node.
Procedure
Results
After creation succeeds, the newly connected environment appears in the management node list, and ZCenter starts synchronizing its resources.
What to do next
- Click the management node name. On the Overview tab of the details page, check Account Information. Confirm that Status is Connected, and wait until Sync Status changes to Synced.
- Select the environment in Inventory to view its synchronized resources.
Prepare a ZNS License
Download a request key, upload a license, and check the license status of the ZNS network service in ZCenter.
Before you begin
You are logged in to the ZCenter management interface with the built-in super administrator account.
Procedure
Results
A valid ZNS network service license is available in ZCenter.
What to do next
Deploy the service in Application Center. For instructions, see Deploy the ZNS Service.
Deploy the ZNS Service
Select a hosting environment in ZCenter Application Center to create ZNS service VMs and deploy the service.
Before you begin
- You are logged in to the ZCenter management interface with the built-in super administrator account.
- You have completed Deployment Preparation and Prepare a ZNS License.
- The hosting environment is connected to ZCenter, its connection is normal, and resource synchronization is complete. For connection instructions, see Connect a ZSphere Environment.
- A Linux image with ZNS preinstalled is available in the hosting environment, and its SSH login information is configured in ZCenter. Open and select Configuration Info from Actions in the target image's row. For instructions, see Configure Image Login Information.
Procedure
Results
The ZNS service is deployed, and Application Center provides access to its management interface.
What to do next
Open the management interface to check the compute manager registration results for the business environments, or register them manually. See Open the ZNS Management Interface.
Open the ZNS Management Interface
Open the ZNS management interface from ZCenter Application Center to connect environments and configure networks.
Before you begin
- You are logged in to ZCenter with the built-in super administrator account.
- The ZNS application is installed, its service instance is enabled, and the management service is accessible.
Procedure
- In ZCenter, open Application Center.
- In All Applications, find the ZStack ZNS Network Service card and click Open console.
Results
You have opened the ZNS management interface from ZCenter Application Center.
What to do next
When you first open the interface, confirm that the target business environment is connected. See Register and Check a Compute Manager.
Register and Check a Compute Manager
Connect a target ZSphere business environment to ZNS, and check the connection and compute resource discovery results.
Before you begin
- You have opened the management interface as described in Open the ZNS Management Interface.
- You have obtained the management node API address of the target business environment and the login username and password of an account with the required resource management permissions.
- ZNS can access the management node API of the target business environment.
About this task
If you selected automatic business environment registration when deploying ZNS, check the registration results here as well. Each compute manager corresponds to one business environment. Its clusters, hosts, and other compute resources are used by ZNS to organize sites and Fabric.
Procedure
Results
The target ZSphere business environment is connected to ZNS as a compute manager. The management connection is normal, and the relevant compute resources have been discovered.
What to do next
To prepare workload network infrastructure for this environment, see Sites and Fabric.
