OSMH: How to Configure OCI Windows Instance OSMH Agent and Bootstrapper for Debugging
Note!!Please register a free account to access the full content and also to participate in Q&A in the community.
APPLIES TO:
Windows 2016 and Later
Platform x64
GOAL
This document explains the steps to configure OSMH Windows agent and Bootstrapper for debugging.
SOLUTION
Login to the windows instance using Microsoft Remote Desktop
- Edit the Bootstrapper configuration file and change the debug option to true.
Get-Content C:\Program Files\Oracle Cloud Agent\plugins\oci-osmh\config.yml
debug: true
2. Edit the Agent Configuration file at:
Windows 2016:
Get-Content C:\Users\OCAOSMH\AppData\Local\OracleCloudAgent\plugins\oci-osmh\osmh-agent\stateDir\config.yml
Windows 2019/2022:
Get-Content C:\Windows\ServiceProfiles\OCAOSMH\AppData\Local\OracleCloudAgent\plugins\oci-osmh\osmh-agent\stateDir\config.yml