Giter Club home page Giter Club logo

ansible-powermax's Introduction

Ansible Modules for Dell EMC PowerMax

The Ansible Modules for Dell EMC PowerMax allow data center and IT administrators to use RedHat Ansible to automate and orchestrate the configuration and management of Dell EMC PowerMax arrays.

The capabilities of Ansible modules are managing volumes, storage groups, ports, port groups, hosts, host groups, masking views, snapshots, SRDF links, RDF groups, metro DR environments, jobs, snapshot policies, storage pools and gathering high-level facts about the arrays. The options available for each capability are list, show, create, delete, and modify. These tasks can be executed by running simple playbooks written in yaml syntax. The modules are written so that all the operations are idempotent, therefore making multiple identical requests has the same effect as making a single request.

Support

Ansible modules for PowerMax are supported by Dell EMC and are provided under the terms of the license attached to the source code. Dell EMC does not provide support for any source code modifications. For any Ansible module issues, questions or feedback, join the Dell EMC Automation community.

Supported Platforms

  • Dell EMC PowerMax and VMAX All Flash arrays with Unisphere version 9.1 and later.

Prerequisites

This table provides information about the software prerequisites for the Ansible Modules for Dell EMC PowerMax.

Ansible Modules Unisphere Version PowerMaxOS Red Hat Enterprise Linux Python version Python library version Ansible
v1.5.0 9.1
9.2
5978.221.221
5978.444.444
5978.669.669
5978.711.711
7.5
7.6, 7.7, 7.8, and 8.2
2.7.12
3.5.2
3.6.x
3.7.x
9.1.x.x
9.2.x.x
2.9 and 2.10

Idempotency

The modules are written in such a way that all requests are idempotent and hence fault-tolerant. This means that the result of a successfully performed request is independent of the number of times it is executed.

List of Ansible Modules for Dell EMC PowerMax

  • Volume module
  • Host module
  • Host Group module
  • Snapshot module
  • Masking View module
  • Port module
  • Port Group module
  • Storage Group module
  • Gatherfacts module
  • SRDF module
  • RDF Group module
  • Metro DR module
  • Job module
  • Snapshot Policy module
  • Storage Pool module
  • Process Storage Pool module

Installation of SDK

Install the python sdk named 'PyU4V'. It can be installed using pip, based on the appropriate python version.

Installing Collections

  • Download the tar build and run the following command to install the collection anywhere in your system:

    ansible-galaxy collection install dellemc-powermax-1.5.0.tar.gz -p <install_path>
    
  • Set the environment variable:

    export ANSIBLE_COLLECTIONS_PATHS=$ANSIBLE_COLLECTIONS_PATHS:<install_path>
    

Using Collections

  • In order to use any Ansible module, ensure that the importation of the proper FQCN (Fully Qualified Collection Name) must be embedded in the playbook. For example,
    collections:
        - dellemc.powermax
  • To generate Ansible documentation for a specific module, embed the FQCN before the module name. For example,
           ansible-doc dellemc.powermax.dellemc_powermax_gatherfacts

Running Ansible Modules

The Ansible server must be configured with Python library for Unisphere to run the Ansible playbooks. The Documents provide information on different Ansible modules along with their functions and syntax. The parameters table in the Product Guide provides information on various parameters which needs to be configured before running the modules.

SSL Certificate Validation

  • Copy the CA certificate to the "/etc/pki/ca-trust/source/anchors" path of the host by any external means.
  • Set the "REQUESTS_CA_BUNDLE" environment variable to the path of the SSL certificate using the command:
           export REQUESTS_CA_BUNDLE=/etc/pki/ca-trust/source/anchors/<<Certificate_Name>>
  • Import the SSL certificate to host using the command:
           update-ca-trust extract
  • If "TLS CA certificate bundle error" occurs, then follow below steps:
    • cd /etc/pki/tls/certs/
    • openssl x509 -in ca-bundle.crt -text -noout

Results

Each module returns the updated state and details of the entity, for example, if you are using the Volume module, all calls will return the updated details of the volume. A sample result is shown in each module's documentation.

ansible-powermax's People

Contributors

anil-degwekar avatar astripei70 avatar dattaarindam avatar kharerajshree avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.