This section explains how to use the Cloud Data Fabric functionality in Qumulo Core by creating a spoke portal on one cluster, proposing a portal relationship to another cluster (which creates the hub portal), and authorizing the relationship by using the qq CLI.
Configuring a Portal Relationship Between Two Qumulo Clusters
This section explains how to configure a portal relationship between two Qumulo clusters by using the qq CLI.
- Before you begin to implement Cloud Data Fabric in your organization, we strongly recommend reviewing the How Cloud Data Fabric Works and Known Limits sections.
- For any questions, contact the Qumulo Care Team.
Prerequisites
-
Two clusters with the same Qumulo Core version
-
Bidirectional network connectivity on TCP port 3713 between:
-
The cluster that shares a portion of its file system for the spoke portal root directory
-
The cluster that shares a portion of its file system for the hub portal root directory
-
-
PRIVILEGE_PORTAL_GLOBAL_READ: Listing portal file systems and testing connectivity to other clusters -
Spoke portals
-
PRIVILEGE_PORTAL_SPOKE_EVICT: Removing individual cached files and directories from a spoke portal -
PRIVILEGE_PORTAL_SPOKE_READ: Viewing the status of a single spoke portal and viewing the free threshold for automatic cache management -
PRIVILEGE_PORTAL_SPOKE_WRITE:-
Creating a spoke portal
-
Proposing a relationship with a hub portal
-
Configuring the free threshold for automatic cache management
-
-
-
Hub portals
-
PRIVILEGE_PORTAL_HUB_READ: Viewing the status of a specific hub portal -
PRIVILEGE_PORTAL_HUB_WRITE:-
Authorizing a hub portal
-
Confirming a relationship with a spoke portal
-
In Qumulo Core 7.11.0 (and higher), changing the type of a portal relationship
-
-
- If both of the clusters use Active Directory, they must be joined to the same domain or each cluster must be joined to Active Directory domains that have a two-way trust relationship to each other.
- In Qumulo Core 7.5.0.1 to 7.5.1, it is possible for a Qumulo cluster to host only up to 32 hub portals or up to 32 spoke portals.
Step 1: Create the Spoke Portal
This section explains how to create the spoke portal on one cluster and propose the creation of a portal relationship to another cluster (which creates the hub portal).
- We strongly recommend using the
qq portal_createcommand with the--hub-hostsflag to spread the workload across all nodes on the hub portal host cluster. - For the command to succeed, don't use the backslash (
\) to break the list of IP addresses across multiple lines. - While using multiple IP addresses greatly helps with resilience, it isn't required. It is possible to run this command with:
- A single IP address
- Multiple IP addresses
- A single IP address for each remote node
-
On one cluster, choose a location for the spoke portal root directory. For example,
/remote/projects. -
To propose an initial portal relationship, run the
qq portal_createcommand and specify the spoke portal root directory, the proposed hub portal root directory on that cluster, and the IP addresses of the nodes in the remote cluster.For example:
qq portal_create \ --spoke-root /remote/projects \ --hub-root /projects \ --hub-hosts 203.0.113.1,203.0.113.2,203.0.113.3,203.0.113.4The spoke portal enters the
Pendingportal relationship state. The following is example output.Role ID Type State Status Peer ===== == ==== ======= ======== ========= Spoke 2 RW Pending Inactive cluster-b Peer Addresses ============== 203.0.113.1-4 Root State Local Path Remote Path ============ ================= =========== Unauthorized /remote/projects/ /projects/Hub Portal ID
4is the ID that the hub portal host cluster allocates for this portal relationship. You can use it to accept the relationship on the hub portal host cluster as described later.Note
- We recommend using floating IP addresses.
- Qumulo Core doesn't support fully qualified domain names (FQDNs) for this operation.
- Portal IDs are unique within each cluster. It isn't possible to use a portal ID from a spoke portal to identify the other side of the relationship, or the other way around.
When Qumulo Core can’t establish a connection from the spoke portal host cluster to the hub portal host cluster, it displays an error message. Try re-establishing the portal relationship.
When the portal relationship is established, both spoke portal and hub portal enter the
Pendingportal relationship state.Note
In this state, the spoke portal root directory is empty and Qumulo Core doesn’t transfer any data until the hub portal authorizes access to the hub portal root directory. -
To check the status of a cluster, run the
qq portal_listcommand. The following is example output.-
From the spoke portal host cluster
Role ID Type Summary Peer Root Count ===== == ==== ======= ========= ================== Spoke 2 RW Pending cluster-b 1 (1 unauthorized) -
From the hub portal host cluster
Role ID Type Summary Peer Root Count ==== == ==== ======= ========= ================== Hub 4 RW Pending cluster-a 1 (1 unauthorized)
-
Step 2: Accept the Portal Relationship
This section explains how to accept the portal relationship from the hub portal to the spoke portal.
This action makes both clusters in the portal relationship unavailable for less than 30 seconds while the systems reconfigure.
-
To find the hub portal ID, run the
qq portal_listcommand.Tip
To retrieve portal configuration information, run theqq portal_list_spokesandqq portal_list_hubscommands. -
To accept the proposed portal relationship, run the
qq portal_accept_hubcommand, specify the hub portal ID and the IP address that the current cluster can use to contact the cluster that proposed the relationship, and use the--authorize-hub-rootsflag to also authorize all pending hub root directories. For example:qq portal_accept_hub \ --id 4 \ --authorize-hub-roots \ --spoke-address 203.0.113.5Note
Portal IDs are unique within each cluster. It isn't possible to use a portal ID from a spoke portal to identify the other side of the relationship, or the other way around.After a few seconds, the relationship reports the
Acceptedstate and theActivestatus. The following is example output.Role ID Type State Status Peer ==== == ==== ======== ====== ========= Hub 4 RW Accepted Active cluster-a Peer Addresses ============== 203.0.113.5 Root State Local Path ========== ========== Authorized /projects/After a few seconds, the spoke portal enters the
Authorizedportal root directory state as well. You can now use the spoke portal root directory.
Configuring Additional Spoke Portal Root Directories for an Existing Portal Relationship
In Qumulo Core 7.6.2 (and higher), it is possible to configure up to 32 spoke portal root directories for each Qumulo cluster, for each portal relationship. This section explains how to configure an additional spoke portal root directory, how to remove access from a hub portal root directory, and how to remove a spoke portal root directory by using the qq CLI.
Configuring an additional spoke portal root directory can be useful when it is necessary to provide access to individual directories rather than the contents of the entire file system on the hub portal host cluster.
Prerequisites
-
PRIVILEGE_PORTAL_SPOKE_WRITEfor modifying a spoke portal -
PRIVILEGE_PORTAL_HUB_WRITEfor modifying a hub portal
To Configure an Additional Spoke Portal Root Directory
For portal relationships in the Pending or Accepted state, you can configure an additional spoke portal root directory by proposing the additional spoke portal root directory and then authorizing the corresponding hub portal root directory.
-
To propose the additional spoke portal root directory from the spoke portal host cluster, run the
qq portal_propose_spoke_rootcommand and specify the portal ID, the spoke portal root directory path, and the hub portal root directory path. For example:qq portal_propose_spoke_root \ --id 2 \ --spoke-root-path /remote/archive \ --hub-root-path /archiveThe following is example output.
Role ID Type State Status Peer ===== == ==== ======== ====== ========= Spoke 2 RW Accepted Active cluster-b Peer Addresses ============== 203.0.113.1-4 Root State Local Path Remote Path ============ ================= =========== Authorized /remote/projects/ /projects/ Unauthorized /remote/archive/ /archive/ -
To authorize the corresponding hub portal root directory from the hub portal host cluster, run the
qq portal_authorize_hub_rootcommand and specify the portal ID and the hub portal root directory path. For example:Note
It is possible to use an existing hub portal root directory which you have already authorized. In this scenario, the additional spoke portal root directory will be in theAuthorizedstate immediately.qq portal_authorize_hub_root \ --id 4 \ --hub-root-path /archiveThe following is example output.
Role ID Type State Status Peer ==== == ==== ======== ====== ========= Hub 4 RW Accepted Active cluster-a Peer Addresses ============== 203.0.113.5 Root State Local Path ========== ========== Authorized /projects/ Authorized /archive/
To Remove Access from a Hub Portal Root Directory
Run the qq portal_deny_hub_root
command and specify the portal ID and the hub portal root directory path.
It isn’t possible to use the
portal_deny_hub_root command to restrict access to a subdirectory of a hub portal root directory. For example, if hub portal root directories are nested, removing access from a child hub portal root directory doesn’t deny access from the corresponding parent hub portal root directory.
For example:
qq portal_deny_hub_root \
--id 4 \
--hub-root-path /archive
Qumulo Core removes the authorization from the hub portal root directory. The following is example output.
Role ID Type State Status Peer
==== == ==== ======== ====== =========
Hub 4 RW Accepted Active cluster-a
Peer Addresses
==============
203.0.113.5
Root State Local Path
============ ==========
Unauthorized /archive/
Authorized /projects/
To Remove a Spoke Portal Root Directory
Run the qq portal_delete_spoke_root
command and specify the portal ID and the spoke portal root directory path.
- This operation doesn't affect any data on the hub portal host cluster, any unsynchronized data in the spoke portal root directory, or the portal relationship.
- To restore the spoke portal root directory, you can propose a new spoke portal root directory.
- When there are no more spoke portal root directories that correspond to a particular hub portal root directory, Qumulo Core removes that hub portal root directory from the portal relationship automatically.
For example:
qq portal_delete_spoke_root \
--id 2 \
--spoke-root-path /remote/archive
Qumulo Core removes access to the hub portal root directory for any spoke portal host cluster clients. The following is example output.
Role ID Type State Status Peer
===== == ==== ======== ====== =========
Spoke 2 RW Accepted Active cluster-b
Peer Addresses
==============
203.0.113.1-4
Root State Local Path Remote Path
========== ================= ===========
Authorized /remote/projects/ /projects/
Deleting a Portal Relationship Between Two Qumulo Clusters
When you delete the spoke portal and the hub portal (in any order), the portal relationship is deleted completely. This section explains how to delete a portal relationship between two Qumulo clusters by using the qq CLI.
This action makes both clusters in the portal relationship unavailable for less than 30 seconds while the systems reconfigure.
Prerequisites
-
A spoke portal or hub portal in any portal relationship state.
Important
In Qumulo Core 7.11.0 (and higher), while the type of the relationship changes, you can delete it only by using the--forceflag. -
PRIVILEGE_PORTAL_SPOKE_WRITEfor deleting a spoke portal -
PRIVILEGE_PORTAL_HUB_WRITEfor deleting a hub portal
Step 1: Delete the Spoke Portal
You can initiate the deletion of a spoke portal in the Pending or Accepted portal relationship state. This section explains how to delete the spoke portal from a portal relationship.
-
To find the spoke portal ID, run the
qq portal_listcommand. The following is example output.Role ID Type Summary Peer Root Count ===== == ==== ======= ========= ========== Spoke 2 RW Healthy cluster-b 1 -
To initiate the deletion of the spoke portal, run the
qq portal_delete_spokecommand and specify the spoke portal ID. For example:qq portal_delete_spoke --id 2The relationship becomes read-only and enters the
Deletingstate. Qumulo Core synchronizes any outstanding changes from the spoke portal to the hub portal and then removes the portal relationship from each cluster.Note
In Qumulo Core 7.11.0 (and higher), aRead-Only,Paused, orSuspendedrelationship whose type doesn’t change has nothing to synchronize. Qumulo Core removes such relationships immediately. -
To monitor the deletion progress, run the
qq portal_get_spokecommand and specify the spoke portal ID. For example:qq portal_get_spoke --id 2The following is example output.
Role ID Type State Status Peer ===== == ==== ======== ====== ========= Spoke 2 RO Deleting Active cluster-b Peer Addresses ============== 203.0.113.1-4 Root State Local Path Remote Path ========== ================= =========== Authorized /remote/projects/ /projects/When the synchronization process is complete and the spoke portal configuration is removed, Qumulo Core begins to reclaim the spoke portal’s cluster capacity in the background.
Important
-
A spoke portal with connectivity issues receives the following status, which can cause the deletion of a portal relationship to stall in the
Deletingstate.- Qumulo Core 7.10.1 (and higher):
Disconnectedstatus - Qumulo Core versions lower than 7.10.1:
Degradedstatus
- Qumulo Core 7.10.1 (and higher):
- If it isn't possible to restore connectivity between portals, you can delete a spoke portal with any status and in any state by running the
qq portal_delete_spokecommand with the--forceflag. At the end of this operation, Qumulo Core keeps all synchronized changes on the hub portal and discards all unsynchronized changes from the spoke portal.
-
Step 2: Delete the Hub Portal
You can delete a hub portal in either the Pending or Accepted portal relationship state.
This action makes the spoke portal root directory and all cached data inaccessible.
-
To find the hub portal ID, run the
qq portal_listcommand. The following is example output.Role ID Type Summary Peer Root Count ==== == ==== ======= ========= ========== Hub 4 RW Healthy cluster-a 1 -
To delete the hub portal, run the
qq portal_delete_hubcommand and specify the hub portal ID. For example:qq portal_delete_hub --id 4The relationship becomes read-only and enters the
Deletingstate. Qumulo Core synchronizes any outstanding changes from the spoke portal to the hub portal and then removes the portal relationship from each cluster.Note
In Qumulo Core 7.11.0 (and higher), aRead-Only,Paused, orSuspendedrelationship whose type doesn’t change has nothing to synchronize. Qumulo Core removes such relationships immediately.Qumulo Core deletes the hub portal without affecting any of the data on the hub portal host cluster.
-
To monitor the deletion process, run the
qq portal_get_hubcommand and specify the hub portal ID. For example:qq portal_get_hub --id 4The following is example output.
Role ID Type State Status Peer ==== == ==== ======== ====== ========= Hub 4 RO Deleting Active cluster-a Peer Addresses ============== 203.0.113.5 Root State Local Path ========== ========== Authorized /projects/