9 Upgrading Unified Inventory Management
This chapter explains how to upgrade your existing system to the latest release of Oracle Communications Unified Inventory Management (UIM).
About Upgrading UIM
In this chapter, the release you are upgrading from is called the old release. The release you are upgrading to is called the new release.
Upgrading to a new release of UIM consists of the following tasks:
-
Planning the upgrade
-
Performing the pre-upgrade tasks
-
Upgrading UIM
-
Performing the post-upgrade tasks
Planning Your Upgrade
Before you plan your upgrade, do the following:
-
Read the Release Notes for the UIM version to which you are upgrading, specifically, the “Known Issues" section.
-
Read the What's New for the UIM version to which you are upgrading, to know about the new features introduced in that release.
Depending on the components affected by the upgrade, your upgrade team may include the following:
-
A database administrator, to manage the database upgrade and tune the database.
-
A system integrator, to handle new and existing customizations.
-
A system administrator, to manage the WebLogic Server and UIM software upgrade.
-
A UNIX administrator, to manage accounts, network setup, and IP configurations.
Identify who might be affected by the upgrade. For example:
-
You might need to give your system administrators and UIM users notice of any system downtime.
-
Tell your system administrators in advance about any changes to the system architecture (for example, Oracle database, client, or WebLogic Server upgrades).
-
Train your administrators, users, cartridge developers, or system integrators on new functionality introduced by the upgrade that has an impact on their role.
You might need to make changes to your system after the upgrade is complete to accommodate new or modified features or functionality. For example, if the new release provides new security functionality, additional system configuration steps may be required. See "Upgrade Impacts" for more information.
The best way to estimate the duration of an upgrade is to perform the upgrade procedure on a test system with a copy of the production data. See "Testing the Upgrade in a Test Environment" for more information.
It is not necessary to shut down UIM or the UIM WebLogic Server domain before an upgrade. However, you must ensure that UIM is not running any operations.
Oracle recommends scheduling your upgrade during non-peak hours to minimize the disruption to your operations.
Testing the Upgrade in a Test Environment
Oracle recommends running the upgrade procedure on a test system with a copy of your production data before upgrading your production system. Test the upgrade by doing the following:
-
Successfully completing all the pre-upgrade, upgrade, and post-upgrade tasks.
-
Comparing the default behavior between the old and the new releases.
-
Recreating any custom configurations and extensions.
-
Confirming that all new behavior and functionality works.
-
Ensuring that the database tables are properly installed.
-
Ensuring that the database data is correct.
-
Starting the WebLogic Server domain.
-
Ensuring that users and user permissions are correct.
-
Ensuring that productized and custom cartridges build and deploy properly.
-
Logging into UIM and verifying the version number of installed components.
Upgrade Impacts
This section explains any important system changes introduced by an upgrade.
New features and new functionality are described in UIM Release Notes.
When upgrading to a new release of UIM, you may need to address the following upgrade impacts:
Database Software Changes
This section applies to all supported upgrade paths.
You must upgrade both the server and client to the required Oracle Database Software version. See "UIM Software Compatibility" in UIM Compatibility Matrix for more information.
Database Schema Changes
This section applies to all supported upgrade paths.
The new version of UIM requires an updated database schema. Regardless of the UIM release from which you are upgrading, and regardless of whether you opt to upgrade the Oracle Database software, you must update the database schema.
The schema changes between releases are described in the Comparison Betweeen 7.X.X and 8.X.X.xls file, which is available in the config folder after you extract the ora_uim_dbtools.jar file. See "About Upgrading UIM" for more information.
Fusion Middleware Changes
You must upgrade your version of Fusion Middleware, which includes WebLogic Server and ADF Runtime. Apply all applicable patches.
See "UIM Software Compatibility" in UIM Compatibility Matrix for version information regarding Oracle Fusion Middleware Application Development Runtime (and applicable patches) and Repository Creation Utility.
Java Development Kit Changes
This section applies to all supported upgrade paths.
This version of UIM requires an updated version of the Java Development Kit (JDK). Regardless of the UIM release from which you are upgrading, you must update the JDK version. See "UIM Software Compatibility" in UIM Compatibility Matrix for version information regarding Sun Hotspot (JDK) for Linux or Solaris.
API Changes
Review the Domain_Home/UIM/doc/ora_uim_delta.war file when upgrading UIM to determine if any of the upgrades affect your current extensions. The ora_uim_delta.war file contains information regarding changes between releases.
Design Studio Changes
You must upgrade your version of Oracle Communications Service Catalog and Design - Design Studio.
See "UIM Software Compatibility" in UIM Compatibility Matrix for version information regarding Design Studio.
Design Studio can be set up before or after you upgrade UIM. See Design Studio Installation Overview (1) in SCD Installation Guide for more information. Rather than upgrading Design Studio, install the new version and keep the old version until after you have finished upgrading UIM.
Cartridge Changes
After the upgrade is complete, cartridges must be migrated to the new release of UIM using the Design Studio Cartridge Migration Tool. It is possible that migrated cartridges contain minor compilation errors that prevent them from building and deploying. If a cartridge fails to build, open it in Design Studio and correct any compilation errors.
Upgrading UIM
This section details the upgrade procedures to upgrade UIM:
-
From release 7.4.1 and above to release 8.0.0 by doing the following tasks:
Pre-Upgrade Tasks for Release 7.4.1 and above
Pre-upgrade tasks must be performed while the UIM WebLogic Server is inactive.
These pre-upgrade tasks apply if your old version of UIM is version 7.4.1 and above. Perform the following pre-upgrade tasks:
-
Back up the UIM and MDS databases. See "Unified Inventory Management System Administration Overview" in UIM System Administrator's Guide for more information.
-
Back up the UIM WebLogic Server domain. See the WebLogic Server documentation for more information.
Note:
Verify that the file/folder being backed up meets the file size or pathname length requirements for the backup utility being used. For example, the maximum pathname length for the tar application is 256 characters.
-
If the old version of your UIM user interface was customized, back up the changes.
Caution:
UIM does not maintain backward compatibility for the user interface. If the old version of your UIM user interface was customized and you do not back up the changes, you will lose them. (You will re-apply the changes when performing the post-upgrade tasks.)
-
Before upgrading the domain, perform a backup by copying the directories that contain Fusion Middleware files. You can do this by archiving and compressing the source Oracle home and the Administration Server domain. Do the following:
-
Shut down all processes in the Oracle home. For example, shut down the Managed Servers, the Administration Server, and any system components.
-
Back up the Oracle home (ORACLE_HOME) on all hosts. For example:
(UNIX) tar -cf oracle_home_backup_062015.tar ORACLE_HOME/* (Windows) jar cMf oracle_home_backup_0462015.jar ORACLE_HOME\*
-
Back up the Administration Server domain separately. This backs up Java components and any system components in the domain.
(UNIX) tar -cf domain_home_backup_062015.tar DOMAIN_HOME/*(Windows) jar cMf domain_home_backup_062015.jar DOMAIN_HOME\*
-
-
Start the WebLogic Administration Server and open the WebLogic Console.
-
On the left side Domain Structure Panel, select the services and then go to Data Sources.
-
Locate all WLSSchemaDataSource. In the connection pool for each WLSSchemaDataSource, change the user name from
<PREFIX>_WLS_RUNTIMEto<PREFIX>_WLSand save your changes. -
If Mapviewer is installed in your existing domain: then follow the below steps:
-
Delete the Mapviewer template from domain-info.xml file in $WLS_Domain/init-info location:
< xtension-template-ref name=”Oracle MapViewer” version=”12.2.1.4.0” location=”$INFRA_ORACLE_HOME$/oracle_common/common/templates/wls/oracle.mapviewer_template.jar” symbol=”oracle.mapviewer_12.2.1.4.0/oracle_common_ORACLE_HOME”/> <install-comp-ref name=”oracle.mapviewer” version=”12.2.1.4.0” symbol=”oracle.mapviewer_12.2.1.4.0/oracle_common_ORACLE_HOME” product_home=”$INFRA_ORACLE_HOME$/oracle_common”/> -
Undeploy Mapviewer components from WebLogic console:
<app-deployment> <name>mapviewer</name> <target>cl1</target> <module-type>ear</module-type> <source-path>/scratch/Oracle/Middleware/Oracle_Home/oracle_common/modules/oracle.mapviewer/mapviewer.ear</source-path> <deployment-order>500</deployment-order> <security-dd-model>DDOnly</security-dd-model> <staging-mode>nostage</staging-mode> </app-deployment> <app-deployment> <name>mapviewer-1</name> <target>cl1</target> <module-type>ear</module-type> <source-path>/scratch/Oracle/Middleware/mapviewer.ear</source-path> <security-dd-model>DDOnly</security-dd-model> <staging-mode>nostage</staging-mode> <plan-staging-mode xsi:nil=”true”></plan-staging-mode> <cache-in-app-directory>false</cache-in-app-directory> </app-deployment>
-
-
Stop the UIM domain servers.
-
Run the readiness check before proceeding:
-
Navigate to MW_HOME/oracle_common/upgrade/bin/.
Where MW_HOME is the directory in which Oracle Fusion Middleware 14.1.2 is installed. This directory contains the Upgrade Assistant (UA) tool, which you use to upgrade the schema.
-
Launch the UA tool with readiness flag:
./ua -readinessThe Welcome screen appears.
-
Click Next.
The Upgrade Type screen appears.
-
Select Domain based, provide the domain directory, and click Next.
-
Verify Database Type and Connect String details that are autopopulated.
-
In DBA User Name, enter the database administrator user name.
-
In DBA Password, enter the password for the administrator user.
-
Click Connect.
If the provided details are valid, you can proceed.
-
In the Schema User Name list, the OPSS schema for the current WebLogic domain is autopopulated. As the order is not fixed, the schema can be different from OPSS such as UMS or STB. Ensure only the schema for the current domain is present.
All details are autopopulated for the schemas.
-
Verify the details and click Next.
-
If the password is missing or the schema details are missing (<DOMAIN NAME>_ instead of <DOMAIN_NAME>_UMS), add the corresponding details and proceed.
The Summary screen appears. The readiness check will begin.
-
If everything is green, proceed with the upgrade.
-
-
Upgrade the UIM RCU Schemas:
-
Navigate to MW_HOME/oracle_common/upgrade/bin/
where MW_HOME is the directory in which Oracle Fusion Middleware 14.1.2 is installed.
-
Launch the UA tool to upgrade the schema.
./uaThe Welcome screen appears.
-
Click Next.
The Upgrade Type screen appears.
-
Select Individually Selected Schemas, and click Next.
The Available Components screen appears, which enables you to select components to upgrade. Select the components that are present in the WebLogic domain.
-
Click Next.
The Domain directory screen appears.
-
Select the domain directory for upgrade, and click Next.
The Prerequisites screen appears.
-
Confirm that the database backup is complete by selecting the All affected servers are down, All affected data is backed up, Database version is certified by Oracle for Fusion Middleware upgrade, and Certification and system requirements have been met check boxes, and click Next.
The OPSS Schema screen appears.
Note:
The schemas (IAU, STB, OPSS, WLS, and MDS) may appear in different sequence after step 7g.
-
From the Database Type list, select the database type.
-
In Connect String, enter the hostname:portnumber/SID string.
Note:
For a clustered environment, the hostname:portnumber/SID must specify the primary Oracle RAC node.
-
In DBA User Name, enter the database administrator user name.
-
In DBA Password, enter the password for the administrator user.
-
Click Connect.
If the provided details are valid, the Schema User Name and Schema Password fields become enabled.
-
From the Schema User Name list, select the OPSS schema for the current WebLogic domain.
-
In Schema Password, enter the database password, and click Next.
-
Verify the details and click Next.
-
If the password is missing or the schema details are missing (<DOMAIN NAME>_ instead of <DOMAIN_NAME>_UMS), add the corresponding details and proceed.
The Summary screen appears. The readiness check will begin.
-
Click Next.
The Upgrade Summary screen appears.
-
Verify the details of the services to be upgraded and click Upgrade.
The Upgrading Components screen appears. You can monitor the progress of the upgrade from this screen.
-
After the upgrade completes, click Next.
The Upgrade Success screen appears.
-
Verify that the upgrade was successful and click Close.
-
-
Reconfigure the WebLogic domains using the Fusion Middleware Reconfiguration Wizard, which you open using the following command:
./MW_Home/oracle_common/common/bin/reconfig.sh-
On the Select Domain screen, from the Existing Domain Location list, select the UIM domain that you want to upgrade and click Next.
The Reconfiguration Setup Progress screen appears, displaying the progress of the reconfiguration setup process.
-
Click Next.
The Domain Mode and JDK screen appears.
The domain mode cannot be changed during reconfiguration. It is inherited from the original domain.
-
Select the JDK option and browse to the folder (JAVA_HOME) where the JDK is installed and click Next.
Ensure that you have installed the correct version of the JDK. See "UIM Software Compatibility" in UIM Compatibility Matrix for more information.
The Database Configuration Type screen appears.
-
Select the RCU Data option, complete the required fields, and then click Get RCU Configuration, which retrieves the schema information.
You select the RCU Data option to connect to the database to retrieve schema information for all schemas that are included in the domain.
-
Click Next. If you are using RAC Database, select WLS Runtime Schema and Convert to RAC multi data source option. Then provide the details for RAC Database. Do the same for other schemas and proceed.
-
Navigate through the different screens by clicking Next on each screen and specify your settings as necessary.
The Advanced Configuration screen appears.
-
Select Administration Server and then select the other categories for which you want to perform advanced configuration and click Next.
The Administration Server screen appears.
For each category you select, the appropriate configuration screen appears that allows you to perform advanced configuration.
-
Navigate through the different screens by clicking Next on each screen and specify your settings as necessary.
-
On the Deployments Targeting screen, under Targets, select the oracle.communications.inventory application and then click the left arrow, which moves the application to the Deployments section.
-
On the Deployments Targeting screen, under Deployments, select Library, and then under Targets, select the server or cluster, and then click the right arrow, which moves all the libraries to the targeted server or cluster for deployment.
-
Click Next.
The Services Targeting screen appears.
-
Under Services, select all the services, and then under Targets, select the server or cluster, and then click the right arrow, which moves the services to the targeted server or cluster for deployment.
-
Click Next until the Configuration Summary screen appears.
-
Review the detailed configuration settings of the domain and click Reconfig.
The Reconfiguration Progress screen appears, which displays the progress of the reconfiguration process.
After the reconfiguration process completes, the Reconfiguration Success screen appears.
-
Click Finish.
See Oracle Fusion Middleware documentation for more information.
-
-
Upgrade the WebLogic domain configurations by doing the following:
-
Navigate to the MW_Home/oracle_common/upgrade/bin/ua directory.
This directory contains the Fusion Middleware Upgrade Assistant 14.1.2, which you use to upgrade the WebLogic domain configurations.
-
Launch the Fusion Middleware Upgrade Assistant.
The Welcome screen appears.
-
Click Next.
-
Select All Configurations used by a domain, and in the Domain Directory field, select the WebLogic domain directory you want to upgrade, and then click Next.
The Prerequisites screen appears.
-
Confirm that the database backup is complete by selecting the All affected data is backed up, Database version is certified by Oracle for Fusion Middleware upgrade, and Certification and system requirements have been met check boxes, and click Next.
-
Navigate through the different screens by clicking Next on each screen and specifying your settings as necessary.
-
On the Upgrade Success screen, verify that the upgrade was successful and click Close.
See Oracle Fusion Middleware documentation for more information.
-
-
Upgrade the Oracle Database software. See "Database Software Changes" for more information.
See the Oracle Database documentation for information on upgrading the database software to a newer version.
-
Apply any required Oracle Database patches.
See "UIM Software Compatibility" in UIM Compatibility Matrix for more information on the Oracle Database patches.
See the Oracle Database documentation for information on applying patches to the database.
-
Upgrade the UIM database schema by performing the following steps:
WARNING:
Data can change when you upgrade the UIM database schema.
-
Create two temporary directories, temp_dir and temp_dir_schema.
-
Download the UIM software for your operating system from the Oracle software delivery website and save it to temp_dir.
-
From the ZIP file, extract the ora_uim_dbtools.jar file into temp_dir_schema.
The ora_uim_dbtools.jar file is located in the root of the downloaded ZIP file.
-
In temp_dir_schema, open the ora_uim_dbtools.jar file and extract the contents into temp_dir_schema.
Note:
For dbtools to work, you must have both the ora_uim_dbtools.jar file itself, and its extracted contents, in the temp_dir_schema directory.
-
Open the temp_dir_schema/config/databases.xml file in an editor, where will you see the following:
<db:database name="SID"> <db:driver>oracle.jdbc.driver.OracleDriver</db:driver> <db:connectionUrlString> jdbc:oracle:thin:@DBHostName:port:SID </db:connectionUrlString> <db:schemaComparison fromSchema="UIM_701" fromFile="\\filepath\dist\scripts\create.sql" toSchema="UIM_710" toFile="\\filepath\dist\scripts\create.sql"> </db:schemaComparison> </db:database>
Modify the <db:database> element name attribute value (SID in the above XML) to be the SID value of the database you are upgrading.
Modify the <db:connectionUrlString> element value (DBHostName:port:SID in the above XML) to be the database you are upgrading.
Note:
For a clustered environment, the DBHostName:port:SID must specify the primary Oracle RAC node.
For a pluggable database (PDB), specify <db:connectionUrlString> in the following format:
jdbc:oracle:thin:@DBHostName:port/SID
-
Grant the execute permission for the runDB.sh script.
-
Run the DB upgrade with the following command:
runDB.sh DBTOOLS_PATH JAVA_HOME upgrade
where DBTOOLS_PATH is the directory location of the ora_uimdbtools.jar file, and where JAVA_HOME is the directory location of your Java installation (up to the jdk/bin directory).
For example:
./runDB.sh /home/uimdev/download/dbupgrade/temp_dir_schema /usr/jdk21.0.6_patch/bin upgrade
where patch is the version of your JDK. You will be prompted to enter the database SID, and the UIM DB userid and password for the DB you want to migrate.
You will also be prompted to enter upgrade to confirm that an upgrade is to be performed on the database.
Note:
The database contains tables that record if a script has been run against the database and if the script can be re-run. If the script has been previously run and it has been identified as Not re-runnable, the message Update has already run displays next to the script name in the DbVersionController.log file.
The following is an example of the DbVersionController.log file:
1/11/17 6:34:22 AM PST: Applying Framework Update: sqlfrmwrk - Success 1/11/17 6:34:22 AM PST: Applying Framework Update: sqlfrmwrk1 - Success 1/11/17 6:34:22 AM PST: Applying Framework Update: sqlfrmwrk2 - Success 1/11/17 6:34:22 AM PST: 1/11/17 6:34:22 AM PST: 1/11/17 6:34:22 AM PST: DbVersionController Completed Wednesday, January 11, 2017 6:34:22 AM PST
View the DbVersionController.log file to verify that all the scripts were successful or have already been run.
-
-
If the domain names or managed server names for the old WebLogic domain and the new WebLogic domain are different, then delete the records from the UIM database schema tables named WL_LLR_servername.
For example, if there were two managed servers (uim_ms1 and uim_ms2) from the previous UIM release, you would need to delete the records from the following tables:
WL_LLR_UIM_MS1 and WL_LLR_UIM_MS2
-
Restart all the servers, including the Administration server, using the following command:
./startUIM.sh
-
In the managed server start-up log, exceptions can be observed that are related to jax-rs and inventory.ear. Managed server will be in ADMIN state. Therefore, manually undeploy these from WebLogic console or remove jax-rs and inventory.ear entries from config.xml file.
-
Stop the servers, clear tmp, clear cache of admin and managed servers, and start the servers.
POMS Cache Coordination MDB
While upgrading UIM Traditional instance from a release before 7.5.0 to a 8.0.0 release, the following updates are required in each of the custom applications:
- Update to <CUSTOM_APPLICATION.ear>/poms-ejbs.jar/META-INF/ejb-jar.xml
- Update to <CUSTOM_APPLICATION.ear>/poms-ejbs.jar/META-INF/weblogic-ejb-jar.xml
In the ejb-jar.xml file, add the following activation-config-property elements under activation-config:
<activation-config>
<activation-config-property>
<activation-config-property-name>topicMessagesDistributionMode</activation-config-property-name>
<activation-config-property-value>One-Copy-Per-Server</activation-config-property-value>
</activation-config-property>
<activation-config-property>
<activation-config-property-name>distributedDestinationConnection</activation-config-property-name>
<activation-config-property-value>EveryMember</activation-config-property-value>
</activation-config-property>
</activation-config>In the weblogic-ejb-jar.xml file, ejb-name has to be unique across all the custom applications. To ensure that is unique, prefix the name with your custom application name as follows:
<ejb-name>PREFIX_WITH_CUSTOM_APPLICATION_NAMECacheCoordinationMDB</ejb-name>Upgrading UIM
This section assumes you have already performed the pre-upgrade steps appropriate for the release of UIM from which you are upgrading. This section also assumes you have downloaded the software pack to temp_dir.
Perform the following tasks to upgrade UIM.
Upgrading UIM Using Interactive Mode
To upgrade UIM using Interactive Mode:
-
Navigate to the temp_dir directory and extract the contents of the downloaded software pack.
-
Navigate to the installer directory, and run the following command to start the installer:
java -jar UnifiedInventoryManagementInstaller_{release}.jarEnsure that you have installed the correct version of the JRE. See "UIM Software Compatibility" in UIM Compatibility Matrix for more information.
The installer Welcome screen appears.
-
Click Next. Give the Domain_Home path. Click Next.
-
In the Select Installation Type screen, select Upgrade and provide the existing Oracle Home path from the previous installation. The Oracle Home field will be enabled only when Upgrade is selected.
The installer scans the specified directory and folder.
-
Click Next. The WebLogic Administration Server Connection Information screen appears.
The WebLogic Administration Server Connection Information screen appears.
-
Details are autopopulated. Enter the password and verify other details:
-
In Host Name, enter the Listen address of the Administration server (IP address or the host name of the host machine).
-
In Port Number, enter the Administration server port number.
-
In User Name, enter the user name with which you connected to the Administration Server.
Note:
This user should belong to the WebLogic Server Administrator's group.
-
In Password, enter the password for the user name you provided in User Name.
-
Click Next.
The WebLogic Server/Cluster Selection screen appears.
Note:
In the following steps, the WebLogic Server should be running.
-
-
Select the same target WebLogic Server or cluster of servers belonging to the WebLogic Server domain to upgrade, and click Next.
The Database Type Selection screen appears.
-
Select the same database type that is used by your old UIM installation:
-
If your old installation is connected to a standalone database, select Standard Oracle Enterprise Database and click Next.
The Database Connection Information screen appears.
Do the following:
-
Verify if the retrieved field values are correct.
-
Enter the password and click Next.
-
-
If your old installation is connected to an Oracle RAC database, select Oracle Real Application Cluster Database and click Next.
The Oracle RAC DB screen appears.
Do the following:
-
Verify if the retrieved field values are correct.
-
Enter the password and click Next.
-
-
-
The MDS Schema information page appears. Verify if the retrieved field values are correct and provide details for rest.
-
In User Name, enter the user name for the MDS schema.
-
In Password, enter the password for the user name you provided in User Name.
Caution:
You must use the same user name and password that you provided when you set up the database schema using the Repository Creation Utility (RCU).
The user must have the following privileges: CATALOG, CONNECT, Create User, Create Session, Grant Any Privilege, Grant Any Role, Select Any Table, Select any Dictionary.
See "Creating the Database RCU Schema for UIM" for more information.
The UIM existing database schema screen appears.
-
-
Enter the UIM database schema information, by doing the following:
-
In User Name, enter the user name for the Unified Inventory Management schema.
-
In Password, enter the password for the user name you provided in User Name.
-
Click Next.
The Java Home selection screen appears. Provide the corresponding details.
-
-
Click Next.
The Summary screen appears.
-
Click Install. The installation will start. You can view the installation progress.
On successful installation of Unified Inventory Management, the End of Installation screen appears.
-
Perform the post-upgrade tasks. See "Post-Upgrade Tasks" for more information.
Upgrading UIM Using Silent Mode
Use the silent mode when you are upgrading UIM using the same configuration repeatedly. Silent mode does not use the installer UI, instead it uses a response file that must be setup with the configurationvalues required for your specific upgrade. Silent mode runs in the background and is not visible to the user.
About the Response File
The installer uses a response file, which contains a pre-defined set of values, such as server connection details.
The following response file template comes as part of the UIM installation package:
oracle.communications.inventory.rspThe response file templates contain all the fields that the installer requires to perform upgrade in silent mode.
When you extract the installer JAR file, the response file templates are saved in the Response directory at the location Disk1/stage/Response.
Populating the Response File
The following tables show the UIM response file template properties and the corresponding values that should be specified for a upgrade scenario.
Installation Location Details (Required)
| Property Name | Description (with Default Value) |
|---|---|
| ORACLE_HOME | Provide the existing Domain_Home location here where UIM is already installed |
Installation Type Details (Required)
| Property Name | Description (with Default Value) |
|---|---|
| INSTALLATION_TYPE | Type of installation. The allowed values are Complete or Upgrade. Set Upgrade for an upgrade. |
Weblogic Admin Server Connection Details (Required)
| Property Name | Description (with Default Value) |
|---|---|
| APP_ADMIN_HOST | The hostname or IP address of the WebLogic Admin Server. |
| APP_ADMIN_PORT | The port number for the WebLogic Admin Server
(enclose in double quotes). For SSL-based deployment, provide the
SSL port value and specify the keystore file location in the
APP_SERVER_KEYSTORE
property.
|
| APP_SERVER_USER | The user name for the WebLogic Admin Server. |
| APP_SERVER_PASSWD | The password for the WebLogic Admin Server. |
| APP_SERVER_KEYSTORE | The path to the keystore file required for SSL-based deployment (for example, certs/Keystore.jks). |
Target Selection Details (Required)
| Property Name | Description (with Default Value) |
|---|---|
| APP_TARGET_NAME | Name of the target (such as AdminServer or CL1)
where UIM will be installed.
|
Database Selection Details (Required)
| Property Name | Description (with Default Value) |
|---|---|
| DATABASE_TYPE | Type of the database used (Accepted values: Standard Oracle Enterprise Database or Oracle Real Application Cluster Database). |
Standard DB Details (Required only if DATABASE_TYPE = Standard Oracle Enterprise Database)
| Property Name | Description (with Default Value) |
|---|---|
| DB_HOST_NAME | The hostname of the standard Oracle database. |
| DB_HOST_PORT | The port number of the standard Oracle database (enclose in double quotes). |
| DB_USER_NAME | The user name with SYSDBA privileges for the standard Oracle database. |
| DB_PASSWORD | The password for the SYSDBA user of the standard Oracle database. |
| DB_SERVER_SERVICE | The service name of the standard Oracle database. |
RAC DB Details (Required only if DATABASE_TYPE = Oracle Real Application Cluster Database)
| Property Name | Description (with Default Value) |
|---|---|
| RAC_CONNECTION_STRING | The connection string details for Oracle RAC, in the format: HostName1:Port1:Service1,HostName2:Port2:Service2. |
| RAC_SERVER_USER | The user name for connecting to the Oracle RAC database. |
| RAC_SERVER_PASSWORD | The password for the Oracle RAC database server. |
MDS Schema Information Details (Required)
| Property Name | Description (with Default Value) |
|---|---|
| MDS_DB_USER_NAME | The user name for the MDS (Metadata Services) schema created using RCU utility. |
| MDS_DB_USER_PASSWD | The password for the MDS (Metadata Services) schema. |
Schema Creation Details (Not Required for Upgrade)
| Property Name | Description (with Default Value) |
|---|---|
| DB_SCHEMA | The flag to indicate whether to create the UIM schema
(Allowed values: "true" or false).
For upgrade, leave empty.
|
Store Type Details (Not Required for Upgrade)
| Property Name | Description (with Default Value) |
|---|---|
| STORE_CHECK | Option to choose between FileStore and JDBC store. For Upgrade case, leave empty. |
UIM Schema Details (Required; TableSpace not required for Upgrade)
| Property Name | Description (with Default Value) |
|---|---|
| APP_SCHEMA_USER | The name for existing UIM schema. |
| APP_SCHEMA_PASS | The password for existing UIM schema. |
| APP_SCHEMA_SYSTABLESPACE | The system Tablespace. For Upgrade, leave empty. |
| APP_SCHEMA_TABLESPACE | The Temp Tablespace. For Upgrade, leave empty. |
Security Provider Selection Details (Not Required for Upgrade)
| Property Name | Description (with Default Value) |
|---|---|
| SECURITY_PROVIDER_NAME | Type of the security provider to select (Allowed
values: Embedded_LDAP or External_LDAP). For Upgrade, leave
empty.
|
Embedded LDAP Details (Not Required for Upgrade)
| Property Name | Description (with Default Value) |
|---|---|
| LDAP_USER_NAME | The user name to be created in the embedded LDAP directory. For Upgrade, leave empty. |
| LDAP_PASSWD |
The password for the newly embedded LDAP user. For Upgrade, leave empty. |
External LDAP Details (Not Required for Upgrade)
| Property Name | Description (with Default Value) |
|---|---|
| LDAP_SERVER_HOST | The hostname of the external LDAP server. For Upgrade, leave empty. |
| LDAP_SERVER_PORT | The port number of the external LDAP server. For Upgrade, leave empty. |
| LDAP_SERVER_USER | The user name for connecting to the external LDAP server. For Upgrade, leave empty. |
| LDAP_SERVER_PASSWORD | The password for the external LDAP server user. For Upgrade, leave empty. |
| LDAP_USER_BASE_DN | The user BASE DN information of external LDAP server. For Upgrade, leave empty. |
| LDAP_GROUP_BASE_DN | The group BASE DN information of external LDAP server. For Upgrade, leave empty. |
| LDAP_SERVER_KEYSTORE | The path to the keystore file for the external LDAP server. For Upgrade, leave empty. |
CMWS User Details (Not Required for Upgrade)
| Property Name | Description (with Default Value) |
|---|---|
| INPUT_CMWS_USERNAME | The user name to be created for CMWS User. For Upgrade, leave empty. |
| INPUT_CMWS_USERPASSWORD | The password for the CMWS user. For Upgrade, leave empty. |
Note:
Before using the response file, ensure that any optional properties or values not required by the installer are left empty. When you provide a Boolean value (true or false) or any pure integer value such as port number, enclose the values inside double quotes.
Starting Silent Upgrade
Before you begin upgrading UIM by using silent mode, ensure that you have provided all required input values in the response file template.
To upgrade UIM by using silent mode:
-
Download the required version of Java. See “Installing the Oracle JDK” for more information.
-
Set the JAVA_HOME environment variable.
-
Use the following command to start the installation, where
pathis the response file location:java -jar UnifiedInventoryManagementInstaller -responseFile pathWhere
pathis the response file location.The installation will run silently in the background.
-
Perform the UIM post-installation tasks. See "Unified Inventory Management Post-Installation Tasks" for more information.
Post-Upgrade Tasks
These post-upgrade tasks apply if your old version of UIM is version 7.4.1, or above. Complete all of the following post-upgrade tasks after upgrading UIM, if necessary:
-
Verify that the upgrade process completed successfully before performing the remaining post-upgrade tasks. See "Verifying the Unified Inventory Management Installation" for more information.
-
If the old version of your UIM user interface was customized, apply the changes to the new version of UIM. (You backed up these changes when performing the pre-upgrade tasks.)
-
Install the new version of Design Studio. See the Design Studio documentation for more information.
Oracle recommends installing the new version of Design Studio along side the old version of Design Studio so that you can migrate custom cartridges to the new version more easily.
-
Deploy all the 8.0.0 base cartridges into the upgraded UIM environment. For information on base cartridges, see "Overview" in UIM Cartridge Guide.
-
Redeploy any custom cartridges and cartridge packs, after migrating and compiling the cartridges and cartridge packs using Design Studio. See the Design Studio documentation for more information.
-
Repackage the 8.0.0 custom.ear file by doing the following, regardless of whether any custom code needs to be added:
-
In the Oracle WebLogic Server Administration Console, undeploy the existing 7.4.x custom.ear or 7.x custom.ear file.
-
Make a backup copy of the 8.0.0 custom.ear file located in the UIM_Home/app/8_0_0 directory.
-
Extract the contents of the 8.0.0 custom.ear file to a temporary directory, such as tempDirCustom.
-
Copy any custom code from 7.x custom.ear to 8.0.0 custom.ear (which is extracted to tempDirCustom).
-
Repackage the 8.0.0 custom.ear file with the upgraded content in the tempDirCustom directory.
-
Copy the upgraded and repackaged custom.ear file to the UIM_Home/app/8_0_0 directory.
Note:
You will deploy the repackaged custom.ear file in a later post-upgrade step, after you have restarted the WebLogic Server.
-
-
For cluster server upgrades, increase the Stuck Thread Max Time value of each server from 600 to 1200:
-
Log in to the WebLogic Server Administration Console.
-
In the left section, under Domain Structure, expand Environment.
-
Click Servers.
The Summary of Servers page appears.
-
Click the link for each managed server.
The Settings for ManagedServer page appears, where ManagedServer is the name of the managed server you selected.
-
Click the Configuration tab.
-
Click the Tuning sub-tab.
-
In Stuck Thread Max Time, change the value from 600 to 1200.
-
Click Save.
-
-
Deploy the custom.ear file by running the following command:
java -cp MW_Home/wlserver/server/lib/weblogic.jar weblogic.Deployer -adminurl t3://ServerName:Port -user UserName -password Password -deploy Domain_Home/UIM/app/uimVersion/custom.ear -targets ServerName -name custom -plan Domain_Home/UIM/app/plan/Plan.xml
where:
-
MW_Home is the directory in which the Oracle Fusion Middleware 14.1.2 products are installed.
-
Domain_Home is the directory containing the configuration for the domain into which UIM is installed.
-
ServerName is the name of the Administration Server machine.
-
Port is the Administration Server port number.
-
UserName is the user name with which you connect to the Administration server.
-
Password is the password for the Administration server.
-
name is the name of the file. This value defaults to the base name of the deployment file or directory.
-
targets is the administration server name or cluster server name.
-
uimVersion is the directory of the UIM release version.
-
-
UIM replaces the system-config.properties file during the upgrade process. If you do not back up the changes you made in the system-config.properties file, you will lose them; however, you must re-apply those changes after upgrading UIM.
Upgrading UIM Using Staging Instance
This section describes the Blue-Green upgrade process for UIM using a staging instance, which leverages Oracle Data Guard. This approach minimizes production downtime and ensures that the latest version is verified in a staging environment before cutover.
In this approach:
- The Blue Environment represents the current production system that is available to all users.
- The Green Environment functions as a dedicated staging environment, where the backed-up UIM schema is upgraded and validated by attaching the new application. The UIM schema is secured and synchronized using Data Guard. All upgrade and test operations are performed in Green, ensuring no disruption to the Blue (production) environment. After the validation is complete, Green environment becomes the new production environment.
The Blue-Green upgrade involves the following phases:
- Phase 1: Staging and testing the upgrade in the Green environment
- Phase 2: Preparation before cutover
- Phase 3: Production cutover (go-live on Green)
- Phase 4: Upgrading the Standby (Blue) environment
- Phase 5: Data Guard switchover
Prerequisites
The prerequisites for performing the Blue-Green upgrade are:
- Primary Production Environment (Blue environment): The environment with an older version of the application.
- Secondary CDBs (Green Environment): Provision two new Oracle Container Databases (CDBs) using the same CDB configuration as the Blue production environment.
- Establish Data Guard Configuration: Configure Oracle Data Guard to enable real-time replication of the production data of the UIM schema from the Blue CDB to one of the two Green CDBs.
Note:
You need two CDBs because, starting with Oracle Database 23ai, PDB-level data replication using Data Guard is supported. For more information, refer to the Oracle Data Guard documentation. With Oracle Database 19c and earlier, PDB-level replication is not supported.Key Considerations and Best Practices
The key considerations and best practices for performing a Blue-Green upgrade are:
- Schema Management: Use separate CDBs for WebLogic schemas to prevent accidental data loss during replication setup and switchovers
- Validation: Carefully verify each step, especially while making manual updates to tables or changing data sources.
- Backup: Perform RMAN or schema-level backups before making any critical changes.
- Testing: Perform full regression, smoke, and sanity tests after each major transition, both before and after cutover.
Blue-Green Upgrade Phases
This section provides details about various phases involved in performing the Blue-Green upgrade.
Phase 1: Staging and Testing
This section includes the tasks you perform for staging and testing.
Note:
The Blue environment is the current live production instance and remains online throughout this phase. The Green environment is configured and upgraded separately for staging and validating with the latest application version.
In this phase:
- Temporarily disable Data Guard replication between the Blue (source) and Green (standby) CDBs and enable read-write mode on the Green CDB.
- Upgrade the Green CDB to a database version compatible with the target UIM application.
-
Create the RCU schema using the FMW 14c RCU utility by following the steps in "Installing and Configuring the Oracle Database".
Note: Create the RCU schema in the staging PDB within the CDB that does not have Data Guard enabled.
-
Create domain using the FMW 14c Domain Creation utility by following the steps in "Installing and Configuring Oracle WebLogic Server".
Note:
- Make sure the domain configuration is consistent with the production environment.
- During domain creation, use the RCU schema you created in the previous step and associate it with the domain.
- Perform a model upgrade on the replicated UIM schema using
UIMDBTools, where the production schema is replicated to the staging CDB
using Data Guard:
WARNING:
Data may change when you upgrade the UIM database schema.- Create two temporary directories, temp_dir and temp_dir_schema.
- Download the UIM software for your Operating System from the Oracle software delivery website and save it to temp_dir.
- From the ZIP file, extract the ora_uim_dbtools.jar file
to temp_dir_schema.
Note:
You will find the ora_uim_dbtools.jar file in the root folder of the downloaded ZIP file. - In temp_dir_schema, open the ora_uim_dbtools.jar
file and extract the contents into temp_dir_schema.
Note:
For UIMDBTools to work, you must have both the ora_uim_dbtools.jar file and the corresponding extracted contents, in the temp_dir_schema directory.
- Open the temp_dir_schema/config/databases.xml file in an
editor that contains the
following:
<db:database name="SID"> <db:driver>oracle.jdbc.driver.OracleDriver</db:driver> <db:connectionUrlString> jdbc:oracle:thin:@DBHostName:port:SID </db:connectionUrlString> <db:schemaComparison fromSchema="UIM_701" fromFile="\\filepath\dist\scripts\create.sql" toSchema="UIM_710" toFile="\\filepath\dist\scripts\create.sql"> </db:schemaComparison> </db:database> - Modify the <db:database> element's name attribute value (SID in the above XML) to be the SID value of the database you are upgrading.
- Modify the <db:connectionUrlString> element's value
(DBHostName:port:SID in the above XML) to the database you are
upgrading.
Note:
- For a clustered environment, the DBHostName:port:SID must specify the primary Oracle RAC node.
- For a pluggable database (PDB), specify
<db:connectionUrlString> in the format:
jdbc:oracle:thin:@DBHostName:port/SID
- Grant the execute permission for the runDB.sh script.
- Run the DB upgrade using the following
command:
runDB.sh DBTOOLS_PATH JAVA_HOME upgradeWhere, DBTOOLS_PATH is the directory location of the ora_uimdbtools.jar file, and JAVA_HOME is the directory location of your Java installation (up to the jdk/bin directory). For example:
./runDB.sh /home/uimdev/download/dbupgrade/temp_dir_schema /usr/jdk21.0.6_patch/bin upgradeWhere patch is the version of your JDK. The system prompts you to:
- Enter the database SID and the UIM DB userid and password for the DB you want to migrate.
- Enter upgrade to confirm that an upgrade is to be performed on the database.
Note:
The database contains tables that record if a script is run against the database and if the script can be run again. If the script is previously run and is identified that it cannot be run again, the message Update has already run appears next to the script name in the DbVersionController.log file.The following is an example of the DbVersionController.log file:
1/11/17 6:34:22 AM PST: Applying Framework Update: sqlfrmwrk - Success 1/11/17 6:34:22 AM PST: Applying Framework Update: sqlfrmwrk1 - Success 1/11/17 6:34:22 AM PST: Applying Framework Update: sqlfrmwrk2 - Success 1/11/17 6:34:22 AM PST: 1/11/17 6:34:22 AM PST: 1/11/17 6:34:22 AM PST: DbVersionController Completed Wednesday, January 11, 2017 6:34:22 AM PST - Check the DbVersionController.log file to verify that all scripts have run successfully.
- Connect to the Green-side UIM schema and update the application version to target
UIM version in the UIM.ApplicationInfo table.
Note:
A database administrator should perform this task. - Install UIM target version by following “Upgrading UIM”.
- Compile all required UIM cartridges with the corresponding compatible SCD version and deploy them.
- Perform end-to-end sanity and regression testing in the Green environment.
Phase 2: Before Production Cutover
This section includes the tasks you should perform before the production cutover.
In this phase:
- Shutdown all Green application servers.
- Reactivate Data Guard to synchronize the Green PDB with the most recent
UIM data from the Blue production environment.
Note:
This process reverts the Green-side UIM schema to the older version currently used in the production database. This is mandatory to ensure the latest production data is completely transferred to the staging environment. - Monitor and verify whether data synchronization happened.
Phase 3: Production Cutover
This phase includes the tasks you should perform in production cutover.
Note:
The production Blue environment must be taken offline, resulting in a scheduled downtime.In this phase:
- Shutdown the Blue application servers.
- Disable Data Guard and enable read/write mode on the Green database.
- Upgrade the UIM schema on the Green side by performing step 5 in
"Phase 1: Staging and Testing".
Connect to the Green-side UIM schema and update the application version to the target UIM version in the UIM.ApplicationInfo table.
Note:
A database administrator should perform this task. - Start all Green environment servers after clearing the tmp files and cache from each server.
- Redeploy all the latest cartridges and perform a Sanity test.
- Redirect production traffic to the upgraded Green environment by updating the
production URLs accordingly.
Once complete, the Green environment becomes the new production environment.
Phase 4: Standby Upgrade
This section includes the tasks that you should perform for the Standby (Blue) upgrade.
Note:
- The Green environment is now the active production system.
- After Blue Side upgrade, the Blue environment will serve as the backup
In this phase:
- Upgrade the UIM schema on the Blue side by performing step 5 in Phase 1: Staging and Testing.
- Upgrade the Blue environment using the in-place upgrade steps mentioned in Upgrading UIM.
- Verify the Blue environment to make sure everything works as expected.
- Shutdown the Blue environment server and keep it as a backup.
Phase 5: Data Guard Switchover
This section includes the tasks you should perform for data guard switchover.
Note:
This Switchover requires production downtime. Therefore, you must plan it during maintenance.In this phase:
- Shutdown the Green UIM servers.
- Export DB dump of the UIM schema from the Green side (active production).
Note:
Back up both Green and Blue schemas before proceeding, as the following steps may result in data loss if the database dump is not performed correctly. - Reactivate Data Guard replication from the Blue CDB to the Green CDB.
- Perform a Data Guard switchover to make Green as the production (primary) CDB and Blue as the standby CDB.
- Restore the UIM schema in the Green sideby importing the UIM schema dump into the Green CDB.
- Restart all Green environment servers after clearing the tmp files and cache from each server.
- Perform final Sanity testing on the Green environment.
The Green environment becomes the primary production setup, while the Blue environment becomes the standby or backup.
Upgrading UIM
Upgrading Unified inventory management using Blue-Green upgrade can performed using:
- Installation in Interactive mode. See "Performing Blue-Green Upgrade Using Interactive Installer".
- Installation in silent mode. See "Performing Blue-Green Upgrade in Silent Mode".
Performing Blue-Green Upgrade Using Interactive Installer
To perform Blue-Green upgrade using interactive installer:
- Download the required version of JRE, which is located in JDK. See "Installing the Oracle JDK" for more information.
- Create a temporary directory (temp_dir).
- Download the UIM software pack from the Oracle software delivery website and save it to temp_dir:
- Run the Oracle NextGen Installer
UnifiedInventoryManagementInstaller_{release}.jar using the following
command:
java -jar UnifiedInventoryManagementInstaller_{release}.jarThe Welcome screen of the installation wizard appears.
- Click Next and from the Installation Location screen, enter the path of Domain Home, where UIM will be installed.
- Click Next.
The Select Installation Type screen appears.
Note:
The installer creates an Inventory directory if it does not detect any installed Oracle products on the system. The Inventory directory manages all Oracle products installed on your system. - Select Complete as the type of UIM installation and click Next.
- Do the following:
- In the Host Name field, enter the Listen address of the Administration server (IP address or the host name of the host machine).
- In the Port Number field, enter the Administration server port number.
- In the User Name field, enter username with which you connected to
the Administration server.
Note:
This user should belong to the WebLogic Server Administrator's group. - In the Password field, enter the password for the username that you provided in the User Name field.
- Select or clear the Use SSL check box based on your business need.
- In the KeyStore Locationfield, enter the keystore location if the Use SSL check box is selected.
- Click Next.
The Target Selection screen appears.
- Select the option for the server or cluster where you want to deploy UIM and click
Next.
The Database Type Selection screen appears.
Note:
If you select a managed server, ensure that all managed servers and the node managers are running. - Select the option for the required database type and click Next.
- If you select Standard Oracle Enterprise Database, the Database Connection Information screen appears.
- If you select Oracle Real Application Clusters Database, the RAC DB Connection screen appears.
- Enter the Oracle RAC Database Nodes Connection information as follows:
- In the RAC Database Connection String field, enter the connection
details to connect the Oracle RAC database. For
example:
HOST_NAME1:PORT1:SERVICE_NAME,HOST_NAME2:PORT2:SERVICE_NAME - In the User Name field, enter the username for the Oracle RAC
database SYSDBA user.
Note:
The user must have the privileges: CATALOG, CONNECT, Create User, Create Session, Grant Any Privilege, Grant Any Role, Select Any Table, Select any Dictionary, CREATE MATERIALIZED VIEW, QUERY REWRITE, RESOURCE, UNLIMITED TABLESPACE. - In the Password field, enter the password for the username that you provided in the User Name field.
- Click Next.
The MDS Schema information screen appears.
- In the RAC Database Connection String field, enter the connection
details to connect the Oracle RAC database. For
example:
- Enter the Database Connection information as follows:
- In the Host Name field, enter the IP address or host name of the machine where the database server is installed.
- In the Port Number field, enter the port number with which the installer will connect to the database server.
- In the User Name field, enter the username for the database SYSDBA user.
Note:
- You must use the same username and password that you provided when you set up the database schema using the Repository Creation Utility (RCU).
- The user must have the following privileges: CATALOG, CONNECT, Create User, Create Session, Grant Any Privilege, Grant Any Role, Select Any Table, Select any Dictionary, CREATE MATERIALIZED VIEW, QUERY REWRITE, RESOURCE, UNLIMITED TABLESPACE.
See "Creating the Database RCU Schema for UIM" for more information.
- In the Password field, enter the password for the username that you provided in the User Name field.
- In the Service Name field, enter the service name for that uniquely identifies your database on the system.
- Click Next.
The MDS Schema Information screen appears.
- Enter the MDS Schema information as follows:
- In the User Name field, enter the username for the MDS schema
(prefix_MDS).
Note:
You must use the same username and password provided when the UIM MDS schema was created. - In the Password field, enter the password for the username that you provided in the User Name field.
- In the User Name field, enter the username for the MDS schema
(prefix_MDS).
- Select yes to create the UIM database schema and click Next.
Note:
This creates an empty UIM schema, which will navigate to the upgraded UIM schema later. - Select the same type of store that the production environment (Blue Side) uses and
click Next.
The Unified Inventory Management Schema Information screen appears.
Note:
If File Store is selected, a file store (inv_jms_store) is created at the Domain_Home/UIM location.
- Enter the UIM database schema information as follows:
- In theUser Name field, enter the user name for the UIM schema.
- In the Password field, enter the password for the username that you provided in the User Name field.
- In the System Tablespace field, enter the name for the permanent tablespace.
- In the Temp Tablespace field, enter the name for the temporary tablespace.
- Click Next.
The Security Provider Selection screen appears.
- Select the security provider you want to use and click Next.
- If you select the default WebLogic security provider Embedded_LDAP
option, the UIM Administrator user creation (Optional) screen appears. Do
the following:
- In the User Name field, enter the user name for the UIM
user.
This user accesses and uses Unified Inventory Management.
- In the Password field, define a password for the UIM user.
Note:
- The UIM user password length must be between 8 to 12, should contain atleast one lowercase, one uppercase, one number, and one special character. No character can appear more than four times in total or more than three times in a row.
- The username must not be part of the password, not even in the reverse order.
- In the Confirm Password field, enter the password again, to confirm it.
- Click Next.
The CMWS User Information screen appears.
- In the User Name field, enter the user name for the UIM
user.
- If you select the external security provider option
(External_LDAP), the External Security Provider
Connection Information screen appears. Do the following:
- In the LDAP Server Host Name field, enter the host name for the external LDAP server.
- In theLDAP Server Port Number field, enter the port number for the external LDAP server.
- In the LDAP Server User Name field, enter the username for the external LDAP server.
- In the LDAP Server Password field, enter the password for the external LDAP server.
- In the User Base DN field, enter the user base DN.
- In the Group Base DN field, enter the group base DN.
- In the Use SSL? field, clear the check box if you do not want
to use SSL.
This option is selected by default. If you accept the default, ensure that your server is SSL-enabled. The SSL port should be configured during domain creation.
- In the KeyStore Location field, enter the location for the keystore.
- Click Next.
The CMWS User Information screen appears.
- If you select the default WebLogic security provider Embedded_LDAP
option, the UIM Administrator user creation (Optional) screen appears. Do
the following:
- Enter the CMWS User information as follows:
- In the User Name field, enter the username for the CMWS user.
- In the Password field, enter the password.
Note:
- The UIM user password length must be between 8 to 12, should contain at least one lowercase, one uppercase, one number, and one special character. No character can appear more than four times in total or more than three times in a row.
- The username must not be part of the password, not even in the reverse order.
- In the Confirm Password field, enter the password again.
- Click Next.
The Java Home screen appears.
- Verify and update the Java Home path.
- Click Next.
The Installation Summary screen appears.
- Review the selections you have made in the previous screens and
clickInstall.
The Installation Progress screen appears.
- You can view the installation progress.
On successful installation of Unified Inventory Management, the End of Installation Complete screen appears.
Note:
The URL that appears on the End of Installation screen that you use to access UIM. - Before starting the server, modify the UIM data sources in <Domain_Home>/config/jdbc to refer the upgraded Green UIM schema.
- (Optional) For installing UIM without using a shared storage, compress the
<Domain_Home>/bin and <Domain_Home>/UIM directories on node
1 into a zip file and extract them on node 2.
Note:
You need to compress the <Domain_Home>/bin and <Domain_Home>/UIM directories on node 1 and extract them on node 2 for all UIM upgrade or patch installations. - Restart the Administration server using the following command in the
Domain_Home/bin directory:
./startUIM.shNote:
For clustered deployments, edit the setDomainEnv.sh file and set the WLS_JDBC_REMOTE_ENABLED parameter to true. The setDomainEnv.sh file is in the Domain_Home/bin directory.
The following is an example for the parameter:
WLS_JDBC_REMOTE_ENABLED="-Dweblogic.jdbc.remoteEnabled=true" - Start the managed
server:
./startUIM.sh Managed_Server_Name Admin_URL - Perform the UIM post-installation tasks. See "Unified Inventory Management Post-Installation Tasks" for more information.
Performing Blue-Green Upgrade in Silent Mode
Use the Silent mode when you are upgrading UIM using the same configuration repeatedly. The Silent mode does not use the installer UI. Instead, it uses a response file that must be setup with the configuration values required for your specific installation. The Silent mode runs in the background and is not visible to the user.
About the Response File
The installer uses a response file, which contains a predefined set of values, such as server connection details. The response file template, oracle.communications.inventory.rsp, is a part of the UIM installation package. The response file template contains all fields that the installer requires to perform upgrade in the Silent mode.
When you extract the installer JAR file, the response file template is saved in the Response directory at the location: uim/Disk1/stage/Response.
Populating the Response File
The following tables show the UIM response file template properties and the corresponding values that should be specified for Blue-Green Upgrade scenario.
Installation Location Details (Required)
| Property Name | Description (with Default Value) |
|---|---|
| ORACLE_HOME | Provide Domain_Home location. |
Installation Type Details (Required)
| Property Name | Description (with Default Value) |
|---|---|
| INSTALLATION_TYPE | Type of installation. The allowed values are Complete or Upgrade. Set Complete for Blue-Green upgrade. |
Weblogic Admin Server Connection Details (Required)
| Property Name | Description (with Default Value) |
|---|---|
| APP_ADMIN_HOST | The hostname or IP address of the WebLogic Admin Server. |
| APP_ADMIN_PORT | The port number for the WebLogic Admin Server
(enclose in double quotes). For SSL-based deployment, provide the
SSL port value and specify the keystore file location in the
APP_SERVER_KEYSTORE
property.
|
| APP_SERVER_USER | The user name for the WebLogic Admin Server. |
| APP_SERVER_PASSWD | The password for the WebLogic Admin Server. |
| APP_SERVER_KEYSTORE | The path to the keystore file required for SSL-based deployment (for example, certs/Keystore.jks). |
Target Selection Details (Required)
| Property Name | Description (with Default Value) |
|---|---|
| APP_TARGET_NAME | Name of the target (such as AdminServer or CL1)
where UIM will be installed.
|
Database Selection Details (Required)
| Property Name | Description (with Default Value) |
|---|---|
| DATABASE_TYPE | Type of the database used (Accepted values: Standard Oracle Enterprise Database or Oracle Real Application Cluster Database). Use the same Type of Production environment. |
Standard DB Details (Required only if DATABASE_TYPE = Standard Oracle Enterprise Database)
| Property Name | Description (with Default Value) |
|---|---|
| DB_HOST_NAME | The hostname of the standard Oracle
database.
Note: You must use the details that you provided when you set up the database schema using the Repository Creation Utility (RCU). |
| DB_HOST_PORT | The port number of the standard Oracle database (enclose in double quotes). |
| DB_USER_NAME | The username with SYSDBA privileges for the standard Oracle database. |
| DB_PASSWORD | The password for the SYSDBA user of the standard Oracle database. |
| DB_SERVER_SERVICE | The service name of the standard Oracle database. |
RAC DB Details (Required only if DATABASE_TYPE = Oracle Real Application Cluster Database)
| Property Name | Description (with Default Value) |
|---|---|
| RAC_CONNECTION_STRING | The connection string details for Oracle RAC, in the
format:
HostName1:Port1:Service1,HostName2:Port2:Service2.
Note: You must use the details that you provided when you set up the database schema using the Repository Creation Utility (RCU). |
| RAC_SERVER_USER | The username for connecting to the Oracle RAC database. |
| RAC_SERVER_PASSWORD | The password for the Oracle RAC database server. |
Schema Creation Details (Required only if INSTALLATION_TYPE=Complete)
| Property Name | Description (with Default Value) |
|---|---|
| DB_SCHEMA | The flag to indicate whether to create the UIM schema
(Allowed values: "true" or
"false"). For upgrade,
leave empty. For Blue Green Upgrade installation, provide
"true".
Note: This will create an empty UIM schema, which points to the upgraded UIM schema later. |
Store Type Details (Required only if DB_SCHEMA=”true”)
| Property Name | Description (with Default Value) |
|---|---|
| STORE_CHECK | Provide "true" if you want
to use File Store. Provide "false" if you
want to use JDBC Store (required only if DB_SCHEMA=”true” and the
value must be enclosed in double quotes).
Note: Select the same type of store that the production environment (Blue Side) uses. |
UIM Schema Details (Required)
| Property Name | Description (with Default Value) |
|---|---|
| APP_SCHEMA_USER | The name for the new UIM schema to be
created.
Note: This schema is temporary schema that the installer creates. Later we will point it to pointed to the upgraded UIM schema. |
| APP_SCHEMA_PASS | The password of the new UIM schema to be created if DB_SCHEMA=”true” or in case DB_SCHEMA=”false”, then provide the password for existing UIM. |
| APP_SCHEMA_SYSTABLESPACE | The system Tablespace(required only if DB_SCHEMA=”true”). |
| APP_SCHEMA_TABLESPACE | The Temp Tablespace (required only if DB_SCHEMA=”true”). |
Security Provider Selection Details (Required)
| Property Name | Description (with Default Value) |
|---|---|
| SECURITY_PROVIDER_NAME | Type of the security provider to select (Allowed
values: Embedded_LDAP or External_LDAP).
|
Embedded LDAP Details (User creation is optional)
| Property Name | Description (with Default Value) |
|---|---|
| LDAP_USER_NAME | The user name to be created in the embedded LDAP directory. |
| LDAP_PASSWD | The password for the newly embedded LDAP
user
Password requirements:
|
External LDAP Details (Required only if SECURITY_PROVIDER_NAME=External LDAP)
| Property Name | Description (with Default Value) |
|---|---|
| LDAP_SERVER_HOST | The hostname of the external LDAP server. |
| LDAP_SERVER_PORT | The port number of the external LDAP server. |
| LDAP_SERVER_USER | The user name for connecting to the external LDAP server. |
| LDAP_SERVER_PASSWORD | The password for the external LDAP server user. |
| LDAP_USER_BASE_DN | The user BASE DN information of external LDAP server. |
| LDAP_GROUP_BASE_DN | The group BASE DN information of external LDAP server. |
| LDAP_SERVER_KEYSTORE | The path to the keystore file for the external LDAP server (for example: certs/externalLDAPKeystore.jks). |
CMWS User Details (Required)
| Property Name | Description (with Default Value) |
|---|---|
| INPUT_CMWS_USERNAME | The user name to be created for CMWS User. |
| INPUT_CMWS_USERPASSWORD | The password for the CMWS user.
Password requirements:
|
Note:
Before using the response file, ensure that any optional properties or values that are not required by the installer are left empty. When you provide a Boolean value (true or false) or any pure integer value such as port number, enclose the values inside double quotes.
Starting the Silent Install
Before you start installing UIM by using the Silent install, ensure that you have provided all required input values in the response file template.
To install UIM by using the Silent install:
- Download the required version of Java. See “Installing the Oracle JDK” for more information.
- Set the JAVA_HOME environment variable.
- Use the following command, to start the
installation:
java -jar UnifiedInventoryManagementInstaller -responseFile pathWhere,
pathis the response file location.The installation will run in the background.
- When the installation completes, manually shut down all servers.
- Before starting the server, modify the UIM data sources in <Domain_Home>/config/jdbc to refer the upgraded Green UIM schema.
- (Optional) For installing UIM without using a shared storage, compress the
<Domain_Home>/bin and <Domain_Home>/UIM directories on node
1 into a zip file and extract them on node 2.
Note:
You need to compress the <Domain_Home>/bin and <Domain_Home>/UIM directories on node 1 and extract them on node 2 for all UIM upgrade or patch installations. - Perform the UIM post-installation tasks. See "Unified Inventory Management Post-Installation Tasks" for more information.
- Restart the Administration server in the Domain_Home/bin
directory:
./startUIM.sh
- Restart the managed
servers:
./startUIM.sh Managed_Server_Name Admin_URL - After the installation is complete, open the Domain_Home/UIM/install/readme.txt file to get the URL to access UIM.
- Copy and paste the URL in a Web browser and press Enter to access UIM.
You can now access the UIM application.
For information on verifying the successful installation of UIM, see "Verifying the Unified Inventory Management Installation".
About Rolling Back UIM
If the installer fails to successfully upgrade UIM, you must manually restore the WebLogic Server domain, the database schema, and the database domain. See the chapter, "Unified Inventory Management Backup and Restore " in UIM System Administrator's Guide for more information about restoring the database. See the WebLogic Server documentation for more information about restoring the WebLogic Server domain.