Page 3 of 1612345...10...Last »

GRID 11g| User-Defined SQL Metric alert if a query TOPs CPU Time

Posted by Sagar Patil

It often happens that DBMS statistics  though do  good for most queries can turn a best performing query into worse performing piece of SQL.
Here is a process I used to raise an Grid alert when a good query turns BAD.

Read more…

11g RAC | Using Duplicate target database 11g Active Database option

Posted by Sagar Patil

I have a 2 Node RAC Standby database (STDBY) . I need to replicate it as a Load TEST database (LDTEST) in a read/write mode.

Read more…

Modifying the Default Login Timeout Value for Grid Control 10g/11g

Posted by Sagar Patil

To prevent unauthorized access to the Grid Control console, Enterprise Manager will automatically log you out of the Grid Control console when there is no activity for a predefined period of time. For example, if you leave your browser open and leave your office, this default behavior prevents unauthorized users from using your Enterprise Manager administrator account.
By default, if the system is inactive for 45 minutes or more, and then you attempt to perform an Enterprise Manager action, you will be asked to log in to the Grid Control console again.

Read more…

Replicating RAC database using RMAN at Remote Server

Posted by Sagar Patil

Here I am duplicating 11g RAC database from one RHEL Server to Another by old 10g method.
I could have used 11g “DUPLICATE TARGET DATABASE TO TARGET_DB FROM ACTIVE DATABASE” which doesn’t need previous rman backup at source. But it may not be a good option for large databases or at places with narrow network bandwidth.

Read more…

11g Grid | Fixing Incident (BEA-101020 [HTTP]) detected in ..Middleware/gc_inst/user_projects

Posted by Sagar Patil

Read more…

11g |Monitoring DataGuard using Broker Commands

Posted by Sagar Patil

DGMGRL> show database PROD;
Object “prod” was not found

** 11.2.0.2 – You may see errors at dgmgrl if you don’t include database name in quotes

Read more…

Cleaning up a machine with previous Oracle 11g Clusterware/RAC install

Posted by Sagar Patil

Here I will be deleting everything from a 2 node 11g RAC cluster

  1. Use “crs_stop -all” to stop all services on RAC nodes
  2. Use DBCA GUI to delete all RAC databases from nodes
  3. Use netca to delete LISTENER config
  4. Deinstall Grid Infrastructure from Server
  5. Deinstall Oracle database software from Server

Read more…

Oracle 11g Grid| How to add custom shell script to raise user defined alert/notification

Posted by Sagar Patil

Although, I can use grid to carry my RMAN backups  I am not entirely convinced about it’s transparency. As a DBA I like to  have more control to myself and I trust my custom scripts used for years more than anything else. Here is a small process I added to raise alert for failed rman backups.

Read more…

Oracle 11g Grid| How to add a custom SQL UDM (User Defined Metric)

Posted by Sagar Patil

I have number of systems on grid and I want to keep grid working as smoothly as I can.
Since there are many alerts/notificatins raised & inserts/deletes happening  every single minute, often repository tables will need rebuild to gain EM performance.
I have SQL script to track tables in need of a rebuild. Read more…

Oracle 11g Grid | Remove failed EM Agent

Posted by Sagar Patil

Often you will come across a failed Agent installation or old agent to be removed before installing new one. Here is a porocess ..

Read more…

IBM Web Server Plug-in Analyzer for WebSphere Application Server

Posted by Sagar Patil

What is IBM Web Server Plug-in Analyzer for WebSphere Application Server?
Plug-in Analyzer for helps discover potential problems with trace and configuration files during use of WebSphere Application Server. The tool parses both plug-in configuration and corresponding trace files and then applies pattern recognition algorithms in order to alert users of possible inconsistencies.

Read more…

Installing Tivoli Common Agent Services Agent/Manager

Posted by Sagar Patil

Overview of Tivoli Common Agent Services

Read more…

Oracle 11g Grid : Using EMCLI to run Remote OS Commands

Posted by Sagar Patil

Here , I wish to locate disk space acquired by a Remote target Host using df command

