IBM Support

Cloud Pak for Security: Creating a VMware Test Environment: Start with VM Creation

How To


Summary

How to create a VMware testing environment for Cloud Pak for Security (CP4S)?

Environment

vSphere Hypervisor 6.7 U2

Steps

NOTICE: AN ALL-IN-ONE (AIO) RED HAT® OPENSHIFT® DEPLOYMENT IS NOT SUPPORTED BY IBM.

WARNING: These instructions are for test environments only and not for production environments. This example uses bare minimum specifications for bare minimum test use.

NOTE: These instructions are provided as a courtesy. If you have issues, do not open a case, but rather use our forum to ask questions. These instructions demo one way to setup a testing environment, there are many ways that are documented by Red Hat.

The VM specifications you create can be found in the requirements documentation.

  • A. Virtual LAN Creation

    The supported CP4S configuration is extremely network intensive and needs be isolated for testing environments.

    • i) External Gateway

      Network for internet access for pulling down installation packages as needed.

      1. Select the ESX Host
      2. Select Actions, then Add Networking
      3. Select virtual machine Port Group for a Standard Switch, then Next
      4. Select Select an existing standard switch, then Browse
      5. Select vSwitch0 and OK, then Next
      6. Select Network Label: external_gw_internet
      7. Select Optional: Give a VLAN ID
      8. Select Finish
    • ii) Internal RHOCP Network

      Internal Network for the containers to talk to one another.

      1. Select the ESX Host
      2. Click Actions, then Add Networking
      3. Select Virtual Machine Port Group for a Standard Switch, then Next
      4. Select New Standard Switch, set the MTU to 1500, then Next
      5. Click Next in the Assigned Adapters menu
      6. Network Label: internal_oc_cp4s
      7. Optional: Give a VLAN ID
      8. Finish
  • B. Create the following VMs

    Several VMs are needed for a supported distributed environment.

    • i) Gateway Host

      4 CPU cores

      8 GB RAM

      120 GB disk

      • a) Setup WAN - Accessing the Internet
        1. Select Network Adapter1
        2. Select external_gw_internet and check the Connected box
        3. Expand the adapter and select Connect at Power On
        4. Adapter Type VMXNET 3
      • b) Setup LAN - Accessing the Clusters
        1. Add New Device
        2. Select Network Adapter2
        3. Select internal_oc_cp4s and check the Connected box
        4. Expand the adapter and select Connect at Power On
        5. Adapter Type VMXNET 3
    • ii) Jump Server VM

      2 CPU cores

      4 GB RAM

      50 GB disk

      Network Adapter1

      1. Select internal_oc_cp4s and check the Connected box
      2. Expand the adapter and select Connect at Power On
      3. Adapter Type VMXNET 3
    • iii) Services Host VM

      4 CPU cores

      8 GB RAM

      3 TB disk

      Network Adapter1

      1. Select internal_oc_cp4s and check the Connected box
      2. Expand the adapter and select Connect at Power On
      3. Adapter Type VMXNET 3
    • iv) Create the RHOCP VMs

      Repeat the following steps eight times for each of: one bootstrap server, three control servers, and four compute servers.

      Note: It is possible to have more or less server quantity. Fewer servers increase the risk of having to reinstall all servers if too many nodes fail.

      5 CPU cores

      32 GB RAM

      120 GB disk

      Network Adapter1

      1. Select internal_oc_cp4s and check the Connected box
      2. Expand the adapter and select Connect at Power On
      3. Adapter Type VMXNET 3
    • v) Extra Configuration

      VM Options needing enabled for each host

      1. VM Options → VMware Tools → Synchronize guest time with host
      2. VM Options → Advanced → Configuration Parameters → Edit Configuration → Add Configuration Params → enable.DiskUUID = TRUE
      3. VM Options → Boot Options → Check the Force EFI Setup.
  1. VMware, the VMware logo, VMware Cloud Foundation, VMware Cloud Foundation Service, VMware vCenter Server, and VMware vSphere are registered trademarks or trademarks of VMware, Inc. or its subsidiaries in the United States and/or other jurisdictions.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB24","label":"Security Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSTDPP","label":"IBM Cloud Pak for Security"},"ARM Category":[{"code":"a8m0z000000Xat9AAC","label":"Documentation"},{"code":"a8m0z0000001h8uAAA","label":"Install"},{"code":"a8m0z0000001js1AAA","label":"Openshift"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.9.0"}]

Document Information

Modified date:
01 August 2023

UID

ibm16553646