You'll need to have an IBM Cloud Account to be able to use Power Systems Virtual Server (PowerVS).
Login to IBM Cloud Dashboard and search for "Power" in the Catalog. Select "Power Systems Virtual Server" and provide all the required inputs to create the service instance.
- Provide a meaningful name for your instance in the Service name field.
- Select the proper resource group. More details on resource groups is available from the following link
A private network is required for your OCP cluster. Choose the previously created "Service Instance" and create a private subnet by selecting "Subnets" and providing the required inputs. If you see a screen displaying CRN and GUID, then click "View full details" to access the "Subnet" creation page.
You can create multiple OCP clusters in the same service instance using the same private network. If required you can also create multiple private networks.
Provide the required inputs for private subnet creation
In order for your instances to communicate within the subnet, you'll need to create a service request.
Click on Support in the top bar and scroll down to Contact Support, then select "Create a case"
Select "Power Systems Virtual Server" tile
Complete the details as shown using the following template:
- [Subject:] Enable communication between PowerVS instances on private network
- [Body:]
Please enable IP communication between PowerVS instances for the following private network: Name: <your-subnet-name-from-above> Type: Private CIDR: <your ip subnet-from-above> VLAN ID: <your-vlan-id> (listed in your subnet details post-creation) Location: <your-location> (listed in your subnet details post-creation) Service Instance: <your-service-name>
Click "Continue" to accept agreements, and then Click "Submit case".
RHEL image is used for bastion and RHCOS is used for the OpenShift cluster nodes.
You'll need to create OVA formatted images for RHEL and RHCOS, upload them to IBM Cloud Object storage and then import these images as boot images in your PowerVS service instance.
Further, the image disk should be minimum of 120 GB in size.
- If you have PowerVC then you can follow the instructions provided in the link to export an existing PowerVC image to OVA image.
- You can also use the following python script to convert Qcow2 image to OVA
- Create IBM Cloud Object Storage service and bucket Please refer to the following link for instructions to create IBM Cloud Object Storage service and required storage bucket to upload the OVA images.
- **Create secret and access keys with Hash-based Message Authentication Code (HMAC)** Please refer to the following [link](https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-uhc-hmac-credentials-main) for instructions to create the keys required for importing the images into your PowerVS service instance.
- **Upload the OVA image to Cloud Object storage bucket** Please refer to the following [link](https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-upload) for uploading the OVA image to the respective bucket. Alternatively you can also use the following [python script](https://github.com/ocp-power-automation/infra/blob/master/scripts/images/upload_image.py).
Choose the previously created PowerVS "Service Instance", click "View full details" and select "Boot images". Click the "Importing image" option and fill the requisite details like image name, storage type and cloud object storage details.
Example screenshot showing import of RHEL image that is used for bastion
Example screenshot showing import of RHCOS image used for OCP
Your PowerVS service instance is now ready for OpenShift clusters.