...
3) Check the log file var/log/breeze-agent.log
. It should be used only by the cronjob. When the agent is run manually, the log data will be printed to STDOUT.
Windows
Anchor | ||||
---|---|---|---|---|
|
1. Download the agent installer (select Windows Agent version)
...
3) Run the job manually. Check the log file C:\Program Files\Breeze\agent.log
.
Microsoft Intune
1. Install a Breeze agent on a Windows device.
2. In the file C:\Program Files\Breeze\etc\tags
write preferred.descriptor=intune
This step is applicable if the Breeze agent has already been installed on the device.
3. When creating a new web interface deployment, Intune requires an uninstall script. The Breeze uninstall script is shipped as a part of Windows Breeze Installer. When prompted for a path to the uninstall script, specify C:\Program Files\Breeze\uninstall.bat
Automated Installation
Check the Navigation section to get the Breeze agent installer file.
AWS Elastic Beanstalk
You can install Breeze agent on AWS Elastic Beanstalk using .ebextension configuration files. In this example, we will use EB CLI to deploy a new configuration.
1. Upload the Breeze agent installer file to where it is available for your Elastic Beanstalk environment. We recommend using any S3 bucket with restricted access or the one created by Elastic Beanstalk (used in the example below).
2. Create a configuration file in the .ebextension directory that is located in your project directory.
Windows-based environment:
...
Automated Installation
Check the Navigation section to get the Breeze agent installer file.
AWS Elastic Beanstalk
You can install Breeze agent on AWS Elastic Beanstalk using .ebextension configuration files. In this example, we will use EB CLI to deploy a new configuration.
1. Upload the Breeze agent installer file to where it is available for your Elastic Beanstalk environment. We recommend using any S3 bucket with restricted access or the one created by Elastic Beanstalk (used in the example below).
2. Create a configuration file in the .ebextension directory that is located in your project directory.
Windows-based environment:
Code Block |
---|
files: "C:\\breeze-agent.exe": source: https://elasticbeanstalk-us-east-1-123456789098.s3.amazonaws.com/breeze-agent.exe authentication: S3Auth commands: install_breeze: command: IF NOT EXIST "C:\Program Files\Breeze\app.bat" (C:\breeze-agent.exe) Resources: AWSEBAutoScalingGroup: Metadata: AWS::CloudFormation::Authentication: S3Auth: type: "s3" buckets: ["elasticbeanstalk-us-east-1-123456789098"] roleName: "Fn::GetOptionSetting": type: "s3" bucketsNamespace: ["elasticbeanstalk-us-east-1-123456789098"] roleName: "Fn::GetOptionSetting": Namespace: "aws:"aws:autoscaling:launchconfiguration" OptionName: "IamInstanceProfile" DefaultValue: "aws-elasticbeanstalk-ec2-role" |
...
Code Block |
---|
$url = "AGENT_DISTRO_URL"
[Net.ServicePointManager]::SecurityProtocol += [System.Net.SecurityProtocolType]::Tls12
function Exit-WithError($e, $c) { Write-Host "Error:" $(If ($e.Exception.InnerException) {$e.Exception.InnerException.Message} Else {$e.Exception.Message}); Exit $c }
Write-Host "Downloading..."
$dir_tmp = New-Item -ItemType Directory -Path ([IO.Path]::Combine([System.IO.Path]::GetTempPath(), [System.Guid]::NewGuid()))
$agent_distro = "$dir_tmp\agent.exe"
try { (New-Object System.Net.WebClient).DownloadFile($url, $agent_distro) } catch [System.Net.WebException] { Exit-WithError $_ 1 }
Write-Host "Installing..."
try { Start-Process $agent_distro -ArgumentList '-gm2' -NoNewWindow -Wait } catch { Exit-WithError $_ 2 }
Remove-Item $dir_tmp -Recurse -Force
Write-Host "Done" |
...
tmp -Recurse -Force
Write-Host "Done" |
More about running scripts on Azure VM: https://docs.microsoft.com/en-us/azure/virtual-machines/run-command-overview
Installation to Microsoft Intune
Install a Breeze agent on a Windows device (as described here)
In the file
C:\Program Files\Breeze\etc\tags
write preferred.descriptor=intune
This step is applicable if the Breeze agent has already been installed on the device.
When creating a new web interface deployment, Intune requires an uninstall script. The Breeze uninstall script is shipped as a part of Windows Breeze Installer. When prompted for a path to the uninstall script, specify
C:\Program Files\Breeze\uninstall.bat
Installation on VM managed by vCenter (deprecated)
...