Friday, January 11, 2013

Identity and Access Management 11GR2

Installing & Configuring IDM 11GR2


Prepare "hardware". Use Oracle VirtualBox. Give it plenty (> 6GB) memory
Prepare Operating System. Boot off V33411_01.iso (Oracle UL6.3 x86_64) and choose Minimal Install. No servers, nothing.
Remember: Oracle (Unbreakable) Linux install does not configure your network correctly, so remove the double quotes on values in /etc/sysconfig/network-scripts/ifcfg-eth0.
Then, (re-)start networking:
/etc/init.d/network restart
Apart from that, I had to use a Brigded Network Adapter, or I could not reach my internal network (and vice-versa). This may be due to firewall and/or selinux.

Update your OS:

yum update
This will download about 50MB. Reboot if you got a new kernel (I did). Then continue with:
yum install oracle-rdbms-server-11gR2-preinstall.x86_64 yum install xhost xclock xauth yum install libgcc.i686 libstdc++.i686 libstdc++-devel.i686
This will add another 35MB or so.
Install Database; start by changing the password of the oracle user:
passwd oracle
(groups and user have been created with the preinstall) Check if xclock works (I use ssh with X forwarding from my Ubuntu guest system:
ssh -X oracle-db-server-ip-address
Basically, follow instructions from this link.
You can skip all the prework and checks; the preinstall package took care of that.
Mount the central software repository:
mount -o soft,intr,rsize=8192,wsize=8192,nolock /oracle/install

Switch to the oracle user and start installing
[oracle@idm1 ~]$ /oracle/install/Software/11G_Linux/database/runInstaller Starting Oracle Universal Installer... Checking Temp space: must be greater than 120 MB. Actual 41054 MB Passed Checking swap space: must be greater than 150 MB. Actual 8015 MB Passed Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Alter the oracle bash_profile, add:
export ORACLE_BASE=/oracle/db export ORACLE_HOME=$ORACLE_BASE/product/11.2.0 export PATH=$ORACLE_HOME/bin:$PATH
Create an instance; increase open_cursors to 1000, and processes to 650. Allow approx. 1GB of memory to be used by the instance.

Configure a basic listener:

# Generated by Oracle configuration tools. LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = idm1.home.local)(PORT = 1521)) ) ) ADR_BASE_LISTENER = /oracle/db
and an evenly simple tnsnames.ora:
idm1.home.local, idm1 = (DESCRIPTION= (CONNECT_DATA=(SERVICE_NAME=idm1.home.local)) (ADDRESS=(PROTOCOL=TCP)(HOST= )


Build repository. Mount my central software server:
mount -o soft,intr,rsize=8192,wsize=8192,nolock /oracle/install

Fire up RCU:
[oracle@idm1 ~]$ /oracle/install/Software/OFM/ /oracle/install/Software/OFM/ /oracle/install/Software/OFM/ /lib/ bad ELF interpreter: No such file or directory
Hmmm... Nice one. The rcu is only available in 32 bit. Forget about it, run it from a Windows client

No comments: