Tuesday, March 26, 2013

Oracle VM on VMWare VSphere Hypervisor (ESXi)

Several years ago, I started to build my lab environment on CentOS 5.4 and VMWare server 2.0.
It was rather good and stable, even though performance was not to be targeted. I built a lot of virtual machines, including some Oracle VM Servers for the Peoplesoft VM template testing.
I wrote an article in 2009 describing my all environment here.

Although it was working fine, almost 4 years later, it’s time for a change.

I could continue to work with a based OS (CentOS or Oracle Linux), then have a virtual machine software on top of it (VMWare Player or VirtualBox).
But there was a lot of changes these last few years on the bare-metal virtualization world. VMWare introduced ESXi (the free version of ESX), and Oracle VM is also becoming to play a more important role.

So, let’s get rid off one layer (the bare OS) and go for a straight away virtualization environment, a bare-metal virtualization software. Ok, it will make that all the work which was done on OS level has to be backported to an other level (like the Dell Open Manage Server Administration, we’ll see it later in an other blog entry how to do it).

But which VM software ? I worked a lot with VMWare Server over the last few years as well as Oracle VM (for the Peoplesoft VM template). Whether the second is good, the first looks more GUI friendly and easier to use. My assumption was that the bare-metal VMWare ESXi would be also more GUI friendly.
Nothing wrong to have a try, so let’s go for a look on VMWare ESXi side.

And really, after playing around for a while, I’m not disappointed by my choice.
That’s a good software for me and my needs. Moreover, since I had a dozen of VMs previously built on VMWare Server, I used the VMWare Converter utility to convert them for ESXi compliance and that’s it. All up and running within the new environment.

As of now, I have my server Dell PowerEdge 2900III with VMWare ESXi 5.1 and 14 virtual machines, and I cannot complain, all works as expected.

Well, all worked as expected until I wanted to test my Oracle VM on top of the new ESXi installation (bear in mind, here Oracle VM is nothing but a virtual machine – for a second layer of virtualization here).
1. The Oracle VM Server works like a charm, but the VMs inside the Oracle VM Server were not reachable from outside the VM itself (outside the Oracle VM Console).
Trying to make it clear, I have the following : WMWare ESXi => Oracle VM Server => Peoplesoft virtual machine
So what ? It was working fine on WMWare Server but not here, on VMWare ESXi ?
After digging a lot, I found an option of the network security layer, the Promiscuous Mode, once turned on (to ‘Accepted’, this is not the default), the Peoplesoft VM is finally reachable from ‘outside’ the VM itself.
 
OVM_ESXi_004
2. My Dell PowerEdge 2900III has two embedded NIC. I configured all my virtual machines to work on both, load balanced.
All VMs worked fine. All except those Peoplesoft VMs in the Oracle VM Servers. The connections to those Peoplesoft VMs (as a second layer of virtualization) were working, ping were working. Until a certain extend that I still cannot explain. The network was just broken for a couple seconds (such as 30 seconds), and up again (for a minute or so) and down again, etc. Of course, when you have an application server connection behind, it cannot work…
I spent several days on it, the solution was really simple though. Making the Oracle VM Server using a dedicated NIC solves this problem. 
OVM_ESXi_002  
Now I have a NIC for the Oracle VMs environment (Oracle VM Manager, Oracle VM Server for Peoplesoft databases, Oracle VM Server for applications), and an other NIC for all the other and ‘more’ regular VMs (one layer of virtualization only).

Should I say that’s obviously not a production environment ?
 
Happy, I’m back on board with the Peoplesoft VMs.

Nicolas.

Friday, March 22, 2013

Peopletools 8.53 and Peoplesoft 9.2

Here we are, probably later than initially expected though, but here we are.
Peopletools 8.53 released last month, unfortunately I did not get time to play with.
And as expected and announced, Peoplesoft 9.2 is now available as of today !

Theoretically, a new area is opened for the next three years regarding this new Application version, whereas it’s only for a year for the Peopletools.

Find out more :
https://blogs.oracle.com/peopletools/entry/oracle_and_the_peoplesoft_development
https://blogs.oracle.com/OracleHCM/entry/oracle_releases_oracle_s_peoplesoft1

Now, we could expect a lot over the Peoplesoft blogosphere on those within the coming few weeks !

Nicolas.

Tuesday, March 12, 2013

/lib/libc.so.6 and Peopletools 8.53

There was a recurrent “issue” when installing Peopletools 8.5x on Oracle Linux 6.x. As I wrote here about Tuxedo install with Peopletools 8.50 on OL6.0, and here for Peopletools 8.52 install on OL 6.3, each time the installer complained about strings: '/lib/libc.so.6': No such file.

As far as I know, that was just an other annoying message that we can ignore, even though rather questionable. It did not make anything wrong to leave this as is.

What about Peopletools 8.53 installer ?

Easy check:

1. Status of my server. As expected, the file /lib/libc.so.6 does not exists:
[psoft@orion6 lib]$ more /etc/redhat-release
Red Hat Enterprise Linux Server release 6.4 (Santiago)
[psoft@orion6 lib]$ ls /lib
alsa  cpp  crda  firmware  kbd  lsb  modules  security  terminfo  udev

2. Let’s install the Peopletools 8.53:
[psoft@orion6 lib]$ cd /nfs/software/PeopleSoftCD/PeopleTools/PT8.53/PeopleTools8.53.00/Disk1

[psoft@orion6 Disk1]$ ./setup.sh
Setting temporary directory /tmp/IA.26003
Executing setup.linux   -DCOMP_NAME=orion6.phoenix.nga -DPS_UMASK=0002
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

===============================================================================
PeopleTools                                      (created with InstallAnywhere)
-------------------------------------------------------------------------------

Preparing CONSOLE Mode Installation...

===============================================================================
Welcome
-------

InstallAnywhere will guide you through the installation of PeopleTools 8.53.

PRESS <ENTER> TO CONTINUE:

=> No error is returned…

3. So, since the file is not on OS level, something should have been changed in setup.linux (this file is used by the installer on Linux). Let’s check the libc file checking as I did in my previous article mentioned above:
[psoft@orion6 Disk1]$ cd /InstData
[psoft@orion6 InstData]$ ls
emocmutl.jar  jlib                Resource1.zip  setup.exe      setup.linux    setup.solaris-x86_64
emocmutl.zip  MediaId.properties  setup.aix      setup.hp-ia64  setup.solaris  setup.zlinux
[psoft@orion6 InstData]$
grep -B 3 -A 2 libc setup.linux
# LD_ASSUME_KERNEL for Native POSIX Threading Library on some Linux distros
#if [ `uname` = "Linux" -a -n "`which strings 2>/dev/null`" ]; then
#       debugOut "checking for NPTL + JVM vulernability..."
        #check libc to see if it was compiled with NPTL
#       nptl="`strings /lib/libc.so.6 | grep -i nptl`"
#       if [ "$nptl" ]; then
#               debugOut "NPTL detected! checking for vulnerable JVM....";

=> Surprisingly the line containing the file checking has just been commented out (and all the dependant lines as well).
What a workaround !

This is exactly why executable file keep growing over the years and versions, and code not being understandable by future developers who are themselves afraid to touch it.
Perhaps be clean and remove these lines would be much nicer, wouldn’t it ?

Nicolas.