HCP Replication
HCP Replication
In this lab, we will configure replication between 2 of the HCP systems in this lab.
This lab has many systems and other products that we will not be using. The full lab diagram is
at this link.
The product documentation that we will be referencing is called Replicating Tenants and
Namespaces and is located at this link.
KNOW: HCP offers Active-Active and Active-Passive configurations. The documentation (starting
at page 13) has a detailed explanation of these and the many ways to combine them.
KNOW: Active-Active replication is metadata-first, and the objects themselves are replicated in a
leisurely fashion at a future time, so objects will appear replicated before they truly are. This is best
used to provide a cloud-like experience where requests to any HCP with a replica can serve any
replicated namespace and load can be balanced with a load balancer or round-robin DNS
configuration.
KNOW: With Active-Passive, the metadata is copied with the object, allowing clarity on exactly what
has been replicated. This is best suited for backup or disaster-recovery configurations.
KNOW: Configuring the replication links presumes that the HCP systems already have IP routing
between their respective VLANs and DNS resolution of each other.
DO: We will be executing the steps starting at page 65 in the documentation.
Click Next
Use this name for the other HCP: replication.hcp2.hcpdemo.com.
Click Next, review the config and Finish.
Browse to HCP2 Services > Replication > Overview and verify that the link is created and its
status is Synchronizing Data.
2. Create a Namespace
Under Namespaces, select Create Namespace. Use these parameters:
Name: NS-Rep
Hard Quota: 1G
Configure Features: Replication: On
KNOW: Namespaces can be modified in future to have replication enabled or disabled. The
setting is found by expanding the namespace then Services > Replication.
6: Confirm replication
3. Upload a document
On the top right, click the Upload Object button.
Browse to select a file. The bookmarks file on the desktop is a good choice, but any file will do.
Select Upload to input the document to HCP2.
END LAB