Tuesday, December 16, 2014

How to install XIMDD Diagnostic Dashboard in OIM for Monitoring

Steps for installing XIMDD

1) Go to below Location and verify the ear file is available. After OIM  installation you will find the        ear file in below location.

/app/oracle/middleware/Oracle_IDM1/server/webapp/optional

2) Login to weblogic console and click on deployment


3) Click on install


4) Select the patch ,ear file and click on next


5)  Click on next


 6) Select OIM server from server list and click on next


7) Click on Finish    


8) Now try accessing the below dashboard URL

http://OIM_server_host_ip:port/XIMDD

EX: http://arihant:14000/XIMDD


8)  Login with your xelsysadmin credentials




Thank you.

Arihant Baid

weblogic The DBMS driver exception was: IO Error: Socket read timed out

Error Logs -

<Dec 16, 2014 11:13:54 PM EST> <Warning> <JDBC> <BEA-001129> <Received exception while creating connection for pool "oamDS": IO Error: Socket read timed out.>
<Dec 16, 2014 11:13:55 PM EST> <Error> <oracle.idaas.common> <BEA-000000> <Could not get an JDBC Connection
weblogic.jdbc.extensions.ConnectionDeadSQLException: weblogic.common.resourcepool.ResourceDeadException: 0:weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: IO Error: Socket read timed out
at weblogic.jdbc.common.internal.JDBCUtil.wrapAndThrowResourceException(JDBCUtil.java:250)
at weblogic.jdbc.pool.Driver.connect(Driver.java:142)
at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:658)
at weblogic.jdbc.jts.Driver.connect(Driver.java:127)
weblogic.jdbc.common.internal.RmiDataSource.getConnectionInternal(RmiDataSource.java:533)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:498)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:491)
oracle.security.idaas.common.persistence.jdbc.JDBCManager.getConnection(JDBCManager.java:83)
at oracle.security.idaas.common.config.mbeans.persistence.JAXBXmlDBPersistenceManagerImpl.registerDatabaseListener(JAXBXmlDBPersistenceManagerImpl.java:168)
at oracle.security.idaas.common.config.mbeans.rp.RPMXBeanImpl$1.objectAdded(RPMXBeanImpl.java:561)
weblogic.jndi.internal.NotifyEventListeners.handleNamespaceChangeListener(NotifyEventListeners.java:52)
at weblogic.jndi.internal.NotifyEventListeners.notifyListeners(NotifyEventListeners.java:36)
at weblogic.jndi.internal.BasicNamingNode$2.run(BasicNamingNode.java:1326)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)


Solution :

1) Take back up of /etc/resolv.com file
2) Remove the file
3) Start the servers

Monday, December 15, 2014

Interrupted OIM Scheduler

After stopping the OIM scheudler if you find then in Interrupted State perform the following steps.

1) Stop OIM Servers. ( If you have OIM servers in cluster mode do rolling restart )
2) Before restarting OIM server delete the tmp and cache folder.
3) No Need to restart the SOA . OIM restart will be sufficient.

Thank you

Arihant

Monday, November 17, 2014

RCU Fails for OIM 11g R2 PS2(11.1.2.2.0) on few Operating Systems (oim_mview _recon_chnages_by_res.sql)

Error -  oim_mview _recon_chnages_by_res.sql




Solution :- RCU patch needs to apply before running the patch. Please follow the oracle support document ( Doc ID 1681410.1)

Thank you,
Arihant Baid

Thursday, October 9, 2014

Oracle Enterprise Manager Cloud Control 12c Release 4 (12.1.0.4) Installation step by step


Oracle Enterprise Manager Cloud 12c Release 4 (12.1.0.4) Installation High Level Steps

1) Install the Prerequisites
2)  Remove the Enterprise manager if its already installed on db
3) Set the DB Parameters
4) New Enterprise manager Installation

Before you start with installation make sure required RPM and DB is up. In my current database I am already enabled the db enterprise manager do I am uninstalling  that.

Required RPM's

# OL5 and OL6
yum install make -y
yum install binutils -y
yum install gcc -y
yum install glibc-common -y
yum install libaio -y
yum install libXtst -y
yum install libstdc++ -y
yum install glibc-devel -y
yum install sysstat -y yum install glibc -y
yum install setarch -y
yum install libaio -y # OL5 yum install rng-utils -y
yum install glibc-devel.i686 -y
yum install glibc-devel.i386 -y
# OL6

* Run the below command to uninstall the database enterprise manager

emca -deconfig dbcontrol db -repos drop -SYS_PWD Passw0rd1 -SYSMAN_PWD PAssw0rd1


* Set the  below parameters

sqlplus / AS SYSDBA
ALTER SYSTEM SET processes=300 SCOPE=SPFILE;
ALTER SYSTEM SET session_cached_cursors=200 SCOPE=SPFILE;
ALTER SYSTEM SET sga_target=2G SCOPE=SPFILE;
ALTER SYSTEM SET pga_aggregate_target=1G SCOPE=SPFILE;
ALTER SYSTEM SET shared_pool_size=600M SCOPE=SPFILE;
-- May be required if using older versions of DB.
ALTER SYSTEM SET job_queue_processes=20 SCOPE=SPFILE;
-- Restart the instance.
--ALTER SYSTEM SET log_buffer=10485760 SCOPE=SPFILE; --ALTER SYSTEM SET open_cursors=300 SCOPE=SPFILE;
STARTUP
SHUTDOWN IMMEDIATE



