insights
2024.10
true
  • Release Notes
    • 2024.10.0
  • Getting Started
  • Access and Permissions
  • Installation and Upgrade
  • Interacting with Insights
  • Historical data export
  • Logs
  • Performance and Scalability
重要 :
请注意此内容已使用机器翻译进行了部分本地化。
Insights
Automation CloudAutomation Cloud Public SectorAutomation SuiteStandalone
Last updated 2024年10月25日

Automated Remote Deployment Script

Overview

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.

Script Parameters

To get help, type: Get-Help .\Deploy-Looker.ps1 -Detailed.
ParameterTypeDescription
-ComputerNameRequiredThe IP address or DNS Name of the Linux VM.
-UsernameRequiredThe username of the Linux VM.
-PasswordRequired 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.
-PortOptionalDefault port number value is 22.
-KeyfilePathRequired if you use a key.Specify the path to the file here if you use the key-pair authentication.
-SudoPassOptionalSpecify the password for sudo in the remote Linux VM.
-LookerZipFilePathRequiredThe path to the Insights_lookerfile.zip generated by LookerPreInstallation Tool
-LookerImageFilePath: Optional. OptionalSpecify the offline Looker image for installation the air-gapped environment.
-OfflineBundleFilePath: Optional. OptionalSpecify the offline bundle ZIP file for the air-gapped environment.

Examples

1 Use PEM Key (Azure)

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.zipDeploy-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

2 Use Password Authentication (Azure)

Deploy-Looker.ps1 -ComputerName 20.3.144.237 -Username uipath -Password secretpassword -LookerZipFilePath C:\Users\username\AppData\Local\Temp\Insights_Lookerfiles_20220610102005.zipDeploy-Looker.ps1 -ComputerName 20.3.144.237 -Username uipath -Password secretpassword -LookerZipFilePath C:\Users\username\AppData\Local\Temp\Insights_Lookerfiles_20220610102005.zip

3 Air-gapped Environment

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"
  • Overview
  • Prerequisites
  • Script Parameters
  • Examples
  • 1 Use PEM Key (Azure)
  • 2 Use Password Authentication (Azure)
  • 3 Air-gapped Environment

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2024 UiPath。保留所有权利。