Tuesday, August 20, 2019

Steps to install of Oracle Tuxedo 12c version 12.2.2 patch in Linux Server

Steps to install of Oracle Tuxedo 12c version 12.2.2 patch in Linux Server

  1. Tuxedo 12.2.X onwards releases are supported by opatch so there are not many changes while installing Oracle Tuxedo base version but you will have to use opatch while applying Tuxedo rolling patches.
  2. Set Environment variables

Export JAVA_HOME=/opt/JDK1.8

EXPORT ORACLE_HOME=/opt/tuxedo


3. Create Oracle initialization file as oraInst.loc
This file contains the Oracle home path. Check sample file in Oracle documents for reference.

4. Run following command
Navigate to patch folder
>$ORACLE_HOME/OPatch/opatch apply 2951XXXX.zip -invPtrLoc /opt/oraInst.loc

Picked up _JAVA_OPTIONS: -Djava.security.egd=file:/dev/./urandom

Invoking OPatch 11.2.0.1.2



Oracle Interim Patch Installer version 11.2.0.1.2

Copyright (c) 2010, Oracle Corporation. All rights reserved.



 

Oracle Home : /opt/tuxedo

Central Inventory : /opt/tuxedo

from : /opt/oraInst.loc

OPatch version : 11.2.0.1.2

OUI version : 12.2.0.1.0

OUI location : /opt/tuxedo/oui

Log file location : /opt/tuxedo/cfgtoollogs/opatch/opatch2019-.log


.
.

OPatch will rollback the subset patches and apply the given patch.



Running prerequisite checks...



OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.



Backing up files and inventory (not for auto-rollback) for the Oracle Home

Backing up files affected by the patch '29513310' for restore. This might take a while...

Backing up files affected by the patch '29513310' for restore. This might take a while...

ApplySession rolling back interim patch '29513310' from OH '/opt/tuxedo'

..

 OPatch Session completed with warnings.



OPatch completed with warnings.

5. Check version of tuxedo using tmadmin -v

Monday, August 19, 2019

PeopleTools 8.57 installation on Linux Server through DPK

      PeopleTools 8.57 installation on Linux Server through DPK

PeopleTools 8.57 has to be installed through DPK. Except PeopleTools everything else you can install manually in classic way. Following step will guide in details for PeopleTools 8.57 installation on Linux Server through DPK.

  1. Extract first zip file of the linux DPK setup files inside DPK_INSTALL folder




DPK_INSTALL]$



    2. Before you proceed for PeopleTools installation you will need to install Puppet software through root user. If you wanted to installed PeopleTools through root access then you don't need to install Puppet separately. Use following command if you wanted to install only Puppet using root user.

Use this command if you do not want to update the system configuration variables on your host.
setup> ./psft-dpk-setup.sh --prereq.

User this command if you want to change ulimit and kernel values as per installation guide. This will also install puppet. This is optional.
setup>./psft-dpk-setup.sh --prereq --syscfg

 Puppet gets installed in /opt/puppetlabs

        3.   Open a terminal window using non root user and change directory to DPK_INSTALL/setup

      [setup]$ ./psft-dpk-setup.sh --env_type midtier --deploy_only --deploy_type tools_home

      You are running DPK setup without root/administrator access.
      Before proceeding, please ensure that the necessary prerequisites
      have been met, as described in the PeopleSoft installation documentation.

      Would you like to proceed with the setup as a non-root user? [y/n]: y

       
      Starting the PeopleSoft Environment Setup Process:

      Validating User Arguments: [ OK ]
      Validating PeopleSoft Supported Platform: [ OK ]

      Extracting the Zip File PEOPLETOOLS-LNX-8.57.05_4of4.zip: [ OK ]
      Extracting the Zip File PEOPLETOOLS-LNX-8.57.05_3of4.zip: [ OK ]
      Extracting the Zip File PEOPLETOOLS-LNX-8.57.05_2of4.zip: [ OK ]

       
      Verifying if Puppet Software is installed: [ OK ]
      Verifying if eYAML Hiera Backend is Installed: [ OK ]

      Preparing the Redhat Linux VM for PeopleSoft Environment:

      Checking if PeopleSoft DPKs are Present: [ OK ]

      The base directory is used to extract the PeopleSoft DPKs. It is also
      used to deploy the PeopleSoft components. This directory should be
      accessible on the Linux VM, must have write permission and should
      have enough free space.
      Enter the PeopleSoft Base Directory: /opt/PT857Base
      Are you happy with your answer? [Y|n|q]: y

      Checking if the Base Directory has Enough Free Space:
      The PeopleSoft base directory [/opt/PT857Base] has only
      xxxGB of disk space available. Please ensure it has at least
      25 GB of free space for midtier.

      Validating the PeopleSoft DPKs in the Linux VM:
      Validating the PeopleSoft PeopleTools Server DPK: [ OK ]
      Validating the PeopleSoft PeopleTools Client DPK: [ OK ]

      Validating the Manifest Information in PeopleSoft DPKs: [ OK ]

      Extracting the PeopleSoft DPK Archives in the Linux VM:
      Extracting the PeopleSoft PeopleTools Server DPK Archives: [ OK ]

      Setting up Puppet on the Linux VM:
      Generating eYAML Hiera Backend Encryption Keys: [ OK ]
      Updating the Puppet Hiera YAML Files in the Linux VM: [ OK ]
      Updating the Role in Puppet Site File for the Linux VM: [ OK ]

      Enter the PeopleSoft database platform [ORACLE]: ORACLE
      Is the PeopleSoft database unicode? [Y|n]: Y

      Are you happy with your answers? [y|n]: Y
      Encrypting the Passwords in the User Data:
      Updating the Puppet Hiera YAML Files with User Data: [ OK ]

      The bootstrap script is ready to deploy and configure the PeopleSoft
      environment using the default configuration defined in the Puppet
      Hiera YAML files. You can proceed by answering 'y' at the following
      prompt. And, if you want to customize the environment by overriding
      the default configuration, you can answer 'n'. If you answer 'n', you
      should follow the instructions in the PeopleSoft Installation Guide
      for creating the customization Hiera YAML file and running the Puppet
      'apply' command directly to continue with the setup of the PeopleSoft
      environment.

      Do you want to continue with the default initialization process? [y|n]: n

      You have decided not to continue with the default PeopleSoft environment
      setup process. Any customizations to the PeopleSoft environment should be
      done in the Hiera YAML file 'psft_customizations.yaml' and place it under
      [/opt/PT857Base/dpk/puppet/production/data] directory. After making the
      necessary customizations, run the following commands to continue with the
      setup of PeopleSoft environment.

      1. cd /opt/PT857Base/dpk/puppet/production/manifests
      2. /opt/puppetlabs/bin/puppet apply --confdir=/opt/PT857Base/dpk/puppet site.pp --debug --trace --detailed-exitcodes --logdest /some_valid_path/to/log/psft_dpk_setup.log

      Exiting the PeopleSoft environment setup process.

      The PeopleSoft Environment Setup Process Ended.df

          4.  Created following psft_customizations.yaml file and placed in data folder






              ---

              ps_home:

              db_type: "%{hiera('db_platform')}"

              unicode_db: "%{hiera('unicode_db')}"

              location: "/opt/PSHOME"

                    5. Run the following command and PeopleTools 8.57 with patch will get installed.


                        cd /opt/PT857Base/dpk/puppet/production/manifests



                        [manifests]$ /opt/puppetlabs/bin/puppet apply --confdir=/opt/PT857Base/dpk/puppet site.pp --debug --trace --detailed-exitcodes --logdest /opt/tmp/psft.log


                        6. Next step is to create environment file psft_env.sh. Sample file is present in installation doc. You can include given variable in non root user profile file as well. Also call psconfig.sh from same profile file.