Share the content if you found it is useful (You can share using 300 community websites) click "share" at the end of the post.

You are encouraged to leave a comment.








Thursday, May 28, 2009

Oracle Beehive and Beekeeper Installation

I need to blog out my experience with Oracle Beehive 1.5 Installation and Beekeeper installation.
Download the oracle beehive and beekeeper from
here
The Prerequisites:
It is better to choose a linux box with new install. If it has prior opmn instance running... then it will spoil your days.
Supported OS:

Oracle Beehive supports the following Linux (x86 32-bit or x64 in 32-bit shell mode) operating system certifications:

  • Oracle Enterprise Linux 4

  • Oracle Enterprise Linux 5

  • Red Hat Enterprise Linux 4 Update 3 and later

  • Red Hat Enterprise Linux 5


  • SUSE Linux Enterprise 9.0 with Service Pack 2 and later

  • SUSE Linux Enterprise 10.0


Kernel Version:

The system must be running the following kernel version (or a later version):

  • Red Hat Enterprises Linux 4 and 5: 2.6.9-29.EL

I Used Redhat EL 4 update 5 (Nanhant October)

Required Kernel Parameters:

If the value of any kernel parameter is different from the minimum value, then complete the following procedure:

  1. Using any text editor, create or edit the /etc/sysctl.conf file, and add or edit lines similar to the following:

    net.ipv4.ip_local_port_range = 22000 65000




    By specifying the values in the /etc/sysctl.conf file, they persist when you restart the system. However, on SUSE Linux Enterprise Server systems, enter the following command to ensure that the system reads the /etc/sysctl.conf file when it restarts:

    # /sbin/chkconfig boot.sysctl on
  2. Enter the following command to change the current values of the kernel parameters:

    # /sbin/sysctl -p



    Review the output from this command to verify that the values are correct. If the values are incorrect, edit the /etc/sysctl.conf file, then enter this command again.

  3. Enter the command /sbin/sysctl -a to confirm that the values are set correctly.

After updating the values of kernel parameters in the /etc/sysctl.conf file, either restart the computer, or run the command /sbin/sysctl -p to make the changes in the /etc/sysctl.conf file available in the active kernel memory.

OS Packages (Important)
  • Oracle Enterprise Linux 4 and Red Hat Enterprise Linux 4

    • gcc-3.4.5-2 (GNU Compiler Collection)

    • gcc-c++-3.4.5-2 (C++ support for GCC)

    • openmotif21-2.1.30-11.RHEL4.4 (Open Motif run time libraries and executables)

    • setarch-1.6-1 (Personality setter)

    • pdksh-5.2.14-30.3 (Public domain Korn shell)

    • sysstat-5.0.5-7 (System monitoring commands sar and iostat)


    • gnome-libs-1:1.4.1.2.90-44.1 (GNOME basic libraries)

    • libstdc++-3.4.5-2 (GNU Standard C++ Library)


    • libstdc++-devel-3.4.5-2 (Header files and libraries for C++ development)


    • compat-libstdc++-296-2.96-132.7.2 (Compatibility 2.96-Red Hat standard C++ libraries)

    • compat-db-4.1.25-9 (Berkeley DB database library for Red Hat Linux 7.x compatibility)

    • control-center-2.8.0-12rhel4.2 (GNOME Control Center)

    • glibc-common-2.3.4-2.9 (Common binaries and locale data for glibc)

      binutils-2.15.92.0.2-18 (GNU Binary Utility Development Utilities)

    • make-1:3.80-5 (GNU make)

    • xscreensaver-4.18-5.rhel4.10 (X Window System screen saver and locker)

    • xorg-x11-deprecated-libs-6.8.2-1.EL.13.25 (Deprecated X Window System shared libraries)


Increase the Shell Limits:
  1. Add the following lines to the /etc/security/limits.conf file:

    oracle              soft    nproc   2047

    oracle hard nproc 16384

    oracle soft nofile 1024

    oracle hard nofile 65536

  2. Add or edit the following line in the /etc/pam.d/login file, if it does not already exist:

    session  required  /lib/security/pam_limits.so






