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



Sunday, September 21, 2014

Error in invoking target ‘install’ of makefile ‘/app/oracle/middleware/Oracle_IDM1/sqlplus/lib/ins_sqlplus.mk

Error

Error in invoking target ‘install’ of makefile /app/oracle/middleware/Oracle_IDM1/sqlplus/lib/ins_sqlplus.mk

Solution

1) Install the below packages

  • libgcc.i686
  • libstdc++.i686
  • libstdc++-devel.i686
  • openmotif.x86_64
  • openmotif22.x86_64
2) cd $ORACLE_HOME/sqlplus/lib
     make -f ins_sqlplus.mk install

3) skip the error and continue 


Regards,
Arihant




Friday, September 5, 2014

oracle.as.config.ProvisionException: HTTP status code = 400 : The request parameters did not match any components

Error-

Trying to start the component oid1
[2014-09-04T17:15:03.072-04:00] [as] [WARNING] [] [oracle.as.config] [tid: 12] [ecid: 0000KX2Uixx7y09Lve^AyX1K2D7U000003,0] Failed to start component oid1[[
oracle.as.config.ProvisionException: HTTP status code = 400 : The request parameters did not match any components
        at oracle.as.config.impl.OracleASComponentBaseImpl.manageProcess(OracleASComponentBaseImpl.java:943)
        at oracle.as.config.impl.OracleASComponentBaseImpl.start(OracleASComponentBaseImpl.java:1062)
        at oracle.as.provisioning.fmwadmin.ASComponentProv.createComponent(ASComponentProv.java:153)
        at oracle.as.provisioning.fmwadmin.ASComponentProv.createComponent(ASComponentProv.java:73)
        at oracle.as.provisioning.fmwadmin.ASInstanceProv._createComponent(ASInstanceProv.java:401)
        at oracle.as.provisioning.fmwadmin.ASInstanceProv.createComponent(ASInstanceProv.java:358)
        at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstanceAndComponents(ASInstanceProv.java:136)
        at oracle.as.provisioning.engine.WorkFlowExecutor._createASInstancesAndComponents(WorkFlowExecutor.java:523)
        at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:439)
        at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
        at oracle.as.idm.install.config.IdMDirectoryServicesManager.doExecute(IdMDirectoryServicesManager.java:951)
        at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:375)
        at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:88)
        at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:105)
        at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
        at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:96)
        at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:186)
        at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
        at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:86)
        at java.lang.Thread.run(Thread.java:662)

Verification -

1) Check the RCU version it should be the same. Ex- If we are installing the OID 11.1.1.7.0 then RCU should be 11.1.1.7.0

2) After installing the RCU verify the schema version with the below query and make sure it should match with installed RCU version.
  • SELECT owner, version, status FROM schema_version_registry;
3)  Check the below permission /etc/selinux/config (for any change it required root permission) .
  1. SELINUX=enforcing
  2. SELLINUXTYPE=targeted
4) After verifying schema version run the below query and make sure its match with schema version.
  • select attrval from ods.ds_attrstore where entryid =1 and attrname = 'orcldirectoryversion';
5) After running the above query version if the version does not match then run the below update query and restart the installation again.
  • update ods.ds_attrstore set attrval='OID 11.1.1.6.0' where entryid=1 and attrname='orcldirectoryversion';
  • commit;
Thank you.
Arihant Baid