OCI y Windows local
En esta sección se describen los pasos para configurar Oracle Management Agent y desplegar los plugins de JMS en un host de Windows local o de OCI mediante el script de instalación. Los conjuntos de JMS no soportan Oracle Cloud Agent para OCI Windows, por lo que el script instala OMA en todas las plataformas de Windows.
Requisitos:
Ejecute la secuencia de comandos de instalación con privilegios de administrador.
Nota
De forma predeterminada, la secuencia de comandos de instalación:
- Genere un rastreador de uso con funcionalidad adicional para recopilar la propiedad
user.name
para identificar mejor las aplicaciones que se ejecutan en servidores de aplicaciones como WebLogic y Tomcat. Si no desea activar esta función, actualice el parámetro--enable-user-name=false
en el script de instalación. Puede modificar el archivo de propiedades de Java Usage Tracker en el futuro para agregar o eliminaruser.name
de la secciónadditionalProperties
. - Instale el agente con la configuración de Frecuencia de telemetría inferior de JMS.
En sistemas de bits de Windows 64, tiene la opción de utilizar la frecuencia de telemetría por defecto de MACS en lugar de la frecuencia de telemetría inferior de JMS. Cambie el valor del parámetro
low-telemetry-interval
afalse
en el script de instalación. El valor por defecto estrue
. - Cree la variable de entorno
OVERRIDE_VERSION_CHECK
si no está presente y defínala entrue
en instancias de Windows 10, sustituyendo la comprobación de versión del servicio Management Agent. Management Agent Service solo soporta el servicio de gestión de Java en la plataforma Windows 10.
Ejecute el comando --help
para ver la descripción de opciones como activar o desactivar el nombre de usuario, la configuración de proxy, etc.
-u, --uninstall Uninstall plug-ins, delete configuration files or restore originals from backups and exit.
-r, --reinstall Uninstall plug-ins, delete configuration files or restore originals from backups and continue installation.
-h, --help Print usage message end exit.
--diagnostic Determines if prerequisite conditions are met on the host machine to allow for successful agent installation or upgradation, and plug-in deployment.
Installation attempt will be skipped.
--enable-user-name Generate usage tracker with additional functionality to collect the 'user.name' property for better identification
of applications running on Application Servers like WebLogic and Tomcat servers.
Default value is 'true'.
--force-32bit-installer Force 32 bit Management Agent installation. Use this parameter to monitor a 32 bit Windows instance.
--ignore-unsupported The setup will proceed on an unsupported platform.
Installation might be successful, but not all functionality might work as intended.
--proxy-host Add proxy host to curl commands, add or replace line 'ProxyHost = VALUE' in install key before Management Agent setup.
Format is --proxy-host="VALUE" (for example, --proxy-host="100.0.0.10").
Default is no proxy.
--proxy-port Add proxy port to curl commands, add or replace line 'ProxyPort = VALUE' in install key before Management Agent setup.
Format is --proxy-port="VALUE" (for example, --proxy-port="8050").
--proxy-password Add proxy password to curl commands, add or replace line 'ProxyPassword = VALUE' in install key before Management Agent setup.
Format is --proxy-password="VALUE" (for example, --proxy-password="example").
--proxy-realm Add or replace line 'ProxyRealm = VALUE' in install key before Management Agent setup.
Format is --proxy-realm="VALUE" (for example, --proxy-realm="OC1").
--proxy-user Add proxy user to curl commands, add or replace line 'ProxyUser = VALUE' in install key before Management Agent setup.
Format is --proxy-user="VALUE" (for example, --proxy-user="opc").
--use-agent-installer-path Path to management agent installation file if it isn't in the same folder as the install script.
--use-java-path Specify the Oracle Java 8 installation path for agent installation;
if the path is not specified, the script will attempt to find a suitable Oracle Java 8 installation path from the file system.
Format is --use-java-path={CUSTOM_PATH}(for example, --use-java-path="C:\Program Files\Java\jdk1.8.0_361").
--low-metrics-frequency Installs the agent with low frequency telemetry configuration instead of MACS default frequency.
Default value is 'true'. Applicable on Windows 64 bit instances only.
--use-agent-display-name Specify the name to be displayed on the MACS console of your Management Agent.
If the name is not specified, the script will generate the name automatically.
Pasos
Los archivos log se encuentran en el directorio
C:\Oracle\mgmt_agent\plugins\jm\stateDir\log
.