This section explains how portal relationship types work in Qumulo Core 7.11.0 (and higher) and shows how to suspend a portal relationship during network maintenance, how to make a portal relationship read-only at the conclusion of a project, and how to make a portal relationship read-write.

How Portal Relationship Types Work

When establishing the initial portal relationship, the spoke portal administrator proposes the initial portal relationship type: read-write or read-only. In Qumulo Core 7.11.0 (and higher), the hub portal administrator can change the portal relationship type whenever the portal relationship is in the Accepted state.

Portal Relationship Types

There are four portal relationship types that limit the operations that spoke portal clients can perform. Portal relationship types never restrict hub portal clients.

Spoke Portal Clients Can… Hub Portal Clients Can…
Portal Relationship Type Write Data Read Data Write Data Read Data
Read-Write ✅ ✅ ✅ ✅
Read-Only ❌ ✅ ✅ ✅
Paused ❌ ❌ ✅ ✅
Suspended ❌ ❌ ✅ ✅

As with every portal type, the hub portal records the changes that the spoke portal requires and the spoke portal applies these changes.

How Portal Relationship Type Changes Work

Portal relationship types are ordered from most to least restrictive:

  1. Suspended
  2. Paused
  3. Read-Only
  4. Read-Write

Changing to a Less Restrictive Portal Relationship Type

Qumulo Core applies the portal relationship type change immediately. Because a more restrictive type has already kept spoke portal clients from making changes, the spoke portal has no outstanding changes to synchronize

Changing to a More Restrictive Portal Relationship Type

Qumulo Core synchronizes any outstanding changes from the spoke portal to the hub portal and then applies the portal relationship type change.

Changing the Portal Relationship Type

This section explains how to suspend a portal relationship during network maintenance, how to make a portal relationship read-only at the conclusion of a project, and how to make a portal relationship read-write.

Prerequisites

  • Two clusters running the same Qumulo Core version (7.11.0 or higher)

  • A portal relationship in the Accepted state

  • PRIVILEGE_PORTAL_HUB_WRITE on the hub portal host cluster

To Change the Portal Relationship Type to Suspended

In scenarios such as when the spoke portal host cluster’s network undergoes planned maintenance during which spoke portal clients don’t require access, the best practice is to change the relationship type to suspended, because the hub portal host cluster is in a relationship with many other spoke portals and because suspending the relationship keeps the network outage from disrupting these other relationships.

  1. Before planned maintenance begins, on the hub portal host cluster, run the qq portal_modify_hub command and specify the hub portal ID and the suspended type. For example:

    qq portal_modify_hub \
      --id 4 \
      --type suspended
    
  2. To check whether the portal relationship type change is complete, run the qq portal_get_hub command.

    The following is example output.

    Role  ID  Type       State     Status    Peer
    ====  ==  =========  ========  ========  =========
    Hub   4   Suspended  Accepted  Inactive  cluster-a
    
    Peer Addresses
    ==============
    203.0.113.5
    
    Root State  Local Path
    ==========  ==========
    Authorized  /projects/
    
  3. When the spoke portal host cluster network comes online, resume the relationship by running the qq portal_modify_hub command and specifying the relationship type. In this example, we specify read-write.

    qq portal_modify_hub \
      --id 4 \
      --type read-write
    

    This change takes effect immediately.

  4. To check that the previous relationship type (in this example, read-write) has been restored, run the qq portal_get_hub command.

    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/
    

To Change the Portal Relationship Type to Read-Only

In scenarios such as when a project comes to a close, the best practice is to change a read-write relationship to read-only, to allow spoke portal clients to read the project data.

  1. On the hub portal host cluster, run the qq portal_modify_hub command and specify the hub portal ID and the read-only type. For example:

    qq portal_modify_hub \
      --id 4 \
      --type read-only
    

    While Qumulo Core synchronizes outstanding changes from the spoke portal, the relationship reports the Quiescing state.

    The following is example output.

    Role  ID  Type  State      Status  Peer
    ====  ==  ====  =========  ======  =========
    Hub   4   RW    Quiescing  Active  cluster-a
    
    Peer Addresses
    ==============
    203.0.113.5
    
    Root State  Local Path
    ==========  ==========
    Authorized  /projects/
    
  2. To check whether the portal relationship type change is complete, run the qq portal_get_hub command.

    The relationship becomes read-only when it reports the RO type and the Accepted state.

    The following is example output.

    Role  ID  Type  State     Status  Peer
    ====  ==  ====  ========  ======  =========
    Hub   4   RO    Accepted  Active  cluster-a
    
    Peer Addresses
    ==============
    203.0.113.5
    
    Root State  Local Path
    ==========  ==========
    Authorized  /projects/
    

To Change the Portal Relationship Type to Read-Write

Run the qq portal_modify_hub command and specify the read-write type.

qq portal_modify_hub \
  --id 4 \
  --type read-write

This change takes effect immediately.