Skip to content

Instantly share code, notes, and snippets.

View rmoff's full-sized avatar

Robin Moffatt rmoff

View GitHub Profile
@rmoff
rmoff / obi11g_11116.unix.rsp
Last active December 15, 2015 23:09
OBIEE 11.1.1.6 silent install response file
[ENGINE]
#DO NOT CHANGE THIS.
Response File Version=1.0.0.0.0
[GENERIC]
#Set this to true if you wish to specify a directory where latest updates are downloaded. This option would use the software updates from the specified directory
SPECIFY_DOWNLOAD_LOCATION=false
@rmoff
rmoff / gist:5716573
Created June 5, 2013 19:33
Show what port WLS AdminServer is running on
echo 'AdminServer is running on port ' $(ps -fC "java"|grep AdminServer|awk '{print $2}'|xargs -I'{}' lsof -nPp {}|grep LISTEN|head -n 1|awk -F ":" '{print $2}'|cut -d " " -f 1)
@rmoff
rmoff / 0_readme.md
Last active December 18, 2015 10:59
OBIEE 11.1.1.7 in-place upgrade - response files for Linux
@rmoff
rmoff / static-ports.ini
Created October 30, 2013 13:28
OBIEE 11.1.1.7.0 static-ports.ini
# Note that if ports are not defined in this file they will be autoallocated starting at port 9500
# It is recommended that ports 9500-9520 are left unassigned for this auto-allocation
[WEBLOGIC]
#The Domain port no. This is the listen port of Weblogic Adminserver for the domain.
#Domain Port No = 7001
#The "content" port for the BIEE apps. This is the Weblogic Managed Server port on which BIEE applications are deployed.
#Oracle WLS BIEE Managed Server Port No = 9704
@rmoff
rmoff / zendesk__to_confluence.py
Last active December 30, 2015 03:49
Zendesk to confluence migration script. Hacked together and not pretty, but it does the job!
#!/usr/bin/python
#
# Migrate Zendesk topics/forums to Confluence pages/child pages
#
# Hacky as hell, I'm not proud!
#
# @rmoff 2013-12-03
#
# Known bugs:
# 1. Embedded images with non-safe characters in the filename (eg +) get encoded by Confluence at upload but the
@rmoff
rmoff / gist:8474271
Created January 17, 2014 14:31
"ORA-01917: user or role 'REGISTRYACCESS' does not exist"
Error: "ORA-01917: user or role 'REGISTRYACCESS' does not exist"
Cause: Running ODI 12c RCU against an Oracle DB 12c container DB.
@rmoff
rmoff / obiee-dms.sh
Created February 16, 2016 09:13
Extracting OBIEE DMS metrics from the commandline
# @rmoff/ February 16, 2016
# Ref: https://docs.oracle.com/middleware/11119/core/ASPMN/opmnctl.htm#CHDEFIDH
cd /app/oracle/biee/instances/instance1/bin
./opmnctl metric op=query COMPONENT_TYPE=OracleBIServerComponent > /tmp/nqs.$(hostname)-$(date +%Y%m%dT%H%M%S%N).dms.xml
./opmnctl metric op=query COMPONENT_TYPE=OracleBIPresentationServicesComponent > /tmp/saw.$(hostname)-$(date +%Y%m%dT%H%M%S%N).dms.xml
./opmnctl metric op=query COMPONENT_TYPE=OracleBISchedulerComponent > /tmp/sched.$(hostname)-$(date +%Y%m%dT%H%M%S%N).dms.xml
./opmnctl metric op=query COMPONENT_TYPE=OPMN > /tmp/opmn.$(hostname)-$(date +%Y%m%dT%H%M%S%N).dms.xml
@rmoff
rmoff / list_init_blocks_rpd.sh
Last active February 16, 2016 15:06
Parse OBIEE RPD for useful metadata
grep --color=none refresh RPD.xml |awk '{print $3 "\t" $6}'|sed 's/name=//g'|sed 's/refreshPeriod=//g'|sed 's/"//g'
@rmoff
rmoff / changes.md
Last active February 21, 2016 21:01
Oracle BigDataLite VM 4.4 changes from 4.3.0.1

Oracle BigDataLite VM 4.4 changes from 4.3.0.1

Based on http://www.oracle.com/technetwork/database/bigdata-appliance/oracle-bigdatalite-2104726.html vs http://www.oracle.com/technetwork/database/bigdata-appliance/oracle-bigdatalite-4301-2894142.html:

@rmoff
rmoff / README.md
Last active March 11, 2016 11:54
SampleApp v511 Connection Pool Instrumentation patch

Background: http://ritt.md/cp-instrumentation

Apply the XML patch by running:

/app/oracle/biee/user_projects/domains/bi/bitools/bin/biserverxmlcli.sh -U weblogic -P Admin123 -D AnalyticsWeb -I SA511_instrumentation.patch.xml

Expected output: