Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ce diagrams to README.md (INF-1118) #580

Closed
wants to merge 6 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 91 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,94 @@ Please share any issues or questions regarding the HTCondor-CE via the following
- [[email protected]](mailto:[email protected]): For issues and questions containing private information.
- [[email protected]](mailto:[email protected]): For issues regarding security problems/vunerabilities.
For more information regarding reporting security problems go to [HTCSS Security](https://htcondor.org/security/).

Diagrams
--------
### HTCondor-CE workflow
``` mermaid
flowchart LR

%% ID FORMAT:
%% - External nodes are numbered (0 - 100)
%% - Internal nodes are alphabetic (A - Z)
%% - Nodes within nested subgraphs are
%% are labelled by double letters (AA - ZZ)
%% - All subgraph names are capitalized (Blahp)
%% while nodes with the same name are lowercase (blahp)

subgraph HTCondor-CE
%%direction LR %% Flowchart direction statement overrides statements in connected subgraphs; comment these out.
A[[SchedD]] --> B(Job Router)
B -. Routed Job .-> A
A -.-> C{Grid Manager}
D[(Log)] --- C
end

subgraph Blahp
%%direction LR
%% Configure nested subgraphs above internal nodes
subgraph lsf_*.sh
direction LR %% Set direction of isolated subgraphs
AA[submit] ---|OR| BB[cancel]
BB ---|OR| CC[status]
end
E[[blahp]] --> lsf_*.sh
F[common_sub</br>_attr.sh] -->|attrs| lsf_*.sh
lsf_*.sh -->|args| F
end

subgraph Batch System
%%direction LR
G((qsub))
end

%% -- External Nodes --
0>Job Ad]
%% -- External Nodes --

%% -- Subgraph Links --
C <--> E
lsf_*.sh ---> G
0 --> A
%% -- Subgraph Links --
```

### Bosco Cluster workflow
```mermaid
flowchart LR

%% ID FORMAT:
%% - External nodes are numbered (0 - 100)
%% - Internal nodes are alphabetic (A - Z)
%% - Nodes within nested subgraphs are
%% are labelled by double letters (AA - ZZ)
%% - All subgraph names are capitalized (Blahp)
%% while nodes with the same name are lowercase (blahp)

subgraph Bosco Cluster
%%direction LR %% Flowchart direciton statement overrides statements in connected subgraphs; comment these out
A[[SchedD]] --> B{Grid</br>Manager}
C[SP] --> B
B --- D[ssh]
B --- E[ssh]
E --> |FT|B
C -. Data Channel .- E
end

subgraph Remote Submit
%%direction LR
F[sshd] --> G[blahp]
%% FTGahp capitalized to be legible
H[sshd] --> I[FTGahp]
end

%% -- External Nodes --
0>Job Ad]
%% -- External Nodes --

%% -- Subgraph Links --
D ===|Blahp:</br>-stdin</br>-stdout</br>-stderr| F
E ===|File:</br>-stdin</br>-stdout</br>-stderr| H
0 --> A
%% -- Subgraph Links --
```