Page 4 of 16« First...23456...10...Last »

Jython script to Display Websphere Topology

Posted by Sagar Patil

Following Script will display attributes for each configuration item/element displayed at each “level” Read more…

Websphere : Installing default Applications

Posted by Sagar Patil

After successful websphere install one will see “first steps” page as below.

Read more…

Websphere: Purging first failure data capture log files

Posted by Sagar Patil

The first failure data capture (FFDC) feature preserves the information that is generated from a processing failure and returns control to the affected engines. The captured data is saved in a log file for analyzing the problem. FFDC is intended primarily for use by IBM Service.

Read more…

Websphere : Web Server Plug-In Retry Interval

Posted by Sagar Patil

When stopping and restarting application servers, it is important to consider the correlation with the Web server plug-in retry interval. This is especially important in an environment with only a few application servers. You need to understand the rate between starting and stopping application servers in a cluster and the retry interval so that you do not get HTTP request failures when you stop application servers in a cluster.

Read more…

Dataguard: Recovering lost broker configuration files: Clear Old Configuration & Add New One

Posted by Sagar Patil

I had a working datagard configuration between 1 primary and 2 physical standby systems. Today I noticed my dataguard configuration files were missing from all servers (Primary/Standby).

Read more…

ORA-12514: TNS:listener does not currently know of service requested in connect descriptor at Dataguard Switchover

Posted by Sagar Patil

Read more…

Shell Script to Generate Daily/Weekly AWR reports (Email)

Posted by Sagar Patil

Create  .run_awr with following details  :

"TNS-connect-string : recipient-list : hrs of AWR snapshot"
[oracle@ ~]$ cat .run_awr
prod:root@oracledbasupport.co.uk:11
I added this script in my crontab for a daily emails:

Read more…

Dataguard : Activating Standby (Failover) when Primary is Down

Posted by Sagar Patil

In this post, I will show you how easy it is to fail-over on standby dataguard database when primary is not available. Read more…

Dataguard : ORA-16826 apply service state is inconsistent when changing mode to MaxProtection

Posted by Sagar Patil

This morning I moved my Standby database from Maxperformance to Maxprotection while it returned ORA-16826
Read more…

Dataguard : EDIT CONFIGURATION (Change Protection Mode)

Posted by Sagar Patil

Following post will give you an idea on Dataguard data protection mode in which you want configuration to run when configuration is enabled. The possible protection modes are: Read more…

Summary of DGMGRL Commands with Example

Posted by Sagar Patil


Command Effect
ADD DATABASE Adds a new standby database profile to the existing broker configuration  Read more…

Jython Scripts for Websphere Administration

Posted by Sagar Patil

Download them from  http://www.ibm.com/developerworks/websphere/library/samples/SampleScripts.html

Read more…

DGMGRL : ORA-16789: standby redo logs not configured/ORA-16826: apply service state is inconsistent with the DelayMins property

Posted by Sagar Patil

My DGMGRL configuration is returning warnings as below.

DGMGRL> show database primary;
Database – primary
Role:            PRIMARY
Intended State:  TRANSPORT-ON
Instance(s):
primary
Database Warning(s):
ORA-16789: standby redo logs not configured

Read more…

Creating Oracle Dataguard Primary/Standby DB on a Single PC

Posted by Sagar Patil

Generally you don’t have to set up Dataguard on a single machine. But there are occasions when you have to build test environment for destruction and this post is tuned for such opportunity.

Read more…

Websphere 6.1 Network Deployment RHEL 5.x – Silent Install

Posted by Sagar Patil

Check if previous version installed by root

If WAS was previously installed as root, it would have created the temp dir /tmp/niflogs, owned by root. When you install as was61, it needs to write to this dir, so remember to chown / chmod this dir, or the install will fail in a very obscure way.

Read more…

Difference between IBM & SUN JVM/ Porting J2EE applications

Posted by Sagar Patil

IBM’s JVM is written to meet the specs as documented by Sun.  IBM runs the test suit against their JVM to make sure that what should occur does occur.  They (IBM) feel that their code performs the requested functions more efficiently and thus performs better while still providing the same results. IBM may throw one error exception while Sun’s may throw another.

Read more…

Dataguard : Applying CPU(Cirital Patch Update) to Dataguard Environment

Posted by Sagar Patil

I have One Primary database and 2 Physical Standby Databases under RHEL 5. Here is a process to patch them with JULY CPU update “Critical Patch Update Release 10.2.0.4 for UNIX Released July 13, 2010″

Read more…

Websphere: startManager.sh doesn't work while startServer.sh does

Posted by Sagar Patil

[Dmgr]$ /opt/IBM/WebSphere/AppServer/profiles/Profile/Dmgr/bin/startManager.sh

Read more…

Installing application(EAR/WAR) thru wsadmin

Posted by Sagar Patil

The isAppReady command returns a value of true if the system is ready to start the application, or a value of false if the system is not ready to start the application, as the following examples display: Read more…

Jython script to pull out stats from websphere

Posted by Sagar Patil

Currently I have number of websphere 6.1 instances under RHEL 5.3 but not a tool like hyperic, wily introscope to monitor them actively. I started using wsadmin scripts to pull out stats thru wsadmin.

Read more…

How to Locate unix process active on a specific Port

Posted by Sagar Patil

p=$(lsof -t -i :1159); echo $p $(tr ‘\0′ ‘\n’ < /proc/$p/cmdline | tail -1)
4066 /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/OC4J_DBConsole_Server1.oracledbasupport.co.uk_TEST/config/server.xml

Read more…

WebSphere Monitoring : Wasstat.sh to parse offline PervServletApp XML output

Posted by Sagar Patil

Please use following process when you have PerfServelet (PervServletApp application ) generated offline XML files.

Read more…

Websphere : How to apply a Fix Pack

Posted by Sagar Patil

I will list here steps carried out to patch websphere 6.1. ND deployment (vertical cluster with 2 JVMs ) from 6.1.0.21 to 6.1.0.29
Read more…

Dataguard: Shell script to List Archive gap between Primary & Standby

Posted by Sagar Patil

I was looking for a NAGIOS monitoring script which will list the archive gap between Primary and 2 of my Standby databases.

Read more…

Compare Websphere Configuration Details : Visual Configuration Explorer (VCE)

Posted by Sagar Patil

I have many websphere 6.x ND clustered servers and growing every single week. Lots of them are upgraded from previous websphere installations to ND 6.x now.

Read more…

Top of Page

Top menu