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

Feature/24450 create 2024.9 to 2024.11 upgrade guide #178

Merged
Merged
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions .htmltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ IgnoreDirs:
- "docs/2023.7/?.*/"
- "docs/2023.9/?.*/"
- "docs/2023.11/?.*/"
- "docs/2024.3/?.*/"
- "docs/2024.5/?.*/"
- "docs/2024.7/?.*/"
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "2024.9 to 2024.11"
linkTitle: "2024.9 to 2024.11"
description: "Instructions to upgrade {{% ctx %}} 2024.9 to 2024.11"
weight: 996
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Multiple Server - With HA"
linkTitle: "Multiple Server - With HA"
description: "Upgrade instructions for multiple on-premise servers with high availability (HA)."
weight: 10
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: "Try it out"
linkTitle: "Try it out"
description: "Information about trying out {{% ctx %}} after upgrade."
weight: 60
---

# {{% param title %}}

This guide describes how to try out an upgraded {{% ctx %}} to make sure it is working. Please ensure that both the [Application Servers and Load Balancer Upgrade][] and [Web Application Server Upgrade][] has been completed before taking these steps.

{{< section "/upgrade/2024.11/upgrade-web-application-server/test-upgrade.md" >}}

## Test Executing Production Flows

{{< section "/upgrade/try-it-out/multi-server/test-executing-production-flows.md" >}}