*Restart the database

* Set the limit parametre



 * Create the below two folders

  1.  oms12cr4 
  2. agent12cr4



 * Unzip the disk with the below conmmand

  unzip -d em12cr4 em12104_linux64_disk1.zip.
  unzip -d em12cr4em12104_linux64_disk2.zip 
  unzip -d em12cr4 em12104_linux64_disk3.zip






* Once the extract is complete go to extracted folder and run the ./runInstaller commnad.




 Uncheck the check and click on Next 

Click on Yes



Check the status of all the prerequisites and click on next.
I have 64bit OS so I am skipping i686 library and click on next






Click on Yes



Select Create a new Enterprise Manager system with simple mode and click on Next



 Check the location and click on next



Give the database credentials, password and click on Next



Click on Install

 

             
               If you see the above error go to oms/sqlplus/lib and run below command
                                           make -f ins_sqlplus.mk install

                           Login in putty with root user and run the below command
                                       /app/oracle./oms12cr4/oms/allroot.sh



Click on Close



Now try accessing the URL


Wednesday, September 24, 2014

OIM 11G R2 PS2 Lab 6: Connector Installation ,IT resource configuration,connector server installation and AD provisioning

High Level Steps

1) Install Active directory connector
2) Install connector server
3) Update the port and key on connector server
4) configure the IT resource
5) Run the organization group lookup reconciliation
6) Create the Active directory application Instance
7) Create a user and provision assign Active Directory

Download URL'

a) http://www.oracle.com/technetwork/middleware/id-mgmt/downloads/connectors-101674.html


1) Install Acitve Directory connector 

# Copy the active directory connector to ConnectorDefaultDirectory


#  Login to sysadmin console and click on Manage Connector


# Click on Install


# Select the Active Directory From the drop down and click on Load


# Click on next

#Wait for sometime to finish with successful installation then click on Exit



2) Install connector server

# Download the connector server from the download url at the top this lab,extract and click on ServiceInstall-1.4.0.0.msi



 # Click on Next

# Select Typical and click on next


# Click on Install

# Click on Finish



3) Update the port and key on connector server 

# Open command prompt , go to installer connector server location and set the key with below        commands.

  • Location = Installed Loation
  • ConnectorServer.exe /setkey 123456 (Make sure you enter the same key in IT resource key parameter)



#  Go to C:\Program Files (x86)\Identity Connectors\Connector Server, open ConnectorServer.exe.Config file and add the highlighted line to enable the logging for Active Directory and Exchange

<switches>
<add name="ActiveDirectorySwitches" Value="4">
</switches>


# Copy the Active Directory Bundle  From /app/oracle/middleware/Oracle_IDM1/connectors/msft_activedirectory/bundle to AD machine

# Extract the AD connector bundle in AD machine



# After Extract copy all the files


# Paste all copied files in Installed connector server folder


# Select Copy and Replace


# Go to C:\Program Files (x86)\Identity Connectors\Connector Server, open ConnectorServer.exe.Config file and  edit the connector server port to any I am using 9999 ( Make sure you use the same port in IT resource parameters)


4) configure the IT resource

# Login to sysadmin console, click on IT Resource,select Active Directory and update the below values
  •  Domain Name=ad.com (Update as per your domain name)
  • Container:dc=ad,dc=com (Base domain search base)
  • DirectoryAdminName=ad.com\administrator (Admin account name)
  • DirectoryAdminPassword=abcd@123
  • LDAPHostname=192.168.19.132 (IP address of AD machine


# Login to sysadmin console, click on IT Resource,select Active Directory connector server and update the below values


  • Host = IP Adress of AD machine
  • Key = Key value which we entered from command prompt in AD
  • Port = Connecter server port which we have configured in ConnectorServer.exe.Config in AD
  • Timeout = Set to 0
  • UseSSL= false (as I am not using SSL)




5) Run the organization group lookup reconciliation

# Go to design console and check the Lookup.ActiveDirectory.Groups lookup it should be black



# Go to sysadmin console , click on schedule task , select Active Directory group lookup recon, enable and click on run

# Make sure the scheduler stopped after few minutes

# Now verify the  Lookup.ActiveDirectory.Groups lookup as it pulled the groups from AD


6) Create the Active directory application Instance

# Login to sysadmin console,click on sandbox ,select Active checkbox and click on save  and close

# Click on Application insatnces from sysadmin console give the below values

  • Name= Application name
  • Display Name = Display name to show up on Catalog
  • Resource Object= Select AD User as we are creating application instance for AD
  • IT resource= Select Active Directory
  • Click on Apply 


# Clock on Form Designer form the sysadmin console, click on create and give the below values

  • Resource Type= AD User
  • From Name= ActiveDirectory
  • Form Type = Select Parent From + Child Tables
  • Click on Create


# Go to application Instance select Active directory form and from the dropdown in from select ActiveDirectory then click on apply




#  Now click on sandbox at the top and published the active sanbox which we created


# Go to scheduler from sysadmin console and run the Catalog Synchronization job


7) Create a user and provision assign Active Directory

# Go to Identity console and create a user


# One the user create go to his account tab and click on Request Accounts


# From the catalog search for ActiveDirectory , Add to Cart and click on Checkout


# In process from  Give the Organization Name ,Ready to submit and submit


# Check the ActiveDirectory account should be in provisioned state

Thank you
Arihant Baid