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.
Currently, it is possible to change the portal relationship type only by using the Qumulo REST API or the
qq CLI. For any questions, contact the Qumulo Care Team.
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.
Read-Write,Read-Only, andPausedportal relationship types remain connected and apply changes as they happen.- For the
Pausedportal relationship type, spoke portal host cluster network outages always interrupt the hub portal host cluster and its other spoke portals. - For the
Suspendedportal relationship type, the spoke portal host cluster disconnects from the hub portal host cluster and applies changes when the relationship resumes. Network outages on
How Portal Relationship Type Changes Work
When you change the portal relationship type, both clusters become unavailable for less than 30 seconds while reconfiguring their systems.
Portal relationship types are ordered from most to least restrictive:
SuspendedPausedRead-OnlyRead-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.
- When the portal relationship type change begins…
- Spoke portal client lose any access that the new portal relationship type restricts
- Any read-write portal relationships report as read-only
- All other portal relationship types keep reporting as before until the current change is complete
- It isn't possible to change the portal relationship type until the current change is complete
- While the portal relationship type change is in progress, the portal relationship enters the
Quiescing,Pausing, orSuspendingstate.
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
Acceptedstate -
PRIVILEGE_PORTAL_HUB_WRITEon 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.
- Spoke portal clients lose access as soon as you begin the portal relationship type change.
- Similarly to deleting a portal relationship, Qumulo Core first synchronizes outstanding changes from the spoke portal. This can take some time.
- A suspended relationship always reports the
Inactivestatus because the spoke portal host cluster is disconnected from the hub portal host cluster. - Don't begin planned maintenance until the suspended relationship reports the
Suspendedtype and theAcceptedstate.
-
Before planned maintenance begins, on the hub portal host cluster, run the
qq portal_modify_hubcommand and specify the hub portal ID and thesuspendedtype. For example:qq portal_modify_hub \ --id 4 \ --type suspended -
To check whether the portal relationship type change is complete, run the
qq portal_get_hubcommand.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/ -
When the spoke portal host cluster network comes online, resume the relationship by running the
qq portal_modify_hubcommand and specifying the relationship type. In this example, we specifyread-write.qq portal_modify_hub \ --id 4 \ --type read-writeThis change takes effect immediately.
Note
The process during which the spoke portal works in the background to apply the changes that it missed while it was suspended can take some time. -
To check that the previous relationship type (in this example,
read-write) has been restored, run theqq portal_get_hubcommand.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/Note
Similarly to first access to any data on a spoke portal, until the spoke portal finishes applying the changes it missed, first client access to a file or directory that changed while the relationship was suspended can take longer than usual.
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.
-
On the hub portal host cluster, run the
qq portal_modify_hubcommand and specify the hub portal ID and theread-onlytype. For example:qq portal_modify_hub \ --id 4 \ --type read-onlyWhile Qumulo Core synchronizes outstanding changes from the spoke portal, the relationship reports the
Quiescingstate.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/ -
To check whether the portal relationship type change is complete, run the
qq portal_get_hubcommand.The relationship becomes read-only when it reports the
ROtype and theAcceptedstate.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.