insights
2024.10
true
- Release Notes
- Getting Started
- Access and Permissions
- Installation and Upgrade
- Interacting with Insights
- Historical data export
- Logs
- Performance and Scalability
Automated Remote Deployment Script
重要 :
请注意此内容已使用机器翻译进行了部分本地化。
Insights
Last updated 2024年10月25日
Automated Remote Deployment Script
The following script takes the Looker files from
LookerPreinstallationTool.exe
and initializes the Looker instance on the Insights Windows Machine.
Important: Generating the GPG key is not
possible using this automation script.
If you initialize Looker on this instance, the
password will be generated from the Windows machine and stored in the
C:\ProgramData\UiPath Insights
folder. You can retrieve the password
using the Unprotect-CmsMessage -Path "$ENV:ProgramData\UiPath
Insights\LookerSecret
command.
If you manually initialize the Looker
instance, you can generate the GPG key using the
gpg --generate-key
command
and store it in the Linux VM.
To get help, type:
Get-Help .\Deploy-Looker.ps1 -Detailed
.
Parameter | Type | Description |
---|---|---|
-ComputerName | Required | The IP address or DNS Name of the Linux VM. |
-Username | Required | The username of the Linux VM. |
-Password | Required if you use a password. Otherwise it's optional. | The password to login to the Linux VM.
Note: If you use an SSH public
key to authenticate, this parameter is used to enter the passphrase.
|
-Port | Optional | Default port number value is 22 .
|
-KeyfilePath | Required if you use a key. | Specify the path to the file here if you use the key-pair authentication. |
-SudoPass | Optional | Specify the password for sudo in the remote Linux VM. |
-LookerZipFilePath | Required | The path to the Insights_lookerfile.zip generated by LookerPreInstallation Tool |
-LookerImageFilePath: Optional. | Optional | Specify the offline Looker image for installation the air-gapped environment. |
-OfflineBundleFilePath: Optional. | Optional | Specify the offline bundle ZIP file for the air-gapped environment. |
Deploy-Looker.ps1 -ComputerName 20.83.215.1 -Username azureuser -KeyfilePath
"C:\Users\username\Downloads\testing" -LookerZipFilePath C:\Users\username\AppData\Local\Temp\Insights_Lookerfiles_20220610102005.zip
Deploy-Looker.ps1 -ComputerName 20.83.215.1 -Username azureuser -KeyfilePath
"C:\Users\username\Downloads\testing" -LookerZipFilePath C:\Users\username\AppData\Local\Temp\Insights_Lookerfiles_20220610102005.zip
Deploy-Looker.ps1 -ComputerName 20.3.144.237 -Username uipath -Password secretpassword -LookerZipFilePath C:\Users\username\AppData\Local\Temp\Insights_Lookerfiles_20220610102005.zip
Deploy-Looker.ps1 -ComputerName 20.3.144.237 -Username uipath -Password secretpassword -LookerZipFilePath C:\Users\username\AppData\Local\Temp\Insights_Lookerfiles_20220610102005.zip
If you want to install Insights offline you can use this example.
Deploy-Looker.ps1 -ComputerName 20.3.144.237 -Username uipath -Password secretpassword -LookerZipFilePath C:\Users\username\AppData\Local\Temp\Insights_Lookerfiles_20220610102005.zip -OfflineBundleFilePath "C:\Users\username\Downloads\2210_installer\offline-bundle-rhel9.zip" -LookerImageFilePath "C:\Users\username\Downloads\2210_installer\looker_image.tar.zip"
Deploy-Looker.ps1 -ComputerName 20.3.144.237 -Username uipath -Password secretpassword -LookerZipFilePath C:\Users\username\AppData\Local\Temp\Insights_Lookerfiles_20220610102005.zip -OfflineBundleFilePath "C:\Users\username\Downloads\2210_installer\offline-bundle-rhel9.zip" -LookerImageFilePath "C:\Users\username\Downloads\2210_installer\looker_image.tar.zip"