1.1 Deploying Scheduler
1.1.1 Uploading Metadata (CVSInitialLoadPBMContractors.xml) file
Copy the MDS files (CVSInitialLoadPBMContractors.xml) from <TEMP-DIR/Scheduler/MDS> directory to <TEMP-DIR/Scheduler/MDS/MDS_Import> and make sure you have
placed in the below directory, else please create as given below.
<TEMP-DIR>/Scheduler/MDS/MDS_Import/db/
1.
Make sure you have placed the CVSInitialLoadPBMContractors.xml file in the above location before
you run weblogicImportMetadata.sh utility
2.
Go to <OIM_HOME>/server/bin directory and
edit weblogic.properties as below.
wls_servername=oim_server1
application_name= OIMMetadata
metadata_from_loc=
<TEMP-DIR/Scheduler/MDS_Import>metadata_files=db/ CVSInitialLoadPBMContractors.xml
|
3.
Then using <OIM_HOME>/server/bin/weblogicImportMetadata.sh utility using
weblogic credentials, import those xml files as below.
Please enter your username
[weblogic] :<weblogic-username>
Please enter your password
[welcome1] :<weblogic-password>
Please enter
your server URL [t3://localhost:7001] :<t3://ADMIN_URL:PORT>
|
If there are no error messages shown on the console implies
successful uploading of Metadata.
4.
Check from MDS DB by connecting as MDS_SCHEMA_USER for the import by using
the below query:
Select * from MDS_PATHS where PATH_FULLNAME
like ‘%InitialLoadPBMContractors%’;
1.1.2 Plugin Registration & Un-Registration
You
can use the Plugin Registration Utility for registering and unregistering
plug-ins. The utilityuses the following files which are located in the OIM_HOME/plugin_utility/ directory:
1.
pluginregistration.xml
2.
ant.properties
Before using the utility, perform the following steps.
1.
Set the values for WLS_HOME and OIM_HOME in
ant.properties.
Ex:
WLS_HOME =.../Middleware/wlserver_10.3
OIM_HOME =..../Middleware/Oracle_IDM1/server
2.
Build the wlfullclient.jar in Oracle WebLogic
server:
Change directories to WLS_HOME/server/lib.
Run the following command:
java -jar ../../../modules/com.bea.core.jarbuilder_1.3.0.0.jar
a.
To
register a plug-in
Execute the ant target "register"
1.
Make sure that below are set
a.
ANT_PATH à…/Middleware/modules/org.apache.ant_1.7.1/bin
b.
JAVA_HOME à/usr/java/jdk1.6.0_45
2.
Navigate to …/Middleware/Oracle_IDM1/server/plugin_utility/
3.
Run the below command
ant
-f pluginregistration.xml register
This will prompt for the Oracle Identity Manager Username
and password along with the server information and the location of the plugin
zip file.
[Enter Xellerate admin username
:]xelsysadm
[Enter the admin password :] <xelsysadm-pwd> [Enter serverURL :[ t3://localhost:7001 ]]<t3://Admin URL>
Enter the complete path of the
zip file location:
|
Enter the location of the zip file where plugin.zip is
copied
Ex:
<TEMP-DIR>/Scheduler/plugins/CVSInitialLoadPBMContractors.zip
A success message will be displayed as “BUILD SUCCESSFUL”.
b.
To
Unregister a Plug-in
Note:No need to perform the step as part of this
deployment. Refer this section if there is explicit need to un-register the
plugin.
In future if there are any updates in the plugin and want to
update it. First the existing plugin should be un-registered before the updated
plugin can be register.
To unregister a plug-in, Execute the ant target
"unregister"
Ex: ant -f pluginregistration.xmlunregister
This will prompt for the Oracle Identity Manager username
and password along with the server information and the classname of the plug-in
class.
[Enter Xellerate admin username
:]xelsysadm
[Enter the admin password :] <xelsysadm-pwd> [Enter serverURL :[ t3://localhost:7001 ]]<t3://Admin URL>
Enter the classname with the
complete package
|
Ex: com.cvs.schedulers.initialload.PBMContractors.InitialLoadPBMContractors
If there are no error messages shown on the console implies successful
un-registration.
1.2 Creating Scheduler
1.
Login to OIM with admin credentials
2.
Go to “Advanced
Administration”.
3.
Click on under System Management.
4.
Click on to create a new scheduler.
5.
Enter the details as below
Job
Information:
* Job Name : HPSM PBMContractorsInitalLoad
* Task :
CVSInitialLoadPBMContractors(Select using icon)
* Retries : 0
Scheduler Type : No pre-defined schedule.
6.
Click on Apply button.
7.
Once the scheduler got created successfully,
should be able to search the scheduler and able to see as below.
The scheduler’s parameters are as follows
InputFilePath-The location where the csv
input file is placed
e.g/usr/local/bea/wls1033/Oracle_IDM1/server/tmp/CSV/PBM.csv
Delimiter-Comma
e.g. ,
OutPutFile Path -The location where the
csv output file should be written
e.g./usr/local/bea/wls1033/Oracle_IDM1/server/tmp/CSV/MISSEDRECORDS.csv
8.
Note: Input file should be of csv format with first line as
header (Column1 –Userlogin,Column2-PBMUID) and corresponding values should be
listed below
No comments:
Post a Comment