Thursday May 31, 2012

Working with Windows and Unix

Common problems exchanging files between Unix and Windows.
* Use "binary" mode when transferring files
* dos2unix utility to repair scripts transferred to unix in ascii mode

Note: There is no repair binary files uploaded with ftp using ascii mode.
corefiles, archives ( tar, pax ) will be corrupted.

[Read More]

Sunday May 27, 2012

Minamalist

Small software:  description of iterations on the unpackDbx.sh script to extract dbx from full Studio 12.3 distribution.

References:
unpackDbx.sh  -- Final script to extract dbx
dirstats -- metrics on resulting directory (size, subdirs, links, files)

[Read More]

Thursday May 24, 2012

Solaris

Solaris Summary:  obisolaris.tar.gz contains these scripts;

  • obimon - monitor memory and connection growth.
  • pcore.sh - miniture version of pstack.sh for Solaris, if Studio12.3 dbx is not installed.
  • packcore.sh - bundle core file and libraries for Oracle Tech Support
  • pstack.sh  - uses dbx to obtain call stacks from a core file.

Oracle Solaris Studio 12.3 download: extract/install dbx using unpackDbx.sh

Solaris Core Naming (root command): 
  coreadm -i core.%f.%p -e log -e global

[Read More]

Linux

Getting started with Linux technical support

Browser Alert: Use Firefox, Chrome, Safari or IE10 to download files in links below (R-Click, Save-As ).  Previous Internet Explorer versions do not work for download ( and IE10 does not work to edit Roller Blogs ( edited with Chrome 3/15/2013)

  • obilinux.tar.gz (2013-07-10) - Archive collection of files listed below
  • obidoc (v2.5) - collects critical Linux system options needed by Tech Support
  • obimon (v2.5) - monitor memory and connection growth.
  • netstat.sh (v2.2) - monitor network changes with timestamped output
  • vmstat.sh (v2.5) - monitor system memory usage and paging with timestamped output.
  • strace.sh (v2.5) - monitor system calls from an active process.
  • pstack.sh (v2.4) - If you have a core file, this script will document the information Tech Support needs.
  • packcore.sh (v2.1) - bundle core file and libraries for Oracle Tech Support. pstack.sh output preferred.
  • dos2unix Converts ascii file line-end from Windows to Unix.  This is an improved version over the Linux supplied utility; it only removes line-end chars and retains the original owner and timestamp.

Notes:

  • /bin/ksh is unreliable. Scripts use #!/bin/bash
    Symptom:   "
    bad interpreter: "
  • obidoc should be run from the userid that launches obiee servers. 
    It expects to find (whoami, id, uname, uptime, host, hostname, uname, nohup, w, who, vmstat, ps, ifconfig, netstat, df, rpm, egrep, sort, printf, which) in standard directories: 
    /bin:/usr/bin:/sbin
    It will use lsof if it finds it in $PATH.
  • pstack.sh expects to find ( rpm, gdb, grep, egrep,  sort, head, tail, find, which, basename, strings, uname, whoami, sed ).  Output is written to $obiCollect or the current directory.
  • obimon should be run from the userid that owns the process to be monitored.  It needs permissions to access the /proc filesystem.   It needs permission to write to the current directory, or to the directory identified with environment variable $obiCollect.

2013-07-10: obilinux.tar.gz refreshed
2013-04-12: pstack.sh, obimon, new strace.sh
2013-03-04: Revise pstack.sh algorithm to discover executable fullpath from a core file.
2013-01-29: Link only to obilinux.tar.gz;  scripts have been updated to v2.1 to repair pstack.sh, packcore.sh, obidoc; v2.2 obidoc

AIX

A collection of utilities to work with Oracle Technical Support for issues on AIX.

obiaix.tar.gz  is the starter set of utilities
Browser Alert:  Use Firefox, Chrome,  Safari or Internet Explorer 10 to download files in links below (R-Click, Save-As ).
Previous versions of Internet Explorer do not work.

  • obimon  -- produces a .csv file monitoring a process.  To create nqsserver.<timestamp>.csv 
    obimon nqsserver
  • obidoc -- documents critical AIX environment. To create <hostname>_<timestamp>.out
    obidoc
  • pstack.sh  -- captures env and call stack for an obiee crash. To create <corename>.<server>.pstack
    pstack.sh corename
    To document all crashes recorded in the AIX error log:
    errpt -A -J CORE_DUMP | grep '^/' | xargs pstack.sh

 See details in Read More.
   v0.2 files uploaded 2012-06-26     v0.3 uploaded 2012-08-09  v2.1 uploaded 2012-01-29[Read More]

Wednesday May 16, 2012

About

Dick Dunbar

Dick Dunbar is an escalation engineer for the Oracle Business Intelligence product (obiee).  I live and work in Santa Cruz, California.  The tips I'll be sharing on this blog have been collected from multiple customer incidents. 
I'll explain the techniques I use to detect, avoid, and repair obiee problems reported to Oracle.

I've been collecting these issues since 2003 when I was an IBM onsite support engineer to Siebel.
The first few entries will come quite slowly as I struggle to find the "proper voice" to explain common technical issues that relate directly to obiee.

I believe the best documentation is read and followed by a machine ( executable scripts);  few of us have the time to read, understand and implement everything related to our work.

Update: This is harder to get started than I thought;  "No one who reads can clean an attic"  -anon

These are my own views, not necessarily the views of Oracle.

About

Dick Dunbar
is an escalation engineer working in the Customer Engineering & Advocacy Lab (CEAL team)
for Oracle Analytics and Performance Management.
I live and work in Santa Cruz, California.
I'll share the techniques I use to detect, avoid and repair problems.

Search

Categories
Archives
May 2012 »
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
17
18
19
20
21
22
23
25
26
28
29
30
  
       
Today