Open rajeshnadimpalli opened 8 months ago
{ "address": { "city": "", "postcode": "", "street": "" }, "externalId": "", "id": "", "name": "", "primaryContact": { "name": "", "phone": "" } }
code:
graph TD A[On-Premises] -->|Migration| B[Azure Cloud]
subgraph A[On-Premises Setup]
OShift[Red Hat OpenShift, Linux]
IIB[IBM IIB 10]
MQ[IBM MQ]
Oracle[Oracle Database]
Splunk[Splunk]
end
subgraph B[Azure Cloud]
subgraph B1[US East Region]
CP4I[IBM CP4I on Red Hat OpenShift Cluster]
AzureDB[Azure Database - Oracle Replacement]
Instana[IBM Instana - Splunk Replacement]
MQEast[IBM MQ - Primary]
end
subgraph B2[US West Region]
CP4I2[IBM CP4I on Red Hat OpenShift Cluster]
AzureDB2[Azure Database - Oracle Replacement]
Instana2[IBM Instana - Splunk Replacement]
MQWest[IBM MQ - DR Site]
end
DR[Disaster Recovery] -->|Failover| MQWest
MQEast -->|Replication| MQWest
end
OShift --> CP4I & CP4I2
IIB --> CP4I & CP4I2
Oracle --> AzureDB & AzureDB2
Splunk --> Instana & Instana2
MQ --> MQEast
final mermaid.js code
graph TD subgraph B[Azure Cloud] subgraph B1[US East Region - OpenShift Cluster] CP4IMaster1[Master Node - CP4I] CP4IWorker1A[Worker Node A - CP4I] CP4IWorker1B[Worker Node B - CP4I] CP4IWorker1C[Worker Node C - CP4I] CP4IMaster1 -->|Manages| CP4IWorker1A & CP4IWorker1B & CP4IWorker1C
subgraph CP4IWorker1A
Pod1A1[Pod 1]
Pod1A2[Pod 2]
end
subgraph CP4IWorker1B
Pod1B1[Pod 1]
Pod1B2[Pod 2]
end
subgraph CP4IWorker1C
Pod1C1[Pod 1]
Pod1C2[Pod 2]
end
AzureDB1[Azure Database - Oracle Replacement - Primary]
Instana1[IBM Instana - Splunk Replacement]
MQEast[IBM MQ - Primary]
CP4I1[IBM CP4I Services]
end
subgraph B2[US West Region - OpenShift Cluster]
CP4IMaster2[Master Node - CP4I]
CP4IWorker2A[Worker Node A - CP4I]
CP4IWorker2B[Worker Node B - CP4I]
CP4IWorker2C[Worker Node C - CP4I]
CP4IMaster2 -->|Manages| CP4IWorker2A & CP4IWorker2B & CP4IWorker2C
subgraph CP4IWorker2A
Pod2A1[Pod 1]
Pod2A2[Pod 2]
end
subgraph CP4IWorker2B
Pod2B1[Pod 1]
Pod2B2[Pod 2]
end
subgraph CP4IWorker2C
Pod2C1[Pod 1]
Pod2C2[Pod 2]
end
AzureDB2[Azure Database - Oracle Replacement - Replica]
Instana2[IBM Instana - Splunk Replacement]
MQWest[IBM MQ - DR Site]
CP4I2[IBM CP4I Services - DR]
end
MQEast -.->|Replication| MQWest
MQEast -.->|Failover| MQWest
CP4I1 -.->|Failover| CP4I2
AzureDB1 -.->|Data Replication| AzureDB2
CP4IWorker1A -->|Accesses| AzureDB1 & Instana1 & CP4I1
CP4IWorker1B -->|Accesses| AzureDB1 & Instana1 & CP4I1
CP4IWorker1C -->|Accesses| AzureDB1 & Instana1 & CP4I1
CP4IWorker2A -->|Accesses| AzureDB2 & Instana2 & CP4I2
CP4IWorker2B -->|Accesses| AzureDB2 & Instana2 & CP4I2
CP4IWorker2C -->|Accesses| AzureDB2 & Instana2 & CP4I2
end
style B1 fill:#f9f,stroke:#333,stroke-width:2px
style B2 fill:#ccf,stroke:#333,stroke-width:2px
linkStyle 5 stroke:#f66,stroke-width:2px,stroke-dasharray: 5, 5
linkStyle 6 stroke:#f66,stroke-width:2px,stroke-dasharray: 5, 5
linkStyle 7 stroke:#f66,stroke-width:2px,stroke-dasharray: 5, 5
linkStyle 8 stroke:#fb0,stroke-width:2px,stroke-dasharray: 5, 5
{ "id": "ABC-001", "customerName": "umberella corp", "contactPerson": "Rajesh", "contactPhone": "999 9999999", "address": { "city": "Tampa", "addressLine1": "5830 Memorial hwy", "postcode": "33615" } }