dellemc.vxrail.dellemc_vxrail_cluster_expansion (7.0.240) — module

Add a node discovered by LoudMouth to an existing VxRail Cluster

| "added in version" 1.0.0 of dellemc.vxrail"

Authors: Hongmei Gao(@gaohongmei) <ansible.team@dell.com>

Install collection

Install with ansible-galaxy collection install dellemc.vxrail:==7.0.240


Add to requirements.yml

  collections:
    - name: dellemc.vxrail
      version: 7.0.240

Description

This module will validate a L2 cluster expansion, perform a L2 cluster expansion based on the provided expansion specification and query status.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: Start a cluster expansion
    dellemc-vxrail-cluster:
        vxmip: "{{ vxmip }}"
        vcadmin: "{{ vcadmin }}"
        vcpasswd: "{{ vcpasswd }}"
        vxm_version: "{{ vxm_version }}"
        host_psnt: "{{ host_psnt }}"
        hostname: "{{ hostname }}"
        mgt_account: "{{ mgt_account }}"
        mgt_passwd: "{{ mgt_passwd }}"
        root_passwd: "{{ root_passwd }}"
        mgt_ip: "{{ mgt_ip }}"
        vsan_ip: "{{ vsan_ip }}"
        vmotion_ip: "{{ vmotion_ip }}"
        rack_name: "{{ rack_name }}"
        order_number: "{{ order_number }}"
        maintenance_mode : "{{ maintenance_mode }}"
        timeout : "{{ timeout }}"

Inputs

    
vxmip:
    description: The IP address of the VxRail Manager System
    required: true
    type: str

mgt_ip:
    description: The management IP address for the ESX Host.
    required: true
    type: str

timeout:
    default: 1800
    description: Time out value for cluster expansion, the default value is 1800 seconds
    required: false
    type: int

vcadmin:
    description: Administrative account of the vCenter Server the VxRail Manager is registered
      to
    required: true
    type: str

vsan_ip:
    description: The vsan IP address for the ESX Host.
    required: true
    type: str

hostname:
    description: The name for the ESX Host.
    required: true
    type: str

vcpasswd:
    description: The password for the administrator account provided in vcadmin
    required: true
    type: str

host_psnt:
    description: The psnt number for the ESX Host.
    required: true
    type: str

rack_name:
    default: default-rack
    description: The name of the rack that houses the host,the default value is default-rack
    required: false
    type: str

mgt_passwd:
    description: The password for the Management account
    required: true
    type: str

vmotion_ip:
    description: The vmotion IP address for the ESX Host.
    required: true
    type: str

mgt_account:
    description: Management account the VxRail Manager is registered to
    required: true
    type: str

root_passwd:
    description: The password for the root account
    required: true
    type: str

vxm_version:
    description: The version of the VxRail Manager System.
    required: true
    type: str

order_number:
    default: 5
    description: The position of the node in the rack,the default value is 5
    required: false
    type: int

maintenance_mode:
    default: false
    description: Whether the hosts remain in maintenance mode after being added to the
      cluster, the default value is false
    required: false
    type: bool

Outputs

changed:
  description: Whether or not the resource has changed.
  returned: always
  type: bool
expansion_status:
  description: cluster expansion status summary
  returned: always
  sample: "{\n \"NodeCompatiblityValidation\": {\n     \"request_id\": \"2ce09bde-d987-4fff-8f90-6fc430e2bfc3\"\
    ,\n     \"status\": \"COMPLETED\"\n },\n \"NodeExpansion\": {\n     \"request_id\"\
    : \"433d0a61-06e7-4cb8-a1eb-985ab9a8b5dd\",\n     \"status\": \"COMPLETED\"\n\
    \ }\n \"msg\": \"The cluster expansion is successful. Please see the /tmp/vxrail_ansible_cluster.log\
    \ for more details\"\n}"
  type: dict