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"
...