EMCLI Client Install

Install

Assumes the OEM Agent is already installed.

NOTE: Starting with version 12.1.0.3, emcli is automatically installed and configured in the OMS home.

export JAVA_HOME=/u01/app/oracle/product/agent13c/agent_13.4.0.0.0/oracle_common/jdk/jre/

export INSTDIR=/u01/app/oracle/product/emcli

mkdir -p ${INSTDIR}/conf

wget -P ${INSTDIR} --quiet --no-check-certificate https://myoemserver:7803/em/public_lib_download/emcli/kit/emclikit.jar

${JAVA_HOME}/bin/java -jar ${INSTDIR}/emclikit.jar -install_dir=${INSTDIR}/emcli

Add the value of ${INSTDIR} to PATH in your current environment and, if this is a permanent install, in your .bash_profile (or equivalent).

Configure

Configure emcli...

TODO

Configure emcli but don't register it...

(This is useful is you intend to use the emcli to do something like add targets, but then immediately remove it)

emcli setup -url=https://myoemserver:7803/em -username="sysman" -password="mySYSMANpwd" -dir="${INSTDIR}/conf" -trustall -noregister -noautologin