This chapter briefly introduces the tasks that the system administrator for Demantra would perform. It also lists all the URLs that Demantra uses.
This chapter covers the following topics:
Depending on how Demantra is configured, it needs some or all of the following items to be running:
Component | When needed | Details |
---|---|---|
Database | Always | Consult Oracle database documentation. |
Web server* | If solution uses any Web-based components | See documentation for the Web server. |
Workflow Engine | If workflows are being used | See “Managing Workflows”. |
Database procedures listed in “Recommended Procedure Scheduling” | Always | Usually run from within workflows; see “Managing Workflows” |
Possible other background processes | Varies | Contact the implementors of your Demantra system. |
*For best performance, run the server without any logging. |
You should also make sure you have details on the following topics:
The specific automated processes that the solution uses
How often the Analytical Engine runs
Any workflows that are in the solution
How many components have been defined and who owns them
You may periodically need to make adjustments in the following areas:
Area | Tool used | See |
---|---|---|
Maintaining users and user groups | Business Modeler | “Managing Security” |
Maintaining security of menus in all Web-based products | Collaborator Workbench Administrator | “Managing Security” |
Managing workflows | Workflow Manager | “Managing Workflows” |
Changing ownership of worksheets and deleting unused worksheets | Business Modeler | “Managing Worksheets” |
Note: For information on tuning the performance of the Analytical Engine, see “Tuning the Analytical Engine”.
Note: For information on other software configuration settings that affect performance, see the Oracle Demantra Installation Guide.
The data cleanup script allows users to safely remove data that is no longer needed. It may be used to partially remove data (such as anything older than two years, or all data associated with a particular item that’s not longer offered), or to perform a full cleanout of demo or test data from a pre-configured schema.
When a cleanup is performed with this script, configuration data (series, worksheets, levels, etc.) is normally preserved. Objects potentially affected by this process include data tables (mdp_matrix, sales data, GL data tables) and level members (mostly by cascade from the data tables). Most levels should and will be purged of their members, with the exception of default level members. Some levels must be protected, as they are generic to Demantra and not specific to the customer.
Note: This procedure is only intended for use by experienced consultants and should never be run on a production schema.
Before running the package:
Make sure to do a complete database backup before cleaning out data.
Make sure there are no active connections to the schema before executing these procedures.
Make sure the application server is shutdown before executing these procedures.
After running the package:
Issue a COMMIT to make sure all transactions are committed.
Notes about running the package:
Alias levels may create infinite loops on the level tree; currently the process will stop deleting data once it looped more times than the number of levels in the system.
There are some levels that are protected from being deleted, see the PROTECTED_OBJECTS table in the schema.
Objects that are not currently cleaned up are Worksheets, Users, Groups, Integration Profiles, Series, Series Groups, and Workflows.
Notes | This also calls clean_schema_int. |
Procedure | DATA_CLEANUP.clean_schema_temps( commit_point NUMBER DEFAULT DEFAULT_COMMIT_POINT ); |
Objects Affected | DB_EXCEPTION_LOG, INTEG_STATUS, AUDIT_PROFILES, AUDIT_TRAIL, AUDIT_PROFILE_USERS, E1_SALES, E1_BRANCH, E1_CUSTOMER, E1_ITEM, E1_ITEM_BRANCH, T_SRC_ITEM_TMPL, T_SRC_ITEM_TMPL_ERR, T_SRC_LOC_TMPL, T_SRC_LOC_TMPL_ERR, T_SRC_SALES_TMPL, T_SRC_LOC_TMPL_ERR |
Description | DROP_TEMPS(0) is the standard procedure to drop temporary tables created by worksheet runs.See additional objects in clean_schema_int. |
Command | EXECUTE DATA_CLEANUP.CLEAN_SCHEMA_TEMPS;COMMIT; |
Notes | This should not delete the default member 0 in each level. |
Procedure | DATA_CLEANUP.clean_level_data( commit_point NUMBER DEFAULT DEFAULT_COMMIT_POINT ); |
Objects Affected | SALES_DATA, MDP_MATRIX and the General Level data and matrix tables PROMOTION, PROMOTION_DATA and PROMOTION_MATRIX |
Description | Recursively deletes all members for level data except protected levels in PROTECTED_OBJECTS table and the default member . |
Command | EXECUTE DATA_CLEANUP.CLEAN_LEVEL_DATA;COMMIT; |
Notes | These are mainly created by Oracle EBS collections: |
Procedure | DATA_CLEANUP.clean_schema_int( commit_point NUMBER DEFAULT DEFAULT_COMMIT_POINT ); |
Objects Affected | DISPLAY_UNITS, REAL_VALUES (only update), DCM_PRODUCTS_UNITS, DCM_PRODUCTS_INDEX, INDEXES_FOR_UNITS, AVAIL_UNITS |
Description | Deletes levels from TGROUP_RES and removes the column from INPUTS. |
Command | EXECUTE DATA_CLEANUP.CLEAN_SCHEMA_INT;COMMIT; |
Anyone can log into any Web-based Demantra product if they have the uniform resource locator (URL) and the appropriate access. These URLs are based upon information that you provide during installation. Make sure all your users know the URLs that they will need.
This table shows the URLs to use to access Oracle Demantra functions. When you use this table, in place of:
frodo, pass the name of the Web server that runs the on which Oracle Demantra Web software
8080, pass the port number that you are using
demantra, pass the name of the virtual directory that is the root of the Oracle Demantra Web software
Direct Logins
You can log in directly to Oracle Demantra Collaborator Workbench and Demand Planner. Use this method, for example:
For internal integrations: For example, Oracle Advanced Planning Command Center and in demonstrations that embed Oracle Demantra within Oracle Siebel
When you want to embed Oracle Demantra within a web portal
This table shows the URLs to use to access direct login functions. When you use this table, in place of:
frodo, pass the name of the Web server that runs the on which Oracle Demantra Web software
8080, pass the port number that you are using
demantra, pass the name of the virtual directory that is the root of the Oracle Demantra Web software
After the table, there is an explanation of the parameters to use in each
Function | Example URL |
---|---|
Collaborator Workbench | http:// frodo:8080/demantra/portal/ directLogin.jsp?user=<username>&pass=<password> |
Demand Planner | http://frodo:8080/demantra/portal/partnerLogin.jsp[?user=<userID>&pass=<password>&…] |
This table lists the parameters that the Collaborator Workbench direct login function uses. Both parameters are mandatory and neither has a default value.
Parameter Name | Description |
---|---|
user | Username |
pass | Password of the user account |
This table lists the parameters that the Demand Planner direct function uses. All parameters are optional and none have a default value.
Parameter Name | Description |
---|---|
userID | Username |
pass | Password of the user account |
queryId | ID of worksheet to open |
combination | Additional filter for the worksheet. It contains the level ID. The separator between: - Member ID pairs is a semicolon - Level and member ID is a comma. |
This is an example of the parameters portion of a Demand Planner URL that passes all of the parameters
?user=mjackson&pass=thriller&queryId=11100&combination=424,3;492,4
If you pass:
No parameters: A page appears asking for the username and password
user and pass: The function automatically logs you on
user, pass, and queryID: The function automatically logs you on and opens the worksheet
All parameters: The function automatically logs you on, opens the worksheet, and filters the data using the member and level IDs specified
Running the Worksheets Window Applet as Standalone
Use this command line for running the Worksheets Window Applet as a standalone application.
<java_executable> -classpath <collaborator_jar_path> -Dname=<user_name> -Dpassword=<password> -Djava.security.policy=<policy_path> -DcodeBase=<server_codebase> -Xmx256M com.demantra.partner.client.main.PartnerApplet
For example
C:\j2sdk1.4.2_04\bin\javaw -classpath "D:\Builds\Collaborator623-dev\Build\WebFiles\demantra\portal\collaborator.jar" -Dname=dp -Dpassword=dp -Djava.security.policy=C:/java.policy -DcodeBase=http://frodo:8080/demantra/portal/ -Xmx256M com.demantra.partner.client.main.PartnerApplet
This table lists the parameters that the Worksheets Window Applet as Standalone function uses. All parameters are optional and none have a default value.
Parameter Name | Description |
---|---|
-Dname | Username |
-Dpassword | Password of the user account |
–DsessionId | Session ID |
If you pass:
No parameters: A page appears asking for the username and password
-Dname and -Dpassword: The function automatically logs you on
–DsessionId : The function binds to the existing session. You can pass the correct -Dname and -Dpassword for the session, but you do not have to.
Use executable javaw to suppress the black console window.
For your reference, Demantra writes the following log files and tables:
Table or file | Purpose |
---|---|
import.log | Information on the import process of the dump file. |
DB_EXCEPTIONS_LOG | Errors detected when stored procedures are run; this information is displayed in the Business Modeler. |
build_procedure.log | Information on the loading of the procedures into the new user. |
upgrade.log | Information on the database upgrade process. |
You can modify the default location of log files when running the Demantra Installer. Click "Configure Log” after launching the installer enables you to specify the log level, the log filename, and the directory to where log files are written.
The default location of these files is (Demantra_root)\DemandPlanner\Database Objects\Oracle.
If you are using JRun as the Web server, note that all the JRun logs are in the directory JRun4\logs. All Demantra exceptions are written to default-err.log. You should delete all these log files before restarting the application server. You may want to back up the files first to another folder.
Note: If the server is running, you will not be able to delete some of the files because they are in use. You can instead clear the log files as follows: open each file, select all text with ctrl+A, and delete the text and save the file.
Within Demantra, do not use the following special characters:
Single quote (')
Double quote (")
If you use these characters, unexpected results may occur.
The Oracle Demantra Installation Guide lists third-party software with which Demantra works. It may be useful to review this information.