IBM PowerVC

Getting Started

  • Installation
  • Configure PowerVC Credentials to interact with Ansible
  • Quickstart

References

  • Modules
    • Module reference
      • all_volumes – Fetches the Details of all the volumes
      • auxiliary_volume – Manage Auxiliary Volume onboard jobs in PowerVC
      • capture_vm – Capturing the Image out of the Virtual Machine.
      • clone_vm – Takes Clone of the Virtual Machine.
      • consistency_group – Create and update PowerVC Consistency Groups
      • copy_volume_type – Takes Copy of the Volume Types/Storage Template.
      • group_action – Perform action operations on a consistency group
      • hmc_registration – Register or unregister an HMC host in IBM PowerVC.
      • host_maintenance – Enable or disable host maintenance mode and migrate virtual machines in IBM PowerVC
      • host_recall – Recall virtual machines back to a PowerVC host
      • manage_vm – Performs the Manage operations on the Virtual Machine.
      • manage_volume – Performs Manage operations on the Volumes.
      • migrate_vm – Migrating the Virtual Machine from one host to the other
      • novalink_registration – Register or unregister a NovaLink host in IBM PowerVC.
        • Synopsis
        • Parameters
        • Examples
        • Status
      • pin_vm – Performs the Pin VM operations.
      • resize_vm – Resizes the VM based on the compute templates parameter.
      • retype_volume – Retype an IBM PowerVC volume
      • scg_info – Fetches the Storage Connectivity Group Details.
      • scg_operations – Performs the Create, Delete, Update on the Storage Connectivity Group.
      • server – Create/Delete the Virtual Machines from PowerVC.
      • snapshot_info – Fetches the Snapshot Details
      • snapshot_vm – Takes the Snapshot of VM’s All/Boot/Specific volumes.
      • unmanage_vm – Performs Unmanage operations on the Virtual Machine.
      • unmanage_volume – Performs Unmanage operations on the Volumes.
      • volume_attach – Attach the Volume to the Virtual Machine.
      • volume_detach – Detaches the Volume to the Virtual Machine.
      • volume_type_info – Fetches the Volume Type/Storage Templates Details
      • volume_type_update – Performs the Volume Type Update Operations
      • volume_update – Performs the Volume Update Operations
  • Playbooks

Community Guides

  • Contributing
  • Helpful Links

Requirements

  • Requirements

Appendices

  • Releases
IBM PowerVC
  • Modules
  • novalink_registration – Register or unregister a NovaLink host in IBM PowerVC.
  • Edit on GitHub

novalink_registration – Register or unregister a NovaLink host in IBM PowerVC.

  • Synopsis

  • Parameters

  • Examples

  • Status

Synopsis

Register or unregister a NovaLink managed host in IBM PowerVC.

Parameters

name (optional, str, None)

Display name of the NovaLink host.

access_ip (optional, str, None)

Management IP address of the NovaLink host.

user (optional, str, None)

User ID of the NovaLink host.

password (optional, str, None)

Password for the NovaLink host user.

force (optional, bool, False)

Forcefully adds the NovaLink.

uninstall (optional, bool, False)

Removes the PowerVC software from the host.

stand_by (optional, bool, False)

Enables standby mode.

standby_tag (optional, str, unplanned_maintenance)

Tag of the standby Host.

host_id (optional, str, None)

HYPERVISOR_ID/MTMS of the NovaLink host.

state (True, str, None)

Desired state of the NovaLink host.

Examples

- name: Register a NovaLink host
  hosts: localhost
  gather_facts: no
  tasks:
     - name: Register the NovaLink host
       ibm.powervc.novalink_registration:
          cloud: "CLOUD"
          name: "HOST_DISPLAY_NAME"
          access_ip: "IP_ADDRESS"
          user: "USER_ID"
          password: "PASSWORD"
          force: True
          state: present
       register: output
     - debug:
          var: output.result

- name: Register a NovaLink host in standby mode
  hosts: localhost
  gather_facts: no
  tasks:
     - name: Register the NovaLink host
       ibm.powervc.novalink_registration:
          cloud: "CLOUD"
          name: "HOST_DISPLAY_NAME"
          access_ip: "IP_ADDRESS"
          user: "USER_ID"
          password: "PASSWORD"
          stand_by: True
          standby_tag: "planned_maintenance"
          state: present
       register: output
     - debug:
          var: output.result

- name: Register a NovaLink host using private key
  hosts: localhost
  gather_facts: no
  tasks:
     - name: Register the NovaLink host
       ibm.powervc.novalink_registration:
          cloud: "CLOUD"
          name: "HOST_DISPLAY_NAME"
          host_type: "HOST_TYPE"
          access_ip: "IP_ADDRESS"
          user: "USER_ID"
          private_key: |
            -----BEGIN RSA PRIVATE KEY-----
            -------------------------------
            -----END RSA PRIVATE KEY-----
          state: present
       register: output
     - debug:
          var: output.result

- name: Unregister a NovaLink host
  hosts: localhost
  gather_facts: no
  tasks:
     - name: Unregister the NovaLink host
       ibm.powervc.novalink_registration:
          cloud: "CLOUD"
          host_id: "HYPERVISOR_ID/MTMS"
          state: absent
       register: output
     - debug:
          var: output.result

- name: Removes the PowerVC software from the NovaLink host
  hosts: localhost
  gather_facts: no
  tasks:
     - name: Removes the PowerVC software from host
       ibm.powervc.novalink_registration:
          cloud: "CLOUD"
          host_id: "HYPERVISOR_ID/MTMS"
          uninstall: True
          state: absent
       register: output
     - debug:
          var: output.result

Status

  • This module is not guaranteed to have a backwards compatible interface. [preview]

  • This module is maintained by PowerVC.

Authors

  • Karteesh Kumar Vipparapelli (@vkarteesh)

Previous Next

© Copyright 2020, IBM.