[Application Servers and Load Balancer Upgrade]: {{< url path="Cortex.Guides.UpgradeCortex.2024.9to2024.11.MultipleServerWithHA.UpgradeApplicationAndLoadBalancerServers" >}}
[Web Application Server Upgrade]: {{< url path="Cortex.Guides.UpgradeCortex.2024.9to2024.11.MultipleServerWithHA.UpgradeWebApplicationServer" >}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
---
title: "Upgrade Application Servers and Load Balancer"
linkTitle: "Upgrade Application Servers and Load Balancer"
description: "Information about upgrading the Application Servers and Load Balancer Server."
weight: 30
---

# {{< param title >}}

This guide describes how to upgrade the Application Servers and Load Balancer Server from 2024.9 to 2024.11.

## Make Installation Artefacts Available

1. Choose one of the Application Servers to be used to perform the upgrade from, and copy the following artefacts to a folder on it:
* Cortex Innovation 2024.11 - App Server Install Scripts.zip
* Cortex Innovation 2024.11 - App Services.zip
* Cortex Innovation 2024.11 - Block Packages.zip

1. Extract the `Cortex Innovation 2024.11 - App Server Install Scripts.zip` file to a folder with the same name.

## Configure Upgrade Script

1. In the `Cortex Innovation 2024.11 - App Server Install Scripts\Upgrade Application Server` folder, locate the `Cortex.Innovation.Upgrade.ps1` script and open it with a text editor.
1. Choose the tab below that matches the configuration for this upgrade, then update the script to match, changing the parameters according to the details given below:

{{% alert title="Note" %}}
To check the previous configuration values open the `Cortex.Upgrade.ApplicationConfig.json` file located in `%ProgramData%\Cortex\Upgrade`. If the file does not exist or the values should be changed then use the `Use New Configuration Values` tab.
{{% /alert %}}

{{< tabpane lang="powershell" >}}
{{< tab header="Use Previous Configuration Values" >}}
.\Cortex.Upgrade.ps1 `
-AppServicesPath "C:\Install\Cortex Innovation 2024.11 - App Services.zip" `
-BlockPackagesPath "C:\Install\Cortex Innovation 2024.11 - Block Packages.zip" `
-Credential $Credential `
-AcceptEULA:$AcceptEULA `
*>&1 | Tee-Object -FilePath "cortex-ha-upgrade-log.txt"
{{< /tab >}}
{{< tab header="Use New Configuration Values">}}
.\Cortex.Upgrade.ps1 `
-AppServicesPath "C:\Install\Cortex Innovation 2024.11 - App Services.zip" `
-BlockPackagesPath "C:\Install\Cortex Innovation 2024.11 - Block Packages.zip" `
-ApplicationServerIPv4Addresses @("192.168.1.1, 192.168.1.2, 192.168.1.3") `
-LoadBalancerServerIPv4Address "192.168.1.4" `
-Credential $Credential `
-AcceptEULA:$AcceptEULA `
*>&1 | Tee-Object -FilePath "cortex-ha-upgrade-log.txt"
{{< /tab >}}
{{< /tabpane >}}

| Name | Description |
|----------------------------------------------|-------------|
|`AppServicesPath` | Configure this value with the location of the Application Services zip file on the Application Server being used for the upgrade. |
|`BlockPackagesPath` | Configure this value with the location of the Block Packages zip file on the Application Server being used for the upgrade. |
|`ApplicationServerIPv4Addresses` | The IPv4 addresses of the Application Servers. The first of these must be the Application Server being used for the upgrade.|
|`LoadBalancerServerIPv4Address` | The IPv4 address of the Load Balancer Server. If the built-in load balancer is not being used, this should be removed.|
|`Credential` | The credentials of the user which will be used to perform remote operations on the Application Servers. It must be a domain user that is a member of the local Administrators group on all servers.<br><br>This does not need to be changed, a prompt will appear to enter this information when the script is run. |
|`AcceptEULA` | This does not need to be changed, the EULA will be accepted at a later stage. |
|`FilePath` | The filename that upgrade logs are written to. If this should be written to a different location than where the installation files are then a full path should be specified. |

1. Save and close `Cortex.Innovation.Upgrade.ps1`.

## Run Upgrade Script

{{< section "/upgrade/2024.11/upgrade-application-server/multi-server/run-upgrade-script.md" >}}

## Check Application Services

{{< section "/upgrade/upgrade-application-server/multi-server/check-application-services.md" >}}

## Preserve installation files

{{< section "/preserve-installation-files.md" >}}

## Next Steps?

1. [Upgrade Web Application Server][]

[Upgrade Web Application Server]: {{< url path="Cortex.Guides.UpgradeCortex.2024.9to2024.11.MultipleServerWithHA.UpgradeWebApplicationServer" >}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: "Upgrade the Web Application Server"
linkTitle: "Upgrade Web Application Server"
description: "Information about upgrading the Web Application Server."
weight: 40
---

This guide describes how to upgrade the Web Application Server. Please ensure that [Upgrade Application Servers and Load Balancer][] has been completed before starting this installation. These steps assume that the v2024.9 version of Gateway and its prerequisites have already been installed.

[Upgrade Application Servers and Load Balancer]: {{< url path="Cortex.Guides.UpgradeCortex.2024.9to2024.11.MultipleServerWithHA.UpgradeApplicationAndLoadBalancerServers" >}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
title: "Prerequisites"
linkTitle: "Prerequisites"
description: "Information about performing the prerequisities for the Upgrade of the Web Application Server."
weight: 10
---

# {{% param title %}}

Please ensure that [Upgrade Application Servers and Load Balancer][] has been completed before starting this installation. These steps assume that the v2024.9 version of Gateway and its prerequisites have already been installed.

## Make Installation Artefacts Available

1. Copy the following artefacts to a folder on the machine:

* Cortex Innovation 2024.11 - App Services.zip
* Cortex Innovation 2024.11 - App Server Install Scripts.zip
* Cortex Innovation 2024.11 - Block Packages.zip
* Cortex Innovation 2024.11 - Gateway.zip
* Cortex Innovation 2024.11 - Web App Server Install Scripts.zip

1. Extract the `Cortex Innovation 2024.11 - App Server Install Scripts.zip` file to a folder with the same name.
1. Extract the `Cortex Innovation 2024.11 - Web App Server Install Scripts.zip` zip file to a folder with the same name.

## Next Steps?

1. [Upgrade Flow Debugger][]

[Upgrade Application Servers and Load Balancer]: {{< url path="Cortex.Guides.UpgradeCortex.2024.9to2024.11.MultipleServerWithHA.UpgradeApplicationAndLoadBalancerServers" >}}
[Upgrade Flow Debugger]: {{< url path="Cortex.Guides.UpgradeCortex.2024.9to2024.11.MultipleServerWithHA.UpgradeDebugger" >}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: "Upgrade Flow Debugger"
linkTitle: "Upgrade Flow Debugger"
description: "Information about upgrading the Flow Debugger."
weight: 30
---

# {{< param title >}}

This guide describes how to upgrade the Flow Debugger on the Web Application Server from 2024.9 to 2024.11. Please ensure that the [prerequisites][] have been completed before starting this upgrade.

## Configure Upgrade Script

{{< section "/upgrade/2024.11/upgrade-application-server/single-server/configure-upgrade-script.md" >}}

## Run Upgrade Script

{{< section "/upgrade/2024.11/upgrade-application-server/single-server/run-upgrade-script.md">}}

## Check Application Services

{{< section "/upgrade/upgrade-application-server/single-server/check-application-services.md">}}

## Preserve installation files

{{< section "/preserve-installation-files.md">}}

## Next Steps?

1. [Upgrade Gateway][]

[prerequisites]: {{< url path="Cortex.Guides.UpgradeCortex.2024.9to2024.11.MultipleServerWithHA.WebApplicationServerPreqrequisites" >}}
[Upgrade Gateway]: {{< url path="Cortex.Guides.UpgradeCortex.2024.9to2024.11.MultipleServerWithHA.UpgradeGateway" >}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: "Upgrade Gateway"
linkTitle: "Upgrade Gateway"
description: "Information about upgrading {{% ctx %}} Gateway from 2024.9 to 2024.11."
weight: 30
---

# {{% param title %}}

This guide describes how to upgrade {{% ctx %}} Gateway from 2024.9 to 2024.11. Please ensure that the [Flow Debugger upgrade][] has been completed before starting this upgrade.

## Configure Upgrade Script

{{< section "/upgrade/2024.11/upgrade-web-application-server/configure-gateway-script.md" >}}

## Run Upgrade Script

{{< section "/upgrade/2024.11/upgrade-web-application-server/run-gateway-script.md" >}}

## Preserve installation files

{{< section "/preserve-installation-files.md" >}}

## Next Steps?

1. [Try It Out][]

[Flow Debugger upgrade]: {{< url path="Cortex.Guides.UpgradeCortex.2024.9to2024.11.MultipleServerWithHA.UpgradeDebugger" >}}
[Try It Out]: {{< url path="Cortex.Guides.UpgradeCortex.2024.9to2024.11.MultipleServerWithHA.TryItOut" >}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Single Server - Without HA"
linkTitle: "Single Server - Without HA"
description: "Upgrade instructions for a single on-premise server without high availability (HA)."
weight: 500
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: "Try it out"
linkTitle: "Try it out"
description: "Information about trying out {{% ctx %}} after upgrade."
weight: 60
---

# {{% param title %}}

This guide describes how to try out an upgraded {{% ctx %}} to make sure it is working. Please ensure that both the [Application Server Upgrade][] and [Web Application Server Upgrade][] has been completed before taking these steps.

{{< section "/upgrade/2024.11/upgrade-web-application-server/test-upgrade.md" >}}

## Test Executing Production Flows

{{< section "/upgrade/try-it-out/single-server/test-executing-production-flows.md" >}}

[Application Server Upgrade]: {{< url path="Cortex.Guides.UpgradeCortex.2024.9to2024.11.SingleServerWithoutHA.UpgradeApplicationServer" >}}
[Web Application Server Upgrade]: {{< url path="Cortex.Guides.UpgradeCortex.2024.9to2024.11.SingleServerWithoutHA.UpgradeWebApplicationServer" >}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
title: "Upgrade Application Server"
linkTitle: "Upgrade Application Server"
description: "Information about upgrading the Application Server."
weight: 30
---

# {{< param title >}}

This guide describes how to upgrade the Application Server components on the server from 2024.9 to 2024.11.

## Make Installation Artefacts Available

{{< section "/upgrade/2024.11/upgrade-application-server/single-server/make-installation-artefacts-available.md" >}}

## Configure Upgrade Script

{{< section "/upgrade/2024.11/upgrade-application-server/single-server/configure-upgrade-script.md" >}}

## Run Upgrade Script

{{< section "/upgrade/2024.11/upgrade-application-server/single-server/run-upgrade-script.md" >}}

## Check Application Services

{{< section "/upgrade/upgrade-application-server/single-server/check-application-services.md" >}}

## Preserve installation files

{{< section "/preserve-installation-files.md" >}}

## Next Steps?

1. [Upgrade Web Application Server][]

[Upgrade Web Application Server]: {{< url path="Cortex.Guides.UpgradeCortex.2024.9to2024.11.SingleServerWithoutHA.UpgradeWebApplicationServer" >}}

Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
title: "Upgrade Web Application Server"
linkTitle: "Upgrade Web Application Server"
description: "Information about upgrading the Web Application Server from 2024.9 to 2024.11."
weight: 30
---

# {{% param title %}}

This guide describes how to upgrade {{% ctx %}} Gateway from 2024.9 to 2024.11. Please ensure that the [Upgrade Application Server][] has been completed before starting this upgrade.

## Make Installation Artefacts Available

1. Copy the following artefacts to a folder on the server:

* Cortex Innovation 2024.11 - Gateway.zip
* Cortex Innovation 2024.11 - Web App Server Install Scripts.zip

1. Extract the `Cortex Innovation 2024.11 - Web App Server Install Scripts.zip` zip file to a folder with the same name.

## Configure Upgrade Script

{{< section "/upgrade/2024.11/upgrade-web-application-server/configure-gateway-script.md" >}}

## Run Upgrade Script

{{< section "/upgrade/2024.11/upgrade-web-application-server/run-gateway-script.md" >}}

## Preserve installation files

{{< section "/preserve-installation-files.md" >}}

## Next Steps?

1. [Try It Out][]

[Try It Out]: {{< url path="Cortex.Guides.UpgradeCortex.2024.9to2024.11.SingleServerWithoutHA.TryItOut" >}}
[Upgrade Application Server]: {{< url path="Cortex.Guides.UpgradeCortex.2024.9to2024.11.SingleServerWithoutHA.UpgradeApplicationServer" >}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
1. Open a Windows PowerShell (x64) window as administrator.
{{< alert title="Important" color="warning" >}}It is critical to make sure this is a new PowerShell window. If any Service Fabric cmdlets have been run previously to running the `Cortex.Innovation.Upgrade.ps1` script, the upgrade will close halfway through due to the PowerShell module being updated.{{< /alert >}}
1. Navigate PowerShell to inside the `Cortex Innovation 2024.11 - App Server Install Scripts\Upgrade Application Server` folder using the following command, modifying the path as necessary:

```powershell
cd "C:\Install\Cortex Innovation 2024.11 - App Server Install Scripts\Upgrade Application Server"
```

1. Type the following command into PowerShell:

```powershell
.\Cortex.Innovation.Upgrade.ps1
```

1. Please read the End User Licence Agreement which can be found [here][Eula]. Once you agree to the terms, add the flag `-AcceptEULA` to the command entered above, e.g:

```powershell
.\<CortexInnovationUpgradeScriptName>.ps1 -AcceptEULA
```

1. Run the PowerShell command to upgrade the HA Services and required infrastructure.
1. A credentials prompt will appear. Enter credentials of a domain user that is a member of the local Administrators group on all servers and press OK.
1. Wait for the script to finish running. This should take approximately 10 minutes.
1. Check that there have been no errors in the script; these would appear in red in the console.

If the errors do not give any instructions on how to rectify, see [Troubleshooting During Upgrade][] for further information; if this does not help then please contact [{{% ctx %}} Service Portal][CORTEX Service Portal] for assistance.

[CORTEX Service Portal]: {{< url path="Cortex.ServicePortal.MainDoc" >}}
[Eula]: {{< url path="Cortex.Website.Eula.MainDoc" >}}
[Troubleshooting During Upgrade]: {{< url path="Cortex.Reference.Troubleshooting.Upgrade.TroubleshootingDuringUpgrade" >}}
Loading
Loading