Windows OCI e on-premise
In questa sezione vengono descritti i passi per impostare l'Oracle Management Agent e distribuire i plugin JMS su un host Windows OCI o in locale utilizzando lo script di installazione. JMS Fleets non supporta Oracle Cloud Agent per OCI Windows, pertanto lo script installa OMA su tutte le piattaforme Windows.
I prerequisiti
Eseguire lo script di installazione con privilegi di amministratore.
Nota
Per impostazione predefinita, lo script di installazione consente di:
- Genera un tracker sull'utilizzo con funzionalità aggiuntive per raccogliere la proprietà
user.name
per una migliore identificazione delle applicazioni in esecuzione su Application Server come WebLogic e Tomcat. Se non si desidera abilitare questa funzione, aggiornare il parametro--enable-user-name=false
nello script di installazione. È possibile modificare il file delle proprietà di Java Usage Tracker in futuro per aggiungere o rimuovereuser.name
dalla sezioneadditionalProperties
. - Installare l'agente con la configurazione della frequenza di telemetria JMS inferiore.
Nei sistemi a Windows 64 bit è possibile utilizzare la frequenza di telemetria predefinita MACS anziché la frequenza di telemetria inferiore JMS. Modificare il valore del parametro
low-telemetry-interval
infalse
nello script di installazione. Il valore predefinito ètrue
. - Creare la variabile di ambiente
OVERRIDE_VERSION_CHECK
se non è presente e impostarla sutrue
nelle istanze di Windows 10, ignorando il controllo della versione del servizio Management Agent. Il servizio Management Agent supporta solo il servizio Java Management sulla piattaforma Windows 10.
Eseguire il comando --help
per visualizzare la descrizione di opzioni quali l'abilitazione o la disabilitazione del nome utente, delle impostazioni proxy e così via.
-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.
Passi
I file di log si trovano nella directory
C:\Oracle\mgmt_agent\plugins\jm\stateDir\log
.