INSTALLATION DOCUMENTS BY RAVI

Monday, April 24, 2017

Creating a Pluggable Database in Database 12c

Creating a pluggable database :

CONN / AS SYSDBA
CREATE PLUGGABLE DATABASE pdborcl ADMIN USER pdb_adm IDENTIFIED BY Admin123 FILE_NAME_CONVERT=('/u01/app/oracle/oradata/orcl/pdbseed/','/u01/app/oracle/oradata/orcl/pdborcl/');

Modify the listener.ora file as below:

SID_LIST_LISTENER= 
  (SID_LIST= 
    (SID_DESC= 
      (GLOBAL_DBNAME=orcl) 
      (SID_NAME=orcl)) 
    (SID_DESC= 
       (GLOBAL_DBNAME=pdborcl) 
       (SID_NAME=pdborcl))   

    ) 

Add the pluggable database entry in tnsnames.ora file:

PDBORCL =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = pdborcl)
    )
  )


Command for opening the pluggable databases:

For opening all pluggable databases at a time
CONN / AS SYSDBA
>ALTER PLUGGABLE DATABASE ALL OPEN;

To open individual pluggable database 
>ALTER PLUGGABLE DATABASE pdborcl OPEN;

Command for closing the pluggable databases:

For closing all pluggable databases at a time
CONN / AS SYSDBA
>ALTER PLUGGABLE DATABASE ALL CLOSE IMMEDIATE;

To close individual pluggable database 
>ALTER PLUGGABLE DATABASE pdborcl CLOSE IMMEDIATE;

Command for checking the open pluggable databases:
CONN / AS SYSDBA
>SELECT name, open_mode FROM v$pdbs;

Trigger for starting all the pluggable database at the CDB startup time:
CONN / AS SYSDBA
>CREATE OR REPLACE TRIGGER open_pdbs
  AFTER STARTUP ON DATABASE
BEGIN
   EXECUTE IMMEDIATE 'ALTER PLUGGABLE DATABASE ALL OPEN';
END open_pdbs;
/

Command to display the current container:
CONN / AS SYSDBA
>SHOW CON_NAME;

Command to switch between the containers:
CONN / AS SYSDBA
>ALTER SESSION SET container = pdborcl;

Connecting to a Pluggable Database (PDB):
> CONN system/password@//localhost:1521/pdborcl





Attrib command to get back hidden files in pendrive

Open command prompt

Change the drive to the pen drive

Issue the below command to get back the hidden files in pen drive

H:\>attrib -h -r -s /s /d h:\*.*

RPM packages required for installing OBIEE on Linux

binutils-2.20.51.0.2-5.28.el6 
compat-libcap1-1.10-1 
compat-libstdc++-33-3.2.3-69.el6 for x86_64 
compat-libstdc++-33-3.2.3-69.el6 for i686 
gcc-4.4.4-13.el6 
gcc-c++-4.4.4-13.el6 
glibc-2.12-1.7.el6 for x86_64 
glibc-2.12-1.7.el6 for i686 
glibc-devel-2.12-1.7.el6 for i686 
libaio-0.3.107-10.el6 
libaio-devel-0.3.107-10.el6 
libgcc-4.4.4-13.el6 
libstdc++-4.4.4-13.el6 for x86_64 
libstdc++-4.4.4-13.el6 for i686 
libstdc++-devel-4.4.4-13.el6 
libXext for i386 
libXtst for i386 
libXi for i386 
openmotif-2.2.3 for x86_64Footref 2 
openmotif22-2.2.3 for x86_64Footref 2 
redhat-lsb-4.0-3.el6 for x86_64 
sysstat-9.0.4-11.el6 

Sunday, April 23, 2017

Steps for Creating Shared Storage in Linux Server

To Create Shared Storage in Linux Server:

 Login as root

And add the following entry(like the following one and save the file)

# vi /etc/exports

/mnt/shared *(rw,sync)

Assuming that you want to create mount point for /mnt/shared folder.

Then , restart the nfs service

# /etc/init.d/nfs restart

Then, in the client where you want to mount the same, goto /mnt and create

directory called shared(mkdir –p shared), then issue the following command

# mount -t nfs -o rw 172.16.10.133:/mnt/shared /mnt/shared

if you want to make this mount as permanent , then create entry into /etc/fstab file

# vi /etc/fstab

Add the entry like below and save the file

172.16.10.133:/mnt/shared /mnt/shared nfs defaults 0 0

Steps for Creating Virtual IP in Linux Server

To Create VIP’s in Linux Server:

Login as root

# cd /etc/sysconfig/network-scripts

# cp ifcfg-eth0 ifcfg-eth1

# vi ifcfg-eth1

device=eth0:1 (change only this and save the file)

# service network restart

# /sbin/ifconfig eth0:1 10.60.124.89 netmask 255.255.255.0

# /sbin/arping -b -A -c 3 -I eth0 10.60.124.89

Note: 10.60.124.89 is the VIP

255.255.255.0 is the subnetmask.

Saturday, April 22, 2017

Steps for Changing SUPERVISOR user password in Oracle Data Integrator

Please find the steps below to change SUPERVISOR user password in Oracle Data Integrator

 On the server running the ODI client,
Click on start -> All Programs -> Oracle -> Oracle Data Integrator -> ODI Studio- Navigate on ODI Studio

Click on left pane ->   Connect to Repository -> pop up the Master Repository with
Supervisor -> click on OK 
Go to
View -> ODI Security Navigator ->  click on users -> click on "Supervisor " -> on right pane click on "change password"


On the server running the agent,

Browse to cd $ODI_HOME/oracledi/agent/bin

Take the backup of the file odiparams.sh

Run the command

./encode.sh  “new password”

Copy the encoded password to odiparams.sh in the following location
 ODI_SUPERVISOR=SUPERVISOR
 ODI_SUPERVISOR_ENCODED_PASS=

Restart services.

 Now logging odi studio as SUPERVISOR / "new password"


Endeca Installation order

Oracle Endeca MDEX Engine 6.2.2 for Microsoft Windows x64 (64-bit) (this also includes the Presentation API component)
Oracle Endeca Platform Services 6.1.3 for Microsoft Windows x64 (64-bit)
Oracle Endeca Guided Search 2.1.2 for Microsoft Windows x64 (64-bit)
Oracle Endeca Deployment Template 3.2.2 for Generic Platform
Oracle Endeca Developer Studio 6.1.2 for Microsoft Windows (32-bit)
Oracle Endeca Document Conversion 6.1.3 for Microsoft Windows x64 (64-bit)
Oracle Endeca Text Enrichment with Sentiment Analysis Quick Install Guide 5.0 for Generic Platform
Oracle Endeca Information Discovery (2.2.2) for Microsoft Windows x64 (64-bit) (if you are using Endeca Version 3) – (IAS)
or
Oracle Endeca Content Acquisition System 3.0.2 for Microsoft Windows x64 (64-bit) (if you are using Endeca Version 2.4.1) – (CAS)

  Opatch reports 'Cyclic Dependency Detected' error when patching ODI   Issue: When applying a Patch Set Update (PSU) to WebLogic Se...