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.

Prerequisites

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).

  1. On one cluster, choose a location for the spoke portal root directory. For example, /remote/projects.

  2. To propose an initial portal relationship, run the qq portal_create command 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.4
    

    The spoke portal enters the Pending portal 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 4 is 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.

    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 Pending portal relationship state.

  3. To check the status of a cluster, run the qq portal_list command. 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.

  1. To find the hub portal ID, run the qq portal_list command.

  2. To accept the proposed portal relationship, run the qq portal_accept_hub command, 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-roots flag to also authorize all pending hub root directories. For example:

    qq portal_accept_hub \
      --id 4 \
      --authorize-hub-roots \
      --spoke-address 203.0.113.5
    

    After a few seconds, the relationship reports the Accepted state and the Active status. 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 Authorized portal 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.

Prerequisites

  • PRIVILEGE_PORTAL_SPOKE_WRITE for modifying a spoke portal

  • PRIVILEGE_PORTAL_HUB_WRITE for 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.

  1. To propose the additional spoke portal root directory from the spoke portal host cluster, run the qq portal_propose_spoke_root command 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 /archive
    

    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/
    Unauthorized  /remote/archive/   /archive/
    
  2. To authorize the corresponding hub portal root directory from the hub portal host cluster, run the qq portal_authorize_hub_root command and specify the portal ID and the hub portal root directory path. For example:

    qq portal_authorize_hub_root \
      --id 4 \
      --hub-root-path /archive
    

    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/
    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.

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.

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.

Prerequisites

  • A spoke portal or hub portal in any portal relationship state.

  • PRIVILEGE_PORTAL_SPOKE_WRITE for deleting a spoke portal

  • PRIVILEGE_PORTAL_HUB_WRITE for 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.

  1. To find the spoke portal ID, run the qq portal_list command. The following is example output.

    Role   ID  Type  Summary  Peer       Root Count
    =====  ==  ====  =======  =========  ==========
    Spoke  2   RW    Healthy  cluster-b  1
    
  2. To initiate the deletion of the spoke portal, run the qq portal_delete_spoke command and specify the spoke portal ID. For example:

    qq portal_delete_spoke --id 2
    

    The relationship becomes read-only and enters the Deleting state. Qumulo Core synchronizes any outstanding changes from the spoke portal to the hub portal and then removes the portal relationship from each cluster.

  3. To monitor the deletion progress, run the qq portal_get_spoke command and specify the spoke portal ID. For example:

    qq portal_get_spoke --id 2
    

    The 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.

Step 2: Delete the Hub Portal

You can delete a hub portal in either the Pending or Accepted portal relationship state.

  1. To find the hub portal ID, run the qq portal_list command. The following is example output.

    Role  ID  Type  Summary  Peer       Root Count
    ====  ==  ====  =======  =========  ==========
    Hub   4   RW    Healthy  cluster-a  1
    
  2. To delete the hub portal, run the qq portal_delete_hub command and specify the hub portal ID. For example:

    qq portal_delete_hub --id 4
    

    The relationship becomes read-only and enters the Deleting state. Qumulo Core synchronizes any outstanding changes from the spoke portal to the hub portal and then removes the portal relationship from each cluster.

    Qumulo Core deletes the hub portal without affecting any of the data on the hub portal host cluster.

  3. To monitor the deletion process, run the qq portal_get_hub command and specify the hub portal ID. For example:

    qq portal_get_hub --id 4
    

    The 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/