In this lab we are going to see the steps need to perform to edit properties file for OUD so that it can be used during OAM Installation using Life Cycle Management tool(LCM).
Before using an existing OUD as part of an Oracle Identity and Access Management deployment, OUD must be prepared by adding the required users, groups, containers and other required things.
1) Set the environment Variable ORACLE_HOME,JAVA_HOME
2) Edit the properties file "input_parameters.properties" .This file contains two sections preConfigIDStore and prepareIDStore with parameters as per your environment. Make sure that you fill all the parameters and do not provide any unnecessary space.
3) The idmConfigTool_STA script requires passwords to connect to the OUD and to connect to the WebLogic Administration Server. It also requires new passwords to be used for the system and administrative accounts that it creates in the OUD.
We can create a password file and provide it as an input to the idmConfigTool_STA script.
4) Create a text file containing password at a location that is accessible to the idmConfigTool_STA script.
>cd /u01/app/oracle/products/fmw1213/Oracle_IDMLCM1/existing_directory/idmtools
>vi password_input_file
5) Enter the following value in the file
IDSTORE_PASSWD: <password>
IDSTORE_PWD_READONLYUSER: <password>
IDSTORE_PWD_READWRITEUSER: <password>
IDSTORE_PWD_SUPERUSER: <password>
IDSTORE_PWD_OAMSOFTWAREUSER: <password>
IDSTORE_PWD_OAMADMINUSER: <password>
IDSTORE_PWD_OAMOBLIXUSER: <password>
IDSTORE_PWD_OIMADMINUSER: <password>
IDSTORE_ADMIN_PASSWD: <password>
WLSPASSWD: <password>
IDSTORE_PWD_XELSYSADMINUSER: <password>
IDSTORE_PWD_WEBLOGICADMINUSER: <password>
6) Create a log file at a location that is accessible to the idmConfigTool_STA script.
>cd /u01/app/oracle/products/fmw1213/Oracle_IDMLCM1/existing_directory/idmtools
>vi idmConfigTool.log
7) Run the preConfigIDStore command to seed the required objectclasses into OUD.
>cd /u01/app/oracle/products/fmw1213/Oracle_IDMLCM1/existing_directory/idmtools/bin
>./idmConfigTool_STA.sh -preConfigIDStore \
input_file=/u01/app/oracle/products/fmw1213/Oracle_IDMLCM1/existing_directory/idmtools /input_parameters.properties \
pwd_file=/u01/app/oracle/products/fmw1213/Oracle_IDMLCM1/existing_directory/idmtools /password_input_file \
log_file=/u01/app/oracle/products/fmw1213/Oracle_IDMLCM1/existing_directory/idmtools / idmConfigTool.log
Before using an existing OUD as part of an Oracle Identity and Access Management deployment, OUD must be prepared by adding the required users, groups, containers and other required things.
1) Set the environment Variable ORACLE_HOME,JAVA_HOME
2) Edit the properties file "input_parameters.properties" .This file contains two sections preConfigIDStore and prepareIDStore with parameters as per your environment. Make sure that you fill all the parameters and do not provide any unnecessary space.
3) The idmConfigTool_STA script requires passwords to connect to the OUD and to connect to the WebLogic Administration Server. It also requires new passwords to be used for the system and administrative accounts that it creates in the OUD.
We can create a password file and provide it as an input to the idmConfigTool_STA script.
4) Create a text file containing password at a location that is accessible to the idmConfigTool_STA script.
>cd /u01/app/oracle/products/fmw1213/Oracle_IDMLCM1/existing_directory/idmtools
>vi password_input_file
5) Enter the following value in the file
IDSTORE_PASSWD: <password>
IDSTORE_PWD_READONLYUSER: <password>
IDSTORE_PWD_READWRITEUSER: <password>
IDSTORE_PWD_SUPERUSER: <password>
IDSTORE_PWD_OAMSOFTWAREUSER: <password>
IDSTORE_PWD_OAMADMINUSER: <password>
IDSTORE_PWD_OAMOBLIXUSER: <password>
IDSTORE_PWD_OIMADMINUSER: <password>
IDSTORE_ADMIN_PASSWD: <password>
WLSPASSWD: <password>
IDSTORE_PWD_XELSYSADMINUSER: <password>
IDSTORE_PWD_WEBLOGICADMINUSER: <password>
6) Create a log file at a location that is accessible to the idmConfigTool_STA script.
>cd /u01/app/oracle/products/fmw1213/Oracle_IDMLCM1/existing_directory/idmtools
>vi idmConfigTool.log
7) Run the preConfigIDStore command to seed the required objectclasses into OUD.
>cd /u01/app/oracle/products/fmw1213/Oracle_IDMLCM1/existing_directory/idmtools/bin
>./idmConfigTool_STA.sh -preConfigIDStore \
input_file=/u01/app/oracle/products/fmw1213/Oracle_IDMLCM1/existing_directory/idmtools /input_parameters.properties \
pwd_file=/u01/app/oracle/products/fmw1213/Oracle_IDMLCM1/existing_directory/idmtools /password_input_file \
log_file=/u01/app/oracle/products/fmw1213/Oracle_IDMLCM1/existing_directory/idmtools / idmConfigTool.log
8) Run the prepareIDStore command to create the required users, groups, containers,and other required artifacts in OUD.
>cd /u01/app/oracle/products/fmw1213/Oracle_IDMLCM1/existing_directory/idmtools/bin
>./idmConfigTool_STA.sh - prepareIDStore \
mode=WLS \
input_file=/u01/app/oracle/products/fmw1213/Oracle_IDMLCM1/existing_directory/idmtools /input_parameters.properties \
pwd_file=/u01/app/oracle/products/fmw1213/Oracle_IDMLCM1/existing_directory/idmtools /password_input_file \
log_file=/u01/app/oracle/products/fmw1213/Oracle_IDMLCM1/existing_directory/idmtools / idmConfigTool.log
>./idmConfigTool_STA.sh - prepareIDStore \
mode=OAM \
input_file=/u01/app/oracle/products/fmw1213/Oracle_IDMLCM1/existing_directory/idmtools /input_parameters.properties \
pwd_file=/u01/app/oracle/products/fmw1213/Oracle_IDMLCM1/existing_directory/idmtools /password_input_file \
log_file=/u01/app/oracle/products/fmw1213/Oracle_IDMLCM1/existing_directory/idmtools / idmConfigTool.log
>./idmConfigTool_STA.sh - prepareIDStore \
mode=OIM \
input_file=/u01/app/oracle/products/fmw1213/Oracle_IDMLCM1/existing_directory/idmtools /input_parameters.properties \
pwd_file=/u01/app/oracle/products/fmw1213/Oracle_IDMLCM1/existing_directory/idmtools /password_input_file \
log_file=/u01/app/oracle/products/fmw1213/Oracle_IDMLCM1/existing_directory/idmtools / idmConfigTool.log
To ensure that the operation is completed successful, there should be no SEVERE tags in the logs generated.
No comments:
Post a Comment