Full Linux® subscription for IBM Power Virtual Server Private Cloud
IBM Power Virtual Server Private Cloud in Client location
The full Linux® subscription feature enables Red Hat Enterprise Linux (RHEL) and SUSE Linux Enterprise Server (SLES) support through IBM.
The full Linux subscription uses activation keys to provide access to interim fixes and updates for the operating system (OS) for IBM® Power® Virtual Server. The Power Virtual Server is hosted on an IBM satellite server within the IBM Cloud environment. Extra charges apply for setting up a Full Linux subscription account.
To register for the full Linux subscription, you must select one of the stock OS images that are provided by IBM. IBM currently provides RHEL and SLES stock OS images for non-SAP applications.
To know more about the SLES versions that are supported, see What versions of AIX, IBM i, and Linux are supported?.
If you use the full Linux subscription, select the OS image with the file name that starts with RHEL
or SLES
. If you use your own license and supply your own subscription, select the OS image that is suffixed with -BYOL
.
To select the OS images, click Boot image > Operating system > Client supplied subscription section on the Create virtual server instance page. You can import your own custom image when
you plan to supply your own subscription.
For SAP applications, you must use an IBM stock OS image for SAP that is certified for using SAP applications. The bring your own images feature is not supported. To learn more about SAP applications with Power Virtual Server before you start deployment, see Must-Reads.
The full Linux subscription feature for bring your own license or custom images is not available on the Create virtual server instance page > IBM provided subscription section. To get support from the support team for Linux through IBM Cloud, you must purchase a full Linux subscription from IBM Cloud. In addition, you must deploy one of the stock OS images for full Linux subscription that is available in the Power Virtual Server image catalog. If you bring your own license, you must use a bring your own license stock image or a custom image. For support, contact the OS image provider or your Linux subscription provider.
Setting up full Linux subscription
Complete the following steps to set up full Linux subscription for your account:
Configuring a data plane network
The pod is configured with a control plane network and data plane network when onboarded. The full Linux subscription setup is done through the data plane network. The data plane network connects the pod with your data center infrastructure. The data plane network and the control plane network do not interact with each other. Hence, for completing the full Linux subscription, use the data plane network on the pod. Set up connectivity between your data center and IBM Cloud either by using a site-to-site VPN for virtual private cloud (VPC) or by using IBM Cloud Direct Link 2.0.
Creating a proxy
A proxy setup is set up in a virtual private cloud (VPC) on IBM Cloud with a Virtual Switch Interface (VSI). Connect this VPC on IBM Cloud to the control plane network through IBM Cloud Direct Link 2.0 Connect or VPN connection.
The CentOS image is recommended for the proxy VSI.
To create a proxy setup, complete the following steps:
-
Open the Security groups for the VPC by navigation to the IBM Cloud dashboard > VPC Infrastructure > Networks > Security groups. For more information about security groups, see About security groups.
-
In the default Security group that is attached to your proxy, add 443, 8443, 80 and 3128 ports.
-
On the VSI, enable a floating IP temporarily. In the proxy instance, start a Secure Shell (SSH) connection by using this temporary IP address in the
ssh
command in the following format:ssh root@<external IP address>
For example, ssh root@1.2.3.4
Install squid base
In the VSI, install squid by using the following commands:
sudo yum update -y
sudo yum install epel-release
sudo yum install squid
You must have root authority to run these commands. After the installation completes, the squid config
file is stored in the /etc/squid/squid.conf
location.
Configure the squid by using the following commands:
acl localnet "<CIDR of a subnet that you will deploy in the pod>"
for example,10.140.129.217/29
acl ibmprivate dst 161.26.0.0/16
acl ibmprivate dst 166.8.0.0/14
acl SSL_ports port 8443
Also, look at the other entries and make necessary changes according to your environment.
Save the squid config
file and restart the squid service by using the following commands:
sudo systemctl enable squid
sudo systemctl stop squid
(optional)sudo systemctl start squid
Completing the setup
To complete the setup process, follow these steps:
-
Deploy a network in the pod.
-
Connect the network externally by using a ticketing process with Border Gateway Protocol (BGP).
-
Deploy the LPAR (RHEL or SLES) for completing the full Linux subscription.
-
Connect to the LPAR by using one of the following methods:
- From the console on the browser.
- By using the
SSH
command from your data network.
-
Test the internal private address of the VSI on the VPC by using the
ping
command. For example,ping 10.240.0.4
-
To register your LPAR with the RHEL or SLES subscription on the satellite server, open the
powervs-fls-readme.md
file that is stored in the path/usr/share/powervs-fls
and use the following command in the file:/usr/local/bin/rhel-cloud-init.sh
/usr/local/bin/sles-cloud-init.sh
-
One of the parameters for the command represents the proxy IP. Set this proxy IP to the internal private IP of your proxy VSI. For example,
10.240.0.4
. Set the port to 3128.
To check whether the setup is complete and the subscription is successful, check the log files, /var/log/powervs-fls.log
and powervs-fls-dev.log
. When the setup is completed successfully, you can use the commands,
such as yum update -y
, yum search <package>
, yum install <package>
.
Passing user-defined scripts
When you select a Full Linux Subscription (FLS) boot image while provisioning a Power Virtual Server instance, you can pass in user data during the first boot runtime.
In the user data, you can include custom content to tailor the startup configuration for the specific instance.
The custom user data must meet the following conditions:
- It is uncompressed.
- It starts with
#cloud-config
. - It must be within 63 Kb in size.