Coder Social home page Coder Social logo

ansible-emagent's Introduction

Oracle Enterprise Manager Agent Deployment Role

The dareko.emagent role deploys the Oracle Enterprise Manager agent on a target host. It requires the Oracle Enterprise Manager agent image to be provided by the user.

The oinstall group and the oracle account are created by the role if they don't exist.

Requirements

This role requires Ansible 1.4 or higher and Oracle Enterprise Manager 12c. Platform requirements are listed in the Supported Platforms section of the role details.

Oracle Enterprise Manager agent image need to be prepared separately by executing the following command and copying the agent image to the files directory.

emcli get_agentimage -platform="Linux x86-64" -version=12.1.0.3.0 -destination=/tmp

See the Oracle Enterprise Manager documentation for details.

Role Variables

The variables that can be passed to this role with default values are as follows.

# version
emagent_version: 12.1.0.3.0

# installation base directory
emagent_base: /opt/oracle

# installation directory
emagent_dir: agent12c

# port for emagent
emagent_port: 3872

# OMS host
emagent_oms_host:

# OMS upload host
emagent_oms_port: 1159

# OMS agent registration password
emagent_oms_password: 

# list of dependencies
emagent_packages:
  - bc
  - setarch

See the Oracle Enterprise Manager documentation for details.

Dependencies

None

Example Playbook

  1. Add a group to the hosts inventory file

     [emagent]
     host.domain
    
  2. Add variables to the group_vars/all file

     emagent_version: 12.1.0.2.0
     emagent_base: /u01/app/oracle/product
     emagent_port: 1830
     emagent_oms_host: oms.domain
     emagent_oms_port: 1159
     emagent_oms_password: agent_registration_password
    
  3. Add role to the site.yml file

     - hosts: emagent
       sudo: true
       roles:
       - role: dareko.emagent
    
  4. Run the site.yml playbook

     ansible-playbook -i hosts site.yml
    

License

MIT License

Author Information

Darek Owczarek

ansible-emagent's People

Contributors

dareko avatar

Watchers

James Cloos avatar Amaresh Pelleti avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.