Monday, December 17, 2012

How to migrate users/groups from one OID instance to the other

Requirement: Migrate users/groups from source OID to target OID instance.
How To:
Source:
  • Export ORACLE_HOME env variable of OID instance.
  • Run ldapsearch command for exporting users as shown below.
$ORACLE_HOME/bin/ldapsearch -x -h OID_HOST -p OID_PORT -D cn=orcladmin -w password -L -b "USERS_DN" -s one "objectclass=*" dn cn givenname ....... sn telephonenumber userpassword > oid_filteruser.txt
  •  Run ldapsearch command for exporting groups as shown below.
$ORACLE_HOME/bin/ldapsearch -x -h oidserver.corp.company.com -p 389 -D cn=orcladmin -w password -L -b "GROUPS_DN" -s one "objectclass=*" > oid_filtergroup.txt

NOTE: For exporting users, specify the attributes to be exported either mandatory/optional.

Copy the files  oid_filteruser.txt and oid_filtergroup.txt to the target OID instance at location say /oracle/db/oid_files.

Destination:
  •  Export ORACLE_HOME env variable of OID instance.
  • Stop OID server.
  • Goto $ORACLE_HOME/ldap/bin 
  • Run ldapsearch command for importing users as shown below. 
 ./bulkload connect="OID_SCHEMA_NAME" generate=true load=true file="/oracle/db/oid_files/oid_filteruser.txt"
  • To get the OID_SCHEMA_NAME, refer the tnsnames.ora file of OID environment. 
  • It will prompt for OID schema password.
  • Run ldapsearch command for importing groups as shown below.
./bulkload connect="OID_SCHEMA_NAME" generate=true load=true file="/oracle/db/oid_files/oid_filtergroup.txt"
  •  It will prompt for OID schema password.
  • Start OID server.
  • Login to OID console to see the changes.


Tuesday, December 11, 2012

How to start sshd service in linux during server bootup

Hi All,

This may be trivial but believe it to be useful too. This post explains how to start sshd service in Linux OS during server bootup so that there is no need to start sshd service explicitly.

  1. Login as root user.
  2. chkconfig --level 2345 sshd on
  3. service sshd restart
  4. chkconfig sshd --list
  5. service sshd status
  6. Reboot Linux OS.
  7. Run the command service sshd status and verify if the sshd is running.
Hope this helps.

Friday, October 5, 2012

3rd party integrations supported in OAM 11gR2

This post will detail the 3rd party integrations that OAM 11gR2 supports.

  1. Microsoft Sharepoint 2010: Oracle Doc here. OAM 11gR1 also supports Sharepoint 2010 integration.
  2. RSA Authentication Manager 7.1: Oracle Doc here. OAM 11gR1 does not support this integration.
  3. JBoss 5.1.0: Documentation here. OAM 11gR1 does not support this integration.
However there are few integrations coming up post R2 such as MS OWA, SAP Portal and IBM WebSphere Portal.

Thursday, October 4, 2012

DCC in OAM 11gR2

I did not get chance to work on OAM 11g R2 yet, but one of my friends were asking couple of weeks ago about DCC in OAM 11g.
DCC stands for Detached Credential Collector which is a new feature introducted in 11gR2, not available in 11gR1.

I've read an article about this feature which looks simpler to me. You can learn this too http://fusionsecurity.blogspot.com/2012/10/dcc-configuration-11gr2.html

Its Oracle Documentation is here.

OVD 11g performance tuning

I've read an article about OVD 11g performance tuning which is very well explained. It explains various systems and factors to be tuned in OVD environment.

http://fusionsecurity.blogspot.com/2012/09/virtual-directory-performance-tuning.html


Wednesday, October 3, 2012

Nice post on OES 10g vs 11g

I have started a discussion in linkedin to find out the documentation/thoughts on OES 11g and 10g comparison with respect to features like authorization and role policy models, export and import XMLs and so on.

Matthew carter has pointed out a good post on comparing OES 10g with OES 11gR2.
I'll supplement this post with some more thoughts soon here.

Wednesday, September 26, 2012

Upgrading OID from 10g to 11g

There is video clearly explaining the upgrade processs of OID 10g to 11g.

Metalink note: 1123963.1