How To
Summary
How to create a VMware testing environment for Cloud Pak for Security (CP4S)?
Environment
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.
- Select the ESX Host
- Select
Actions
, thenAdd Networking
- Select
virtual machine Port Group
for aStandard Switch
, thenNext
- Select
Select an existing standard switch
, thenBrowse
- Select
vSwitch0
and OK, thenNext
- Select
Network Label: external_gw_internet
- Select
Optional: Give a VLAN ID
- Select
Finish
- ii) Internal RHOCP Network
Internal Network for the containers to talk to one another.
- Select the ESX Host
- Click Actions, then Add Networking
- Select Virtual Machine Port Group for a Standard Switch, then Next
- Select New Standard Switch, set the
MTU
to 1500, then Next - Click Next in the
Assigned Adapters
menu - Network Label: internal_oc_cp4s
- Optional: Give a VLAN ID
- Finish
- i) External Gateway
- B. Create the following VMs
Several VMs are needed for a supported distributed environment.
i)
Gateway Host4 CPU cores
8 GB RAM
120 GB disk
- a) Setup WAN - Accessing the Internet
- Select Network Adapter1
- Select external_gw_internet and check the Connected box
- Expand the adapter and select Connect at Power On
- Adapter Type VMXNET 3
- b) Setup LAN - Accessing the Clusters
- Add New Device
- Select Network Adapter2
- Select internal_oc_cp4s and check the Connected box
- Expand the adapter and select Connect at Power On
- Adapter Type VMXNET 3
- a) Setup WAN - Accessing the Internet
ii)
Jump Server VM2 CPU cores
4 GB RAM
50 GB disk
Network Adapter1
- Select internal_oc_cp4s and check the Connected box
- Expand the adapter and select Connect at Power On
- Adapter Type VMXNET 3
iii)
Services Host VM4 CPU cores
8 GB RAM
3 TB disk
Network Adapter1
- Select internal_oc_cp4s and check the Connected box
- Expand the adapter and select Connect at Power On
- Adapter Type VMXNET 3
iv)
Create the RHOCP VMsRepeat 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
- Select internal_oc_cp4s and check the Connected box
- Expand the adapter and select Connect at Power On
- Adapter Type VMXNET 3
v)
Extra ConfigurationVM Options needing enabled for each host
- VM Options → VMware Tools → Synchronize guest time with host
- VM Options → Advanced → Configuration Parameters → Edit Configuration → Add Configuration Params → enable.DiskUUID = TRUE
- VM Options → Boot Options → Check the Force EFI Setup.
- 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.
Related Information
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
01 August 2023
UID
ibm16553646