X

An Oracle blog about PeopleSoft Technology

5 steps to provision PeopleSoft Instances using Oracle Autonomous Linux on PeopleSoft Cloud Manager

Aravind Prem
Software Engineer, Application Development

PeopleSoft Cloud Manager makes securing the PeopleSoft instances in the cloud an easy job.  The one-click PeopleTools Update and Upgrade features are a testimony to that. But when you use standard Linux OS images, the complex task of applying the patches to the OS and the packages is your responsibility. Oracle introduced Oracle Autonomous Linux to take the burden of maintaining the OS from the customers.  Oracle Autonomous Linux uses Oracle Ksplice technology to provide automatic security updates every day to the Linux kernel and key user space libraries, with zero downtime. Oracle Autonomous Linux is the first autonomous OS that does automatic patch updates and tuning without the need of an admin, thereby greatly improving security, productivity, and no downtime.


Did you know that you can use Cloud Manager for provisioning PeopleSoft instances on Oracle Autonomous Linux?

The ability to select the Linux image of your choice and the automated way of installing packages and configuring the OS using scripts at the time of the creation of the Linux instance makes this possible.

Follow these five steps to use Oracle Autonomous Linux in PeopleSoft Cloud Manager:

1.    Finding Oracle Autonomous Linux Image details
2.    Updating the Cloud Manager with Autonomous Linux Image details
3.    Creating a custom script to install packages required for PeopleSoft deployment
4.    Uploading the custom script to the Cloud Manager
5.    Including the script in the template/provisioning


1. Finding Oracle Autonomous Linux Image details

You need the OCID details of the Oracle Autonomous Linux. You can find the details from OCI Documentation page for images. Copy the OCID of Oracle Autonomous Linux for your region.


 
2. Updating the Cloud Manager with Autonomous Linux Image details

The next step is updating the copied OCID in the Cloud Manager (CM). Navigate to CM Home Page>Cloud Manager Settings>Infrastructure Settings>Operating System Images.
For Linux Image, select Marketplace Image as NO. Then paste the Oracle Autonomous Linux OCID in the Image OCID field.



Save the changes and click the CM Metadata refresh button (seen on the top right of the page) for the changes to reflect. Once the refresh is successful, a green tick icon will appear in the UI besides the Image OCID field.


3. Creating a custom script to install packages

The Autonomous Linux Image has few packages missing that are required for PeopleSoft deployment through Cloud Manager. You can install these packages using the custom script (bash) feature in CM. The installation will happen as part of the pre-provisioning activity during VM deployment.

A simple sample custom script with the required list of packages is given below:
#!/bin/bash
#Install Missing Packages in Autonomous Linux

sudo yum install nfs-utils -y
sudo yum install rpcbind -y
sudo yum install dmidecode -y
sudo yum install pciutils -y
sudo yum install zip -y
sudo yum install unzip -y
sudo yum install libaio -y
sudo yum install gcc -y
sudo yum install glibc.i686 -y
sudo yum install libstdc++ -y
sudo yum install libstdc++.i686 -y
sudo yum install rsync -y
sudo yum install samba -y
sudo yum install samba-winbind -y
sudo yum install openssl-devel –y


4. Uploading the custom script to install packages

Navigate to CM>Homepage>Repository>Upload Custom Scripts. Click on the Add button and upload the above script.

 
5. Including the custom script in the Template or during provisioning

Now we need to ensure that the script is invoked during provisioning an instance. We do this by including the script as part of the pre-provisioning activity. One way to do this is by providing the details in the Template to be used.  Under General Settings of Linux tiers (Middle Tier/Full Tier/DB on Compute/ELK) select this script for the “Pre Provision Custom Script” field.


 
The other way is by adding it during the provisioning or add node time to the “Pre Provision Custom Script” field.
Once you provision an instance using the Autonomous Linux, you can verify the Linux image details from the Environment Details page of the provisioned instance.

You can read more about using PeopleSoft Cloud Manager here and Oracle Autonomous Linux here.
 

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.