Enterprise Manager Command Line Interface

Quick Installation Guide

  • goto https://oms.cern.ch/em/console/emcli/download and follow the instructions
  • after installation is complete configure your account: emcli setup -url="https://oms.cern.ch/em/" -username=yourloginoem
  • you're ready to use emcli

Quick usage guide

Grouping targets (examples)
  • creating group:
    emcli create_group -name="PhyDB PROD Clusters" -add_targets="atlr:cluster;cmsr:cluster"
  • modifying group:
    emcli modify_group -name="PhyDB NONPROD Clusters" -delete_targets="atonr:cluster;" -add_targets="cmsonr:cluster"
  • deleting group:
    emcli delete_group -name="PhyDB RAC Hosts"

Examples related to cluster addition
emcli modify_group -name="PhyDB NONPROD Clusters"  -add_targets="intr:cluster"   
...


This topic: PSSGroup > PhysicsDatabasesSection > DbaArea > EMCLI
Topic revision: r3 - 2009-07-14 - DawidWojcik
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback