adcm_hc action

  • This module is intended to change host component map (hc) for cluster. In the sequience of operations you can break component constraints. All constraints are checked only once, when all operations are performed.
  • This module should be run only in cluster or service context. Cluster ID is taken from context.

Examples

- name: move master component from host1.company.com to host2.company.com
  adcm_hc:
    operations:
      -
        action: "remove"
        service: "hadoop"
        component: "master"
        host: "host.company.com"
      -
        action: "add"
        service: "hadoop"
        component: "master"
        host: "host2.company.com"

Return values

None