Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 2 KB

automation_host_prereqs.md

File metadata and controls

47 lines (34 loc) · 2 KB

Automation Host Prerequisites

Configure Your Firewall

If your automation host is behind a firewall, you will need to ensure the following ports are open in order to use ssh, http, and https:

  • 22, 443, 80

These additional ports are required for the ocp cli (oc) post-install:

  • 6443

Automation Host Setup

Install the following packages on the automation host. Select the appropriate install binaries based on your automation host platform - Mac/Linux/Windows.

Terraform

Terraform: Please open the link for downloading the latest Terraform. For validating the version run terraform version command after install.

Install Terraform and providers for Power environment:

  1. Download and install the latest Terraform binary for Linux/ppc64le from https://github.com/ppc64le-development/terraform-ppc64le/releases.
  2. Download the required Terraform providers for Power into your TF project directory:
$ cd <path_to_TF_project>
$ mkdir -p ./providers
$ curl -fsSL https://github.com/ocp-power-automation/terraform-providers-power/releases/download/v0.11/archive.zip -o archive.zip
$ unzip -o ./archive.zip -d ./providers
$ rm -f ./archive.zip
  1. Initialize Terraform at your TF project directory:
$ terraform init --plugin-dir ./providers

PowerVS CLI

PowerVS CLI: Please download and install the CLI by referring to the following instructions. Alternatively, you can use IBM Cloud shell directly from the browser itself.

Git

Git: Please refer to the link for instructions on installing Git.