Blog dedicated to Oracle Applications (E-Business Suite) Technology; covers Apps Architecture, Administration and third party bolt-ons to Apps

Thursday, June 5, 2008

How to kill defunct processes

As per wikipedia:

A zombie process or defunct process is a process that has completed execution but still has an entry in the process table, this entry being still needed to allow the process that started the zombie process to read its exit status. The term zombie process derives from the common definition of zombie—an undead person. In the term's colorful metaphor, the child process has died but has not yet been reaped.


In Solaris, you can clear defunct processes by this command:

preap pid

For example:

ps -ef |grep defunct


oemgrid 5639 14889 0 - ? 0:00
oemgrid 16251 11759 0 - ? 0:00
oemgrid 20869 13440 0 - ? 0:00
oemgrid 4874 12418 0 - ? 0:00
oemgrid 3508 11759 0 - ? 0:00
oemgrid 20713 11353 0 - ? 0:00
oemgrid 17331 11353 0 - ? 0:00
oemgrid 12250 14173 0 - ? 0:00


preap 5639

$ preap 5639
5639: exited with status 0
$ ps -ef |grep 5639 |grep -v grep

Wednesday, June 4, 2008

10.2.0.4 requires Solaris 10 OS patch 127111-02 (obsoleted by 127127-11) as pre-req

While going through readme of Oracle Database patchset 10.2.0.4 (patch 6810189), I came to know that Solaris 10 OS patch 127111-02 is a pre-requisite for this patchset.

7 System Requirements

The following are the system requirements for this patch set:

  • Operating System: Solaris 8, Solaris 9 - Patch#112874-39, or Solaris 10 - patch#127111-02.

  • Oracle Database 10g (10.2.0.1) or later


If we search for this patch in Sunsolve patch finder we learn that it has been Obsoleted by: 127111-03 SunOS 5.10: kernel patch. If you find 127111-03 in the same place, it is obsoleted by 127111-05. This goes on till 127111-11 which is obsoleted by 127127-11. Thankfully this patch is not yet obsolete. So apply 127127-11 on your Solaris 10 box before applying 10.2.0.4 patchset. The detail from Sun about this patchset is here.

I am also providing the patch obsolescence tree here which leads us to 127127-11:

127111-02 obsoleted by
127111-03 obsoleted by
127111-05 obsoleted by
127111-06 obsoleted by
127111-07 obsoleted by
127111-08 obsoleted by
127111-09 obsoleted by
127111-10 obsoleted by
127111-11 obsoleted by
127127-11 Not yet obsolete

I got this validated by Oracle on an SR, where they advised us to go with the latest OS patch which is not yet obsolete:

19-AUG-08 20:29:07 GMT

(Update for record id(s): 243240208)

QUESTION
========
Installing 10.2.0.4 on Solaris64, should I apply Solaris Patch 127127-11 instead of the 127111-02 version specified in the patchset readme ?

ANSWER
======
Yes. You should always use the superseding patch if one is available.

Solaris containers and E-Business Suite

Wikipedia has a good article on Solaris Containers Sun has this article on virtualization, which has this diagram:


My first experience with virtualization was with VMWare on my home desktop. I had used to install 2 operating systems on base OS of Windows. VMWare is the oldest player (first VMWare product was introduced in 1999) and the company which started the virtualization market. We have come a long way since then with Oracle also producing its own product Oracle VM.

Virtualization is a good technology for sharing of resources. However my experience has not been so good with this on Production environments. I remember an Oracle Database which had Production, Development and Test instances as VMWare VMs on a single physical box. It was on Red HatEnterprise Linux 2.1. Due to bugs in RHEL 2.1, the box had to be physically rebooted almost every day. Bad blocks would appear in Oracle Database, and if you rebooted the physical server and did an fsck, they would go away. To get out of this mess, a dedicated server without VMs was commissioned for the Production instance, on which RHEL4 was used.

I am hoping that Sun's OS virtualization configuration is more robust and will not have such issues. However, all virtualization has an Achile's heel. It is after all a single physical server. Any problem in the hardware of that box, could impact all the VMs on the box. So virtualization is a single point of failure which should be paired with other technologies to build a real HA environment.

A new licensing agreement between Sun and Oracle recognizes Solaris 10 capped Containers as hard partitions. Metalink Note 317257.1 describes best practices for running Oracle Database in Solaris 10 containers.

I have logged an SR with Oracle to find out their support stand as far as E-Business Suite and virtualization are concerned.

Tuesday, June 3, 2008

Differences between SAN and NAS

I found this in a Cisco presentation on Storage Area Networking Fundamentals:

Monday, June 2, 2008

Virtual IP address (VIP)

A virtual IP address eliminates a host's dependency upon individual network interfaces.

Incoming packets are sent to the system's VIP address, but all packets travel through the real network interfaces.

Previously, if an interface failed, any connections to that interface were lost. With VIPA on your system and routing protocols within the network providing automatic reroute, recovery from failures occurs without disruption to the existing user connections that are using the virtual interface as long packets can arrive through another physical interface. Systems running VIPA are more highly available because adapter outages no longer affect active connections. Because multiple physical adapters carry the system IP traffic, overall load is not concentrated on a single adapter and associated subnet.

VIPA is one of the new protocols supported by Solaris 10:

* Berkeley Internet Name Domain (BIND9)
* Solaris Stream Control Transmission Protocol software
* Session Initiation Protocol (SIP)
* Open Shortest Path First (OSPFv2) and Border Gateway Protocol 4 (BGP-4) routing protocols
* Virtual IP source address selection (VIPA)

Sunday, June 1, 2008

Oracle 10.2.0.4 supports RAT (Rapid Application Testing)

I just came to know that Oracle Database 10.2.0.4 supports RAT (Rapid Application Testing) which was originally introduced in 11gR1. I learned about this from Randolf's Oracle blog. It is a must visit for anyone interested in Oracle Database.

I am just waiting for Oracle to announce when 10.2.0.4 is certified with Apps 11i and R12.