This topic describes how to connect different network environments when you use ApsaraDB for HBase.

Source cluster network Destination cluster network Supported by Lindorm Tunnel Service (LTS) How to connect networks
VPC Same virtual private cloud (VPC) network Yes Associate your LTS cluster with the source and destination HBase clusters in the LTS console.
VPC Different VPC network Yes
  1. Establish private network connections between VPC networks by using Express Connect circuits. For more information, see Connect to VPCs.
  2. Add the IP addresses of the source and destination HBase clusters to the whitelist of the LTS cluster.
  3. Activate Hadoop Distributed File System (HDFS) for ApsaraDB for HBase clusters.
Classic network Same classic network No
  1. Add the IP addresses of the source and destination HBase clusters to the whitelist of the LTS cluster.
  2. Enable the HDFS and HBase ports in the HBase clusters.
Classic network VPC Yes
  1. Establish a ClassicLink connection for a VPC. A classic network-connected Elastic Compute Service (ECS) instance must be bound to the corresponding ClassicLink connection. For more information, see Overview.
  2. Add the IP addresses of the source and destination HBase clusters to the whitelist of the LTS cluster.
  3. Activate HDFS for ApsaraDB for HBase clusters.
Classic network Classic network for ApsaraDB for HBase No
  1. Purchase several classic network-connected ECS instances.
  2. Add the IP addresses of the source and destination HBase clusters to the whitelist of the LTS cluster.
  3. Activate HDFS for ApsaraDB for HBase clusters.
Classic network for ApsaraDB for HBase VPC No
  1. Purchase several classic network-connected ECS instances and use them as intermediate instances. You can release them after data is migrated. The ECS instances and VPC-connected HBase cluster must be deployed in the same region, for example, China (Shanghai) or China (Hangzhou).
  2. Connect ECS and VPC through ClassicLink.
  3. Add the IP addresses of the source and destination HBase clusters to the whitelist of the LTS cluster.
  4. Activate HDFS for ApsaraDB for HBase clusters.

Notes

You are subject to some limits when you establish connections based on Express Connect or ClassicLink.

Ports for migration

Type Default port Description
fs.default.name 8020 The port for NameNode RPC interaction
dfs.http.address 50070 The port for NameNode management over HTTP
dfs.datanode.ipc.address 50020 The port of the DataNode RPC server
dfs.datanode.address 50010 The port used for DataNode management
zookeeper.property.clientPort 2181 The ZooKeeper port
hbase.regionserver.port 16020 The port bound to the HBase RegionServer
hbase.master.port 16000 The port bound to the HBase Master