Linux de OCI

En esta sección se describen los pasos para desinstalar OMA en la plataforma OCI Linux.

Pasos

  1. Agregue la siguiente línea en el archivo JMS_configuration.rsp para forzar la desinstalación de OMA:
    jms.install-mgmt-agent = true
  2. Descomprima <<bundle>>.tar.gz, por ejemplo, jms_setup_v9.0.57_linux_rhel-x86_64.tar.gz.
  3. Navegue hasta el directorio y ejecute ./uninstaller.sh como usuario raíz.
  4. Aparecerá el siguiente mensaje una vez que se haya completado la desinstalación:
    ========================================================
    JMS setup on Oracle Cloud Agent requires Oracle JDK 11 and above. Checking for compatible Java installations...
    Script deployMgmtAgent.sh will check for valid JDKs to support JMS or install the most suitable JDK from OCI.
        Found suitable Java installation for Oracle Cloud Agent Plugin 'Oracle Java Management Service': /bin/java
    ==========================================================================================================================
    ========================================================
    Checking for Oracle Cloud Agent compatibility...
        Java Management Service supports Oracle Cloud Agent on Oracle Linux distribution on OCI.
        Package Oracle Cloud Agent (oracle-cloud-agent) has been detected on instance.
    ==========================================================================================================================
    ========================================================
    Delete Java Usage Tracker output folder /var/log/java/
    /tmp/deployMgmtAgent.sh: line 1095: fg: no job control
    Delete file /etc/oracle/java/usagetracker.properties to restore original configuration
    Delete file /etc/environment to restore original configuration
    ==========================================================================================================================
    ========================================================
    Cleanup temporary files (install key, downloaded zip and rpm files) and packages installed by script...
        Cleanup packages python36-oci-cli installed by script.
    Dependencies resolved.
    ================================================================================
     Package           Arch  Version      Repository     Size
    ================================================================================
    Removing:
     python36-oci-cli      noarch 3.43.1-1.el8   @ol8_oci_included 477 M
    Removing unused dependencies:
     python3-arrow        noarch 1.1.1-1.el8    @ol8_oci_included 467 k
     python3-importlib-metadata noarch 1.7.0-1.el8    @ol8_addons    135 k
     python3-jmespath      noarch 0.10.0-1.el8   @ol8_oci_included 129 k
     python3-prompt-toolkit   noarch 3.0.29-1.0.2.el8 @ol8_oci_included 3.0 M
     python3-terminaltables   noarch 3.1.10-1.0.1.el8 @ol8_oci_included  78 k
     python3-typing-extensions  noarch 3.7.4.2-1.el8   @ol8_oci_included 224 k
     python3-wcwidth       noarch 0.2.5-3.el8    @ol8_oci_included 539 k
     python3-zipp        noarch 0.5.1-3.el8    @ol8_addons     13 k
    Transaction Summary
    ================================================================================
    Remove 9 Packages
    Freed space: 481 M
    Running transaction check
    Transaction check succeeded.
    Running transaction test
    Transaction test succeeded.
    Running transaction
     Preparing    :                            1/1
     Erasing     : python36-oci-cli-3.43.1-1.el8.noarch          1/9
     Erasing     : python3-arrow-1.1.1-1.el8.noarch            2/9
     Erasing     : python3-importlib-metadata-1.7.0-1.el8.noarch     3/9
     Erasing     : python3-prompt-toolkit-3.0.29-1.0.2.el8.noarch     4/9
     Erasing     : python3-wcwidth-0.2.5-3.el8.noarch           5/9
     Erasing     : python3-zipp-0.5.1-3.el8.noarch            6/9
     Erasing     : python3-typing-extensions-3.7.4.2-1.el8.noarch     7/9
     Erasing     : python3-jmespath-0.10.0-1.el8.noarch          8/9
     Erasing     : python3-terminaltables-3.1.10-1.0.1.el8.noarch     9/9
     Verifying    : python3-arrow-1.1.1-1.el8.noarch            1/9
     Verifying    : python3-importlib-metadata-1.7.0-1.el8.noarch     2/9
     Verifying    : python3-jmespath-0.10.0-1.el8.noarch          3/9
     Verifying    : python3-prompt-toolkit-3.0.29-1.0.2.el8.noarch     4/9
     Verifying    : python3-terminaltables-3.1.10-1.0.1.el8.noarch     5/9
     Verifying    : python3-typing-extensions-3.7.4.2-1.el8.noarch     6/9
     Verifying    : python3-wcwidth-0.2.5-3.el8.noarch           7/9
     Verifying    : python3-zipp-0.5.1-3.el8.noarch            8/9
     Verifying    : python36-oci-cli-3.43.1-1.el8.noarch          9/9
    Removed:
     python3-arrow-1.1.1-1.el8.noarch
     python3-importlib-metadata-1.7.0-1.el8.noarch
     python3-jmespath-0.10.0-1.el8.noarch
     python3-prompt-toolkit-3.0.29-1.0.2.el8.noarch
     python3-terminaltables-3.1.10-1.0.1.el8.noarch
     python3-typing-extensions-3.7.4.2-1.el8.noarch
     python3-wcwidth-0.2.5-3.el8.noarch
     python3-zipp-0.5.1-3.el8.noarch
     python36-oci-cli-3.43.1-1.el8.noarch
    Complete!
    A copy of this installation log can be found at /var/log/oracle/JMSInstallScript/JMSInstallScriptLogs-18Jun2024-071730-7460.log
    Removing the temporary files.
    Complete!
    A copy of this installation log can be found at /var/log/oracle/JMSInstallScript/JMSInstallScriptLogs-18Jun2024-071730-7460.log
    Removing the temporary files.

Los archivos de registro están en el directorio /var/log/oracle/JMSInstallScript/.