2010-11-16

EMCLI ( for GRID 11G)

Enterprise Manager Command Line Interface Download

 

The EM CLI Client can be installed on any machine within your managed network and provides a subset of the functionality available in the Enterprise Manager Grid Control console. It is designed to allow scripting access to some of the EM Grid Control functionality. It is recommended to install the latest version of EM CLI Client to work with latest versin of Enterprise Manager.

Requirements

Before installing EM CLI, you will need the following:










  • Java version 1.6.0 or greater










  • Workstation running Solaris, Linux, HPUX, Tru64, AIX, or Windows with NTFS (client installation)

    Installing the EM CLI Client










  • Download the EM CLI Kit to your workstation.










  • Set your JAVA_HOME environment variable and ensure that it is part of your PATH. You must be running Java 1.6.0 or greater. For example


    setenv JAVA_HOME /usr/local/packages/j2sdk1.6.0_02

    setenv PATH $JAVA_HOME/bin:$PATH










  • Install the EM CLI Client. You can install the client portion of EM CLI in any directory either on the same machine as the OMS or on any machine on your network (download the emclikit.jar to that machine).


    java -jar emclikit.jar client -install_dir=<emcli client dir>










  • Execute "emcli help setup" from the EM CLI Client for instructions on how to use the "setup" verb to configure the client for a particular OMS.










  • EM CLI Client can be configured to work with multiple OMS by doing multiple setups. For example


    Setup EM CLI client for OMS1 at location dir1

    emcli setup -dir=<dir1> -url=<Url of OMS1> -user=<EM Username for OMS1>

    Setup EM CLI client for OMS2 at location dir2


    emcli setup -dir=<dir2> -url=<Url of OMS2> -user=<EM Username for OMS2>


    Set the environment variable EMCLI_STATE_DIR to point to the setup dir for the OMS1


    setenv EMCLI_STATE_DIR <dir1>


    Above will set EM CLI Client to work with OMS1

    Set the environment variable EMCLI_STATE_DIR to point to the setup dir for the OMS2

    setenv EMCLI_STATE_DIR <dir2>

    Above will set EM CLI Client to work with OMS2

    Niciun comentariu:

    Trimiteți un comentariu