Skip to content

Latest commit

 

History

History
76 lines (61 loc) · 2.28 KB

INSTALLATION.md

File metadata and controls

76 lines (61 loc) · 2.28 KB

Installation of Terraform Provider for Dell PowerMax

Installation from public repository

The PowerMax Provider can be found on the Terraform Registry here

The provider will be fetched from the public repository and installed by Terraform automatically. Create a file called main.tf in your workspace with the following contents

terraform {
  required_providers {
    powermax = { 
      version = "1.0.0"
      source = "registry.terraform.io/dell/powermax"
    }
  }
}

Then, in that workspace, run

terraform init

Installation from source code

  1. Clone this repo
  2. In the root of this repo run
make install

Then follow installation from public repo

Usage

Once you have installed the PowerMax provider, you can start using it in your Terraform configuration files. The provider has a number of resources that you can use to manage your PowerMax storage arrays.

For example, you can use the powermax_storagegroup resource to create a new storage group:

resource "powermax_storagegroup" "test" {
  name             = "terraform_sg"
  srp_id           = "SRP_1"
  slo              = "Gold"
  host_io_limit = {
    host_io_limit_io_sec = "1000"
    host_io_limit_mb_sec = "1000"
    dynamic_distribution  = "Never"
  }
}

For more resources, please refer to examples

SSL Certificate Verification

For SSL verifcation on RHEL, below steps can be performed:

  • Copy the CA certificate to the /etc/pki/ca-trust/source/anchors path of the host by any external means.
  • Import the SSL certificate to host by running
update-ca-trust extract