Oracle Enterprise Manager Grid Control Requirements


If you want to install the Oracle Beehive Provisioning Application, which enables you to install Oracle Beehive from Oracle Enterprise Manager Grid Control, you must have Oracle Enterprise Manager 10g Release 4 Grid Control (10.2.0.4) or later.
Hardware Requirements


The following are the minimum hardware requirements for Oracle Beehive:


  • Disk Space: 2.6 GB

  • Swap Space: 2,048 MB

  • Memory:

    • Oracle Beehive: 2 GB RAM

    • Oracle Beehive for DMZ: 1 GB


Oracle Database Requirements:
I had 10.2.0.1 Database. I installed 10.2.0.1 and upgraded to 10.2.0.4 using the patchset. Then applied the patches for 10.2.0.4: The patches are as follows:











Patches(Opatch on 10.2.0.4)




6369463: WRONG RESULTS WHEN USING ORA_ROWSCN PSEUDOCOLUMN
4033868: COLLECT FUNCTION LEAVES TEMPORARY SYS TYPES BEHIND
6653934: XF11.1SSHR - TRC - KDRWRIC
6725634: STBH SYNONYMS ARE INVALIDATED WHEN A TABLE PARTITION IS DROPPED
6897966: JOBS AREN'T STARTED SERVICE NAME IS CASE SENSITIVE
6923450: ORA-07445 [KOTGTSCH] - AFTER UPGRADE TO 10.2.0.4
6600258: DBMS_CDC_SUBSCRIBE.EXTEND_WINDOW THROWS ORA-31462
6145687: BETA4:VERY STRANGE SYSTEM CHANGE NUMBER



Initialization Parameters:



java_pool_size = 50M (52428800)
job_queue_processes = 10
processes = 150
streams_pool_size 100M If your SGA (System Global Area) of the database is large (more than 3G), then set this parameter to 200M.
undo_retention = 3600



Important: While creation of Database you enable the Archivelog and the Characterset of the Database should be AL32UTF8



Beehive Installation

Explanation of the sequence of screens

from the Unzipped location: run ./runInstaller



Welcome
This screen welcomes you to the Oracle Install Wizard. It will guide you through the installation and configuration of Oracle Beehive Release 1.
The following describes the buttons that appear on most of the installation screens:
Click Help to view the online help.
Click Save to save the inputs you have entered to a file that you can use later as a response file. You can use this response file to continue the installation at a later time or perform a silent (non-interactive) installation.



Click Back to go back to the previous step.
Click Next to go to the next step.
Click Install to start the installation of the product.
This button is available only on the Summary screen.
Click Uninstall to uninstall a previously installed Oracle Beehive product
Click Cancel to exit from the Oracle Install Wizard at any time during the installation.



New Inventory Location
If Oracle Beehive Release 1 is the first Oracle product you are installing on a computer, then this screen is displayed.
On this screen, you specify in the Inventory Directory Path field the location of an inventory directory (the oraInventory directory). The Oracle Beehive Install Wizard will use this inventory directory to keep track of all Oracle products installed on the computer.



Specifying Oracle Home Directory on Linux and UNIX-Based Systems
On Linux and UNIX-based systems, the Oracle Beehive Install Wizard suggests a path similar to the following for the Oracle home directory:/home_directory/oracle/product/version_number/identifier_n

My machine:

/oracle/BEEHIVE1/product/1.5.0/beehive_1



Prerequisite Checks
This screen displays the prerequisite checks that the Oracle Beehive Install Wizard runs. It verifies that the host (where you are installing Oracle Beehive Release 1) meets all minimum requirements for installing and configuring the product type.



Some of the platform-independent checks that the Oracle Beehive Install Wizard performs include:
Operating system certification (or version)
Operating system patches and packages
Security kernel parameters
Memory
Swap space
Disk space
If an automatic check fails, fix it and click Retry.

This will install the software packages in the newly created Beehive Home.

It will be installed and configured. (if you choose Install and configure). Else you should start from $BEEHIVE_HOME/beehive_1/beehive/oobwiz/.

Address the issues if you face during installation. ( I faced so many errors in plsql code as well as in the java properties and xml)

Later after installation, you will get the installation os successful. But you will not get the port no to access. You have to deploy beekeeper over beehive installation. Select new oracle home for installing beekeeper. This install will give you the portal page to access.

http://beehive.chainsys.com:7779/bkpr is the URL of my instance.

Later you have to login using beeadmin and password you gave during installation. I selected Welcome1 as the universal password. Because it requires lot of passwords to be remembered :)


Starting

To start all Oracle Beehive managed components using the beectl command-line utility, use the start command with the --all option.

The following example illustrates the command with the --all option, as well as the resulting output:

beectl> start --all
Starting all the beehive components ...
Successfully started all the beehive components.
Operation completed in .

Stopping

To stop all Oracle Beehive managed components using the beectl command-line utility, use the stop command with the --all option.

The following example illustrates the command with the --all option, as well as the resulting output:

beectl> stop --all
Stopping all the beehive components ...
Successfully stopped all the beehive components.
Operation completed in .

Restarting

To restart all Oracle Beehive managed components using the beectl command-line utility, use the restart command with the --all option.

The following example illustrates the command with the --all option, as well as the resulting output:

beectl> restart --all
Stopping all the beehive components ...
Successfully stopped all the beehive components.
Operation completed in .

Starting all the beehive components ...
Successfully started all the beehive components.
Operation completed in .

Determine the component identifiers of all managed components by running the status command:

beectl> status
--------------------------------------------+----------------+---------------
Component identifier | Component type | Status
--------------------------------------------+----------------+---------------
BTI_redirector_instance1.host.domain.com | Bti | RUNNING
--------------------------------------------+----------------+---------------
BEECLIENT_instance1.host.domain.com | ManagedOc4j | RUNNING
--------------------------------------------+----------------+---------------
BEEAPP_instance1.host.domain.com | ManagedOc4j | RUNNING
--------------------------------------------+----------------+---------------
BEEMGMT_instance1.host.domain.com | ManagedOc4j | RUNNING
--------------------------------------------+----------------+---------------
BEECORE_instance1.host.domain.com | ManagedOc4j | RUNNING
--------------------------------------------+----------------+---------------
oc4j_soa_instance1.host.domain.com | ManagedOc4j | RUNNING
--------------------------------------------+----------------+---------------
ohs_instance1.host.domain.com | HttpServer | RUNNING
--------------------------------------------+----------------+---------------

Beekeeper Restart process:

Oracle Beekeeper is installed as a separate, stand-alone OC4J process. To start or stop Oracle Beekeeper, you start or stop the OC4J component, by using the opmnctl utility.

Ensure your environment is set with the following variables. Adjust the variables to match the install path and version numbers appropriate to your particular installation:

ORACLE_HOME,ORACLE_BASE
PATH=$PATH:$ORACLE_HOME/opmn/bin

To start Oracle Beekeeper, perform the following steps:

  1. From the command line on the machine where Oracle Beekeeper is installed, start opmnctl:

    > opmnctl start
    opmnctl: opmn started.
  2. Check the status of the OC4J process:

    > opmnctl status

    You should see output similar to the following:

    Processes in Instance: BeehiveControl
    ---------------+--------------+-----+---------
    ias-component | process-type | pid | status
    ---------------+--------------+-----+---------
    bkpr | bkpr | N/A | Down
  3. Start Oracle Beekeeper:

    > opmnctl startproc process-type=bkpr
    opmnctl: starting opmn managed processes...

To stop Oracle Beekeeper, perform the following steps:

  1. From the command line on the machine where Oracle Beekeeper is installed, run the following command:

    > opmnctl stopproc process-type=bkpr
    opmnctl: stopping opmn managed processes...
  2. If you want to, you can also stop opmnctl:

    > opmnctl stopall
    opmnctl: stopping opmn and all managed processes...

Thats all.. cheers!!!



No comments:

Related Posts Plugin for WordPress, Blogger...

Let us be Friends...

Share |

Popular Posts

Recent Comments