Please read post Using EMCLI , A command line Grid Control Interface to understand how EMCLI is used

Read more…

Oracle 11g Grid: Using EMCLI , A command line Grid Control Interface

Posted by Sagar Patil

The Enterprise Manager Command Line Interface (EM CLI) enables you to access Enterprise Manager Grid Control functionality from text-based consoles (shells and command windows) for a variety of operating systems. You can call Enterprise Manager functionality using custom scripts, such as SQL*Plus, OS shell, Perl, or Tcl, thus easily integrating Enterprise Manager functionality with a company’s business process.

Read more…

Oracle 11g Grid | How to stop and start OMS Services

Posted by Sagar Patil

Stop OMS Services

[oracle@OMS_HOST bin]$ $OMS_HOME/bin/emctl stop oms
Oracle Enterprise Manager 11g Release 1 Grid Control
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
Stopping WebTier…
WebTier Successfully Stopped
Stopping Oracle Management Server…
Oracle Management Server Successfully Stopped
Oracle Management Server is Down

Read more…

Oracle 11g Grid | Setting Preferred Credentials to avoid Priv Warnings

Posted by Sagar Patil

Generally we use grid for performance and availability monitoring . I have a NON- DBA user configured at a grid preferred credential.   Sometimes I have to use grid to carry DBA tasks and here is a way to switch database preferred credentials & become a DBA

Read more…

11g Grid | Where to Locate AWR reports

Posted by Sagar Patil

Navigate to TARGETs  -> Select Databases  you wish to run AWR reports at ->  Server TAB

Read more…

Oracle Grid | Tracking OS procsses using User Defined Matrix (UDM)Shell Script

Posted by Sagar Patil

Oracle grid can display number of processes for a host.  But I have a odd requirement where I need to keep track of oracle/java processes on the server.

Read more…

DMGR HA: How to backup websphere deployment manager for a Disaster Recovery

Posted by Sagar Patil

By its very nature, WebSphere Application Server Network Deployment is a distributed system ranging across many machines. While few things are more stressful and frustrating than an unplanned outage, there are ways you can lessen the impact. The goal of this article is to show how you can harness deployment manger system and make recovery a quick and simple task.

Read more…

Oracle 11g Grid | Installing Grid Agent using "agentDownload" method

Posted by Sagar Patil

To get AGENT working with OMS Grid , you will need ports 3872,4889/4900 accessible between machines.

If you wish to delete host from OMS Grid then delete Targets/Host at grid control first. Now use following SQL script to make sure it’s not exisitng at OMS repository . It will save you lot of frustration. Read more…

Jython Script to list websphere ports

Posted by Sagar Patil

Following Jython script will return port listings as below. Read more…

Adding Another IBM Http Server Instance at Websphere

Posted by Sagar Patil

While integrating SSO (Single Sign on) we decided to separate internal & external users. The idea was to use 2 separate URLs (internal/external) with different virtualhosts but I wanted independent control on HTTP server instances so went ahead with adding 2 separate HTTP servers. One at port 80 for internal users and another at port 8000 for external users.
I have HTTP server running at port 80 working with 2 JVMs on Websphere 6.1 vertical cluster.  I will now explain process to create & link new instance of IBM HTTP server at port 8000 with existing websphere JVMs.

Read more…

IBM ISA MustGather : Using IBM Support Assistant Lite (ISA Lite)

Posted by Sagar Patil

If you are fortunate enough to have IBM support , often you will be raising a PMR – Problem Record (IBM).

Read more…

Websphere : Using Collector.sh Tool for uploading details to IBM Support

Posted by Sagar Patil

The collector tool gathers information about your WebSphere Application Server installation and packages it in a Java archive (JAR) file that you can send to IBM Customer Support to assist in determining and analyzing your problem. Information in the JAR file includes logs, property files, configuration files, operating system and Java data, and the presence and level of each software prerequisite.

Read more…

Websphere : Plug-in Workload Management Failover

Posted by Sagar Patil

We have a 2 node clustered websphere 6.x vertical cluster . Number of times we see the system going down and coming back up in less than 5 mins.

Read more…

Top of Page

Top menu