Step By Step Virtual PS Install: Database Creation

This is a continuation of my virtual PeopleSoft installation.  In this step, we will create the database in an already installed Oracle Database system.  So, this assumes that the Oracle Database software is already installed.  Loading the PeopleTools data will be covered in the next step.  To see the complete list of steps, click here.

Read the rest of this entry »

Step by Step PS Install: Load the Database

This is a continuation of my virtual PeopleSoft installation.  In this step, we will run Data Mover to load the database.  To see the complete list of steps, click here.

Read the rest of this entry »

Step By Step Virtual PS Install: Install Database

This is a continuation of my virtual PeopleSoft installation.  In this step, we will discuss how to install the Oracle database.  To see the complete list of steps, click here. Read the rest of this entry »

Step By Step Virtual PS Install: Copying Files

This is a continuation of my virtual PeopleSoft installation.  In this step, we will discuss how to copy files between the client and the host operating systems.  To see the complete list of steps, click here.

Read the rest of this entry »

Step By Step Virtual PS Install: Configure OS

This is a continuation of my virtual PeopleSoft installation.  In this step, we will install the operating system in to the virtual machine.  To see the complete list of steps, click here.

Here are a few things that you will want to do to your new installation to prepare for installing the database and other components.

Read the rest of this entry »

Step By Step Virtual PS Install: Install OS

This is a continuation of my virtual PeopleSoft installation.  In this step, we will install the operating system in to the virtual machine.  To see the complete list of steps, click here.

Read the rest of this entry »

Step By Step Virtual PS Install: Creating the Image

Click here for the complete list of articles

This is the first part in creating a virtual image with PeopleSoft HR installed.  We will use VMWare Server for the virtual machine and the host machine is a linux machine.  The PeopleSoft server will be Linux too so that everything is installed from downloads.  Of course, this will not be a production ready machine, but it should work great for learning and testing purposes.  You can always deviate from the instructions enough to use Windows or other supported tools if you wish.

VMWare server can be installed easily enough using these instructions:

Install VMware Server 1.0.6 on Ubuntu 8.04 “Hardy”

Installation on other host operating systems is not difficult.  You should be able to use any host operating system you like assuming that it is supported by VMWare.  You can download VMWare Server directly from here:

VMWare Server

Once installed, log in and click the create a new virtual machine — click the “Create a new virtual machine” button.

This will open the wizard to create the new machine.

Next, choose a typical image.

Next, choose Linux and Red Hat Enterprise Linux for the version.

Next, choose a name for the new virtual machine.

Next, choose a networking option.  If you wish to transfer files using Windows File Sharing, you may want to choose bridged.  This gives you the ability to access files from other computers/servers on the network.  If you are on a computer with multiple ethernet cards like a laptop with a wired and wireless card, you might want to choose NAT so that you don’t have to worry about which one should be mapped to the machine.

Next, choose a hard drive size.  It works best/easiest if you choose a huge size like 100G and don’t allocate now.  This makes the hard drive flexible, and you don’t have to worry about trying to make it larger later.  The image will take as much as it needs without crashing.  If you need to delete files and conserve space later you can and then shrink the hard drive to free up the space on the host.

Finally, click Finish, and you should have a new empty virtual computer.

Tuxedo Install Error

I have been attempting to install Tuxedo on Oracle Enterprise Linux 5.  The installation presented several problems, and so, I thought it might be helpful to blog the fixes.

Both errors appear to be part of the InstallAnywhere installation system.  So, the fixes that I found were not specifically for Tuxedo or even PeopleSoft/Bea.

The first error output looked like this:

awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/tmp/install.dir.5362/Linux/resource/jre/bin/java:
error while loading shared libraries: libpthread.so.0: cannot open
shared object file: No such file or directory
Tuxedo 9.1 base installation complete

I found the fix here.  Basically, you comment out the part of the script that sets the LD_ASSUME_KERNEL variable.  You can’t just use any text editor or even vi because the file actually contains the binary installation files zipped up in it.  Instead, this sed command seems to work:

cd linux/sles9/base/
cp tuxedo91_32_SLES_9_x86.bin ../Install.bak
chmod +w tuxedo91_32_SLES_9_x86.bin
cat ../Install.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > tuxedo91_32_SLES_9_x86.bin

That fixed part of the problem.  But, I still received this error:

awk: cmd. line:6: warning: escape sequence `\.' treated as plain `.'
=======================================================

Installer User Interface Mode Not Supported

Unable to load and to prepare the installer in console or silent mode.

=======================================================

The awk… message looks like it is a problem, but that can be ignored.  A couple of searches showed that other people’s successful installs had this error message.  As best I can tell, the problem lies in the packaged version of Java.

To fix the problem, I first had to install Java.  GCJ comes installed by default.  I installed Sun’s Java 1.5 by downloading and installing jdk-1_5_0_16-linux-i586-rpm.bin.

Then, I found an article that explains how to override the JVM used by the installer.  To make this work, you need to edit (with either the vi command or the gedit command) the install.sh.  Change the line from (line #259):

        sh $INSTALL_BINARY -f $SILENT_INSTALL_FILE > $INSTALLER_OUTPUT;

to:

        sh $INSTALL_BINARY LAX_VM /usr/java/jdk1.5.0_16/bin/java -f $SILENT_INSTALL_FILE > $INSTALLER_OUTPUT;

After that fix, tuxedo finally installed for me!

Resources

ORA-01502: Indexes in unusable state

I kept getting error messages like this:

ORA-01502: index 'SYSADM.PS_PSAESTMTDEFN' or partition of such index is in unusable state

I found the answer to the problem here:

ORA-01502 Oracle Index in Unusable State

As Katie mentioned in the comments, the status in 10g is UNUSABLE instead of INVALID.

Here is a quick script to rebuild all of the problem indexes:

declare
begin
   for index_rec in (select owner, index_name 
                     from dba_INDEXES 
                     where status = 'UNUSABLE')
   loop                     
      execute immediate 'alter index ' || index_rec.owner || '.' || 
          index_rec.index_name || ' rebuild';
   end loop;
end;

HCM90: More Tablespace Sizing

There is a fix out to reduce the database size:

  • Financials: 704935
  • HRMS: 704332
  • Portal: 704763

The only difference between the changes in the fix and what I had previously done,  is the blocksize setting.  As far as I could tell, it really didn’t make a sizeable impact.  What did make a difference was changing the properties on the other tablespaces besides the index tablespace.

Below I have listed some SQL and such that I used to shrink the database and move segments from the tablespaces.

Read the rest of this entry »