Skip to content

Instantly share code, notes, and snippets.

@mbaldessari
Last active March 6, 2025 13:13
Show Gist options
  • Save mbaldessari/c65140ab5e7e8041d83a07f985896711 to your computer and use it in GitHub Desktop.
Save mbaldessari/c65140ab5e7e8041d83a07f985896711 to your computer and use it in GitHub Desktop.
CNSA
graph TD
W1["Worker 1<br><small>Storage</small>"]
W2["Worker 2<br><small>Storage</small>"]
W3["Worker 3<br><small>Storage</small>"]
W4["Worker 4<br><small>Storage</small>"]
W5["Worker 5<br><small>GPFS Client</small>"]
W6["Worker 6<br><small>GPFS Client</small>"]
W7["Worker 7"]
W8["Worker 8"]
subgraph Shared_Storage_Group["In IBM cluster obj (1)"]
LUN["LUN 1"] --- W1
LUN --- W2
LUN --- W3
LUN2["LUN 2"] --- W2
LUN2 --- W3
LUN2 --- W4
W5
W6
subgraph DirectLun["Direct Lun - NSD"]
W1
W2
W3
W4
end
subgraph NonDirectLun["Indirect 'client' access"]
W5
W6
W3
W4
end
end
subgraph Non_Storage_Group["Not in the IBM cluster obj (2)"]
W7
W8
end
W1 --- X(("OCP"))
W2 --- X
W3 --- X
W4 --- X
W5 --- X
W6 --- X
W7 --- X
W8 --- X
style W1 fill:#66ccff,stroke:#003366,stroke-width:2px
style W2 fill:#66ccff,stroke:#003366,stroke-width:2px
style W3 fill:#66ccff,stroke:#003366,stroke-width:2px
style W4 fill:#66ccff,stroke:#003366,stroke-width:2px
style W5 fill:#00cc00,stroke:#006600,stroke-width:2px
style W6 fill:#00cc00,stroke:#006600,stroke-width:2px
style W7 fill:#dd2200,stroke:#ff6600,stroke-width:2px
style W8 fill:#dd2200,stroke:#ff6600,stroke-width:2px
style Shared_Storage_Group fill:#ffffff,stroke:#000000,stroke-width:3px
style DirectLun fill:#bbbbbb,stroke:#ffffff,stroke-width:3px
style NonDirectLun fill:#eeeeee,stroke:#ffffff,stroke-width:3px
%% Invisible node to position notes below
%% Shared_Storage_Group ---|"Notes"| All["(1) These nodes can use the storage"]
%% style NotesSection fill:#f9f9f9,stroke:#000,stroke-width:1px
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment