You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/data-factory/self-hosted-integration-runtime-automation-scripts.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ author: nabhishek
10
10
ms.author: abnarain
11
11
manager: anandsub
12
12
ms.custom: seo-lt-2019
13
-
ms.date: 05/06/2020
13
+
ms.date: 05/09/2020
14
14
---
15
15
16
16
# Automating self-hosted integration runtime installation using local PowerShell scripts
@@ -29,10 +29,10 @@ To automate installation of Self-hosted Integration Runtime on local machines (o
29
29
> These scripts are created using the [documented command line utility](https://docs.microsoft.com/azure/data-factory/create-self-hosted-integration-runtime#set-up-an-existing-self-hosted-ir-via-local-powershell) in the self-hosted integration runtime. If needed one can customize these scripts accordingly to cater to their automation needs.
30
30
> The scripts need to be applied per node, so make sure to run it across all nodes in case of high availability setup (2 or more nodes).
31
31
32
-
1. For automating setup:
32
+
* For automating setup:
33
33
Install and register a new self-hosted integration runtime node using **[InstallGatewayOnLocalMachine.ps1](https://github.com/nabhishek/SelfHosted-IntegrationRuntime_AutomationScripts/blob/master/InstallGatewayOnLocalMachine.ps1)** - The script can be used to install self-hosted integration runtime node and register it with an authentication key. The script accepts two arguments, **first** specifying the location of the [self-hosted integration runtime](https://www.microsoft.com/download/details.aspx?id=39717) on a local disk, **second** specifying the **authentication key** (for registering self-hosted IR node).
34
34
35
-
2. For automating manual updates:
35
+
* For automating manual updates:
36
36
Update the self-hosted IR node with a specific version or to the latest version **[script-update-gateway.ps1](https://github.com/nabhishek/SelfHosted-IntegrationRuntime_AutomationScripts/blob/master/script-update-gateway.ps1)** - This is also supported in case you have turned off the auto-update, or want to have more control over updates. The script can be used to update the self-hosted integration runtime node to the latest version or to a specified higher version (downgrade doesn’t work). It accepts an argument for specifying version number (example: -version 3.13.6942.1). When no version is specified, it always updates the self-hosted IR to the latest version found in the [downloads](https://www.microsoft.com/download/details.aspx?id=39717).
37
37
> [!NOTE]
38
38
> Only last 3 versions can be specified. Ideally this is used to update an existing node to the latest version. **IT ASSUMES THAT YOU HAVE A REGISTERED SELF HOSTED IR**.
@@ -53,10 +53,10 @@ Update the self-hosted IR node with a specific version or to the latest version
53
53
> Specify the location of the "InstallGatewayOnLocalMachine.ps1" file when running the script. In this example we stored it on Desktop.
54
54
55
55
1. If there is one pre-installed self-hosted IR on your machine, the script automatically uninstalls it and then configures a new one. You'll see following window popped out:
1. When the installation and key registration completes, you'll see *Succeed to install gateway* and *Succeed to register gateway* results in your local PowerShell.
59
-
[](media/self-hosted-integration-runtime-automation-scripts/script-1-run-result.png#lightbox)
59
+
[](media/self-hosted-integration-runtime-automation-scripts/script-1-run-result.png#lightbox)
60
60
61
61
### For automating manual updates
62
62
This script is used to update/install + register latest self-hosted integration runtime. The script run performs the following steps:
@@ -77,4 +77,4 @@ You can follow below command-line example to use this script:
If your current version is already the latest one, you'll see following result, suggesting no update is required.
80
-
[](media/self-hosted-integration-runtime-automation-scripts/script-2-run-result.png#lightbox)
80
+
[](media/self-hosted-integration-runtime-automation-scripts/script-2-run-result.png#lightbox)
0 commit comments