Automation of Data Gateway Installation(Public Preview)
We are excited about the recent enhancements, we made to the data gateway PowerShell cmdlets. As a part of these enhancements, we have now introduced new cmdlets which enable automation of gateway installation.
2. The current release covers the installation of a gateway cluster with one gateway member only. Adding gateway members to an existing cluster or gateway recovery isn't currently supported via these cmdlets.
The silent install or gateway install automation can be broken down into 3 steps as shown in the image below.
Before you begin any of these steps, you would first connect to the gateway service using Connect-DataGatewayServiceAccount. You could choose to connect using a service principal.
Install: First you would install the gateway using the following command. As parameters to the command, you could pass the install location and agree to the terms and conditions.
Configure: Once the install is complete, you can now configure the gateway using the following command. Here you would configure the gateway name and also provide a recovery key.
Add Admins: Finally you could add additional admins to your gateway. if you are running the silent install using a service principal, you would require to add additional admins to manage this gateway outside of the PowerShell module.
As part of the PowerShell module we have also included a sample script which will help you automate these commands
Some opinions expressed in this article may be those of a guest author and not necessarily Analytikus. Staff authors are listed in https://powerbi.microsoft.com/es-es/blog/announcing-automation-of-data-gateway-installationpublic-preview/