This chapter provides instructions for Oracle Communications Pricing Design Center (PDC) 11.2 post-installation tasks.
If you installed PDC for the first time, see "Post-Installation Tasks for the Complete PDC Software Install".
If you installed PDC 11.2 or the 11.2 patch set on an existing PDC 11.1 installation, see "Post-Installation Tasks for the PDC Upgrade".
If you installed PDC 11.2 Patch Set 1 on your existing PDC 11.2 installation, see "Post-Installation Tasks for the PDC Patch Set Installation".
After installing the complete PDC software, do the following:
Important:
Ensure that the BRM-PDC integration is enabled. See "Enabling BRM-PDC Integration" for more information.(Optional) Create a PDC user. You can create additional PDC users through Oracle WebLogic Server Administration Console. See "Creating a PDC User" for more information.
Add the PDC user to a group. See "Adding the PDC User to a Group" for more information.
Start the transformation engines. See "Starting the Transformation Engines" for more information.
(Optional) Restrict the quota limit for a schema user in a tablespace. See "Restricting Tablespace Quota for a Schema User" for more information.
Additionally, do the following if you are not migrating the existing BRM pricing data to the PDC database:
Clean up sample Oracle Communications Billing and Revenue Management (BRM) data. See "Cleaning up Sample BRM Data" for more information.
Run the SyncPDC utility. Run SyncPDC to synchronize the setup components defined in other BRM components with PDC. See "Running SyncPDC" for more information.
(Optional) Create prerequisite setup components such as balance elements. See PDC User's Guide for more information. For a quick start, load sample balance element IDs and ratable usage metrics (RUMs) provided with PDC. See "Loading Sample Data" for more information.
Create a service-event map in the PDC UI. See "Creating Service-Event Maps" for more information.
If you want to create additional PDC users, you must create the PDC users after the installation is complete.
To create a PDC user:
Log in to WebLogic Server Administration Console.
In the Domain Structure section, click the Security Realms link.
The Summary of Security Realms page appears.
Click the myrealm link.
The Settings for myrealm page appears.
Click the Users and Groups tab.
Click the Users subtab.
Click New.
The Create a New User page appears.
Do the following:
In the Name field, enter a name for the PDC user.
(Optional) In the Description field, enter a brief description for the PDC user.
In the Password field, enter a password for the PDC user.
Note:
The PDC user password can be a minimum of 8 characters and maximum of 12 characters and should contain at least one non-alphabetic character. For example, Weblogic123. The user name must not be a part of the password.In the Confirm Password field, enter the password again, to confirm it.
Click OK.
The user name appears in the User table.
Click Save.
To access PDC, add the PDC user to a group based on the role of the user in the organization. See "Adding the PDC User to a Group" for more information.
PDC is a role-based application that authenticates and authorizes users based on the group to which the user belongs. The role-based functionality of PDC is supported by the following WebLogic Server groups:
Pricing Design Admin: The users belonging to this group have read and write access to the setup and pricing components.
Pricing Analyst: The users belonging to this group have read access to the setup components and read and write access to the pricing components.
Pricing Reviewer: The users belonging to this group have only read access to the setup and pricing components.
Migration Admin: The users belonging to this group can migrate pricing data from the BRM database to the PDC database.
These groups are created by the PDC Installer during the PDC installation process. To access PDC, add the PDC user you created during the installation or after the installation is complete to a group based on the role of the user in the organization.
To add the user to the group:
Log in to WebLogic Server Administration Console.
In the Domain Structure section, click the Security Realms link.
The Summary of Security Realms page appears.
Click the myrealm link.
The Settings for myrealm page appears.
Click the Users and Groups tab.
Click the Users subtab.
Click the username link, where username is the name of the PDC user.
The Settings screen for username page appears.
Click the Groups tab.
In the Parent Groups section, from the Available list, select the group to which you want to assign the user.
Move the selected item to the Chosen list.
Click Save.
The transformation engines do not automatically start when you start the PDC server, you must start them manually. See "Starting the Transformation Engines" for more information.
PDC grants unlimited tablespace quota to the following schema users:
PDC schema
Transformation cross-reference schema
Migration cross-reference schema
You can restrict the quota limit for a schema user in a tablespace by using SQL*Plus.
To restrict the tablespace quota for a schema user:
Connect to your database using SQL*Plus:
sqlplus user_name/password@database_name
where:
user_name is the PDC database user name.
password is the PDC database user password.
database_name is the service name or database alias of the PDC database.
At the SQL*Plus prompt, enter the following command:
alter user schema_user_name quota size on tablespace_name;
where:
schema_user_name is the PDC schema user name.
size is the tablespace quota size.
tablespace_name is the name of the tablespace for the PDC schema user.
For example:
alter user pdcUser quota 500k on data_ts;
Enter the following command, which exits SQL*Plus:
exit
When you install BRM, its installation scripts populate sample data, including setup and pricing components. When using PDC, this data should not be initiated in BRM, but it should be defined in PDC and published to the BRM database. To ensure that PDC and BRM are integrated properly, you must clean up the BRM sample data before you start using PDC.
To clean up sample BRM data:
Go to the BRM_Integration_Pack_home/apps/syncpdc/scripts directory, where BRM_Integration_Pack_home is the directory in which BRM Integration Pack is installed.
Enter the following command, which opens SQL*Plus:
sqlplus user_name/password@database_Name
where:
user_name is the BRM database user name.
password is the BRM database user password.
database_Name is the service name or database alias of the BRM database.
Enter the following commands, which clean up BRM data:
To clean up real-time data:
update_pin_tables.sql
To clean up batch-rating data:
update_ifw_tables.sql
Note:
If PDC is integrated with ECE, do not run the update_ifw_tables.sql command.The sample BRM data is cleaned up.
Enter the following command, which exits SQL*Plus:
exit
You must run the SyncPDC utility to synchronize the setup components defined outside of PDC.
See the discussion about running SyncPDC in PDC User's Guide for more information.
PDC provides sample XML files to create setup components. The sample files are located in the PDC_home/apps/Samples/Examples directory, where PDC_home is the directory in which PDC is installed.
The Examples directory contains the following sample files:
PDCSampleBE.xml. Contains all currency balance elements and some frequently used non-currency balance elements. You can load this file to quickly create balance elements to use when configuring pricing.
PDCSampleRum.xml. Contains commonly used ratable usage metrics (RUMs). You can load this file to quickly create RUMs to use when creating a service-event map and when configuring pricing.
OOB_ProfileSpecifications.xml. Contains the profile attribute specifications referenced in the following custom rules: Friends&Family, SpecialDay, and ClosedUserGroup. This XML file references the names used in the provisioning tags provided by default with the BRM installation. See the discussion about configuring closed user groups in PDC User's Guide for more information.
OOB_CRs.xml. Contains the custom rules: Friends&Family, SpecialDay, and ClosedUserGroup. You can use these custom rules in generic and charge selectors when configuring a charge based on a subscriber's Friends & Family, Special Day, or Closed User Group profile. You must load the OOB_ProfileSpecifications.xml file before loading this file. See the discussion about configuring closed user groups in PDC User's Guide for more information.
OOB_ItemTypeSelector.xml. You must load this file if you are using ECE. This file provides the default billing item assignments that are supported by BRM without any additional configuration. See the discussion about loading the OOB_ItemTypeSelector.xml file in PDC User's Guide for more information.
Important:
Before loading this file into the PDC database, make a backup copy of the customized config_item_tags.xml and config_item_types.xml files in BRM if you have created custom bill items in BRM. When you load the OOB_ItemTypeSelector.xml file into the PDC database, it overwrites the existing item tag-to-item type mapping in the BRM database.You can load the sample files by using the ImportExportPricing utility. See PDC User's Guide for more information.
Note:
The Examples directory also contains sample alias files and sample pricing profile files that are provided only for reference and for use as templates for creating custom alias events or pricing profiles. You should not load the sample alias files and sample pricing profile files after installing PDC.A service-event map defines which events can be used for a service and which RUMs can be used for each service-event combination.
For example, you map the GSM Session event to the GSM service and the RUMs, Duration and Volume, to the GSM Session event.
You can create a service-event map in the PDC UI. See the PDC Help for more information.
After installing PDC 11.2 or 11.2 patch sets on an existing PDC 11.1 installation, do the following:
Upgrade the PDC database schema to the PDC 11.2 schema. See "Upgrading the PDC Database Schema" for more information.
Start the transformation engines. See "Starting the Transformation Engines" for more information.
(Optional) Restrict the quota limit for a schema user in a tablespace. See "Restricting Tablespace Quota for a Schema User" for more information.
Ensure that you migrate offer profiles from BRM into PDC. See "Migrating Offer Profiles from BRM into PDC" for more information.
If you are upgrading from PDC 11.1 to PDC 11.2 Patch Set 1, run SyncPDC utility. The SyncPDC utility synchronizes the setup components defined in other BRM components with PDC. See "Running SyncPDC" for more information.
To upgrade the PDC database schema:
Go to the in the PDC_home/servers/upgrade/schema/pdc directory.
Enter the following command, which opens SQL*Plus:
sqlplus user_name/password@database_Name
where:
user_name is the PDC database user name.
password is the PDC database user password.
database_Name is the service name or database alias of the PDC database.
Run the following command, which upgrades the PDC database schema:
PricingDesignCenter.sql
Enter the following command, which exits SQL*Plus:
exit
If you are using ECE for usage charging, ensure that you migrate the existing offer profile data from BRM into PDC and use only PDC for configuring policy specifications.
Important:
After you migrate the offer profile data into PDC, delete the existing offer profiles in BRM and do not create any new offer profiles in BRM.To migrate offer profiles from BRM into PDC:
Open the PDC_home/upgrade/PolicySpecificationDataUpgrade.sql file in a text editor.
Specify the following parameters:
CREATE DATABASE LINK brmpdclink CONNECT TO brm_dbhost_username IDENTIFIED BY brm_dbhost_password USING '(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = brm_schema_hostname)(PORT = brm_schema_port_number))) (CONNECT_DATA = (SID = brm_schema_sid) ) )';
where:
brm_dbhost_username is the BRM database user name.
brm_dbhost_password is the BRM database user password.
brm_schema_hostname is the BRM schema host name.
brm_schema_port_number is the port number assigned to the BRM schema.
brm_schema_sid is the SID of the BRM schema.
Save and close the file.
Ensure that the BRM and PDC databases are running.
Connect to the PDC database using SQL*Plus:
sqlplus user_name/password@database_Name
where:
user_name is the PDC database user name.
password is the PDC database user password.
database_Name is the service name or database alias of the PDC database.
Migrate offer profiles into PDC by running the following command:
@PolicySpecificationDataUpgrade.sql
The offer profiles are migrated from BRM into PDC in the PDC format as policy specifications and policy labels.
Exit SQL*Plus by running the following command:
exit
Restart WebLogic Server.
Export the policy specifications and policy labels to XML files by running the following command:
ImportExportPricing -export FileNamePrefix -config POLICY_SPECIFICATION ImportExportPricing -export FileNamePrefix -config POLICY_LABEL
where FileNamePrefix is the prefix to append to the beginning of the generated XML file name.
The policy specifications and policy labels are exported to the respective XML files.
Verify the migrated data in the XML files and make any necessary changes if required.
If you make any changes in the XML files, import the policy specifications and policy labels into the PDC database by running the following command:
ImportExportPricing -import -config POLICY_LABEL filename ImportExportPricing -import -config POLICY_SPECIFICATION filename
where filename is the name of the XML file.
The policy specifications and policy labels are imported into the PDC database.
Export the ALTERATION_RATE_PLAN and CHARGE_RATE_PLAN pricing components to XML files by running the following commands:
ImportExportPricing -export -pricing ALTERATION_RATE_PLAN ImportExportPricing -export -pricing CHARGE_RATE_PLAN
Import the ALTERATION_RATE_PLAN and CHARGE_RATE_PLAN pricing components into the PDC database by running the following commands:
ImportExportPricing -import -pricing CHARGE_RATE_PLAN -ow filename ImportExportPricing -import -pricing ALTERATION_RATE_PLAN -ow filename
Publish the required pricing and setup components to ECE by running the following command:
ImportExportPricing -publish POLICY_SPECIFICATION -target ece ImportExportPricing -publish CHARGE_OFFERING -target ece ImportExportPricing -publish ALTERATION_OFFERING -target ece
The policy specifications, charge offers, and discount offers are published to ECE.
Note:
During PDC installation, the create database link privilege is granted to the PDC schema user. After migrating offer profiles from BRM into PDC, you can revoke the create database link privilege from the PDC schema user by running the following command as the SYS user:sqlplus sys_username/sys_password@ revoke create database link from pdc_schema_hostname;
After installing PDC 11.2 Patch Set 1 on the existing PDC 11.2 installation, do the following:
Run the PDC and BRM Integration Pack upgrade scripts. See "Running the PDC Upgrade Scripts" for more information.
Start the transformation engines. See "Starting the Transformation Engines" for more information.
Run the SyncPDC utility. Run SyncPDC to synchronize the setup components defined in other BRM components with PDC. See "Running SyncPDC" for more information.
To run the PDC upgrade scripts:
Go to the PDC_home/server/upgrade/schema/pdc directory.
Run the following command, which opens SQL*Plus
sqlplus user_name/password@database_Name
where:
user_name is the PDC database user name.
password is the PDC database user password.
database_name is the service name or database alias of the PDC database.
Run the following commands:
PricingDesignCenter.sql MigrateEventAddEventType.sql
Run the following command, which exits the SQL*Plus:
exit