Load Metadata Using Angles for Oracle Generator Service
Overview
This chapter provides information about how to load and reload the metadata cache, and cancel the metadata cache load by using the Angles for Oracle Generator Service.
Loading Metadata Cache
About Metadata Cache
The metadata cache is a folder into which the metadata is loaded with the help of the Angles for Oracle Generator Service and stored as an XML-based repository. The repository is a set of XML files that describe the NoetixViews, Noetix Analytics, or RapidDecision presentation layer objects. Depending on user permissions, the presentation layer objects are available for use in the Angles for Oracle Generator..
Prerequisites for Loading Metadata Cache
The prerequisites for loading the metadata cache are as follows:
- For NoetixViews
- The Noetix Answer Builder has been run.
- A BI tool user and the BI tool have been registered in the Noetix Views Administrator (NoetixViews Administrator).
- For Noetix Analytics
- NOETIXODS and NOETIXDM have been set up.
- To load the metadata at the command line, make sure that the data source is set up through the Noetix Data Source Administrator.
- For RapidDecision
- RapidDecision data marts should be setup prior to initial generation.
- The IDS schema is populated with RapidDecision metadata.
- To load the metadata at the command line, make sure that the data source is set up through the Noetix Data Source Administrator.
Load Metadata Cache
The following step-action table contains the procedure for loading the NoetixViews, Noetix Analytics, or RapidDecision metadata into the metadata cache through the Noetix Data Source Administrator.
Step | Action |
1. | Select Start > All Programs > Angles for Oracle Generator Service > Data Source Administrator. The Noetix Data Source Administrator is displayed. |
2. | In the Data Sources, select a data source pertaining to the NoetixViews, Noetix Analytics, or RapidDecision instance. You can load multiple data sources; the metadata is loaded in the sequence in which the data sources appear in the Data Sources. |
3. | In the Data Source Load Tasks, select Validate Metadata. The metadata validation tests will be run prior to the running of the load process. We recommend that you select the check box to determine that no outstanding issues are present. |
4. | Select the Load Metadata check box, and select the Full option.
|
5. | Make sure that the Force Metadata Reload check box is not selected. The check box should be selected only if the metadata needs to be reloaded though no changes have been made to the metadata objects. |
6. | Select Load. A message appears stating that the selected tasks will be performed for the selected data source. |
7. | Select OK. The metadata load starts, and log messages are displayed in the Loader area. After the load process is complete, a message in the Loader area states that the load has been completed successfully. The messages will be logged in the loader.log file. For information, see Appendix A. |
Load Metadata Cache at Command Line
The procedure to load metadata cache at the command line is as follows:
- At the command prompt, navigate to the folder where the Angles for Oracle Generator Service is installed, and run the following:
<installation_home>\Noetix\Angles for Oracle Generator Service\loader.exe
<data_source>
For example:
loader.exe NoetixViews6.6
The messages will be logged in the loader.log file. For information, see Appendix A.
You can provide multiple data sources separated by a space. The metadata load for the selected data source begins, and log messages are displayed. After the load, a message will indicate if the load was successful.
Reloading Metadata Cache
When to Reload Metadata Cache
The metadata cache needs to be reloaded whenever the objects or security for NoetixViews or objects for Noetix Analytics and RapidDecision are modified. The Noetix Data Source Administrator will reload metadata only when a change is detected in the NoetixViews, Noetix Analytics, or RapidDecision metadata.
Schedule Reloads of Metadata Cache
You can schedule reloading of metadata cache at the command line with the use of the Task Scheduler of the Windows operating system. For information about how to use the Task Scheduler, see the Microsoft documentation.
Reload Metadata Cache
The following step-action table contains the procedure to reload the metadata cache with the use of the Noetix Data Source Administrator.
Step | Action |
1. | On the Noetix Data Source Administrator window, in the Data Source, select the data source pertaining to the required metadata instance. |
2. | Optionally, update the metadata cache file root path and the metadata cache purge delay in minutes in the Tools > Options > Options dialog box. The metadata cache file root path refers to path that you provide while installing the Angles for Oracle Generator Service. The metadata cache purge delay indicates the number of minutes prior to when the previously loaded metadata cache is considered stale and is purged during a subsequent cache reload operation. |
3. | Perform steps 3 through 7 mentioned in the Load Metadata Cache section. |
Reload Metadata Cache at Command Line
To reload the metadata cache at command line, perform the steps outlined in Load Metadata Cache at Command Line.
Canceling Metadata Load
When to Cancel Metadata Load
The metadata load can be canceled if the role or module selection is incorrect, the information provided in the Data Query Source tab is incorrect, or an incorrect metadata load option has been selected.
Cancel Metadata Load
The following step-action table contains the procedure to cancel the metadata load.
Step | Action |
1. | In the Noetix Data Source Administrator window, under Loader, select Abort. A message appears prompting you to confirm the load cancellation. |
2. | Select Yes. The metadata load is canceled, and log messages indicating the load cancellation are displayed in the Loader area. The messages are also logged in the <installation_folder_of_Noetix_Generator_Service>\Angles for Oracle Generator Service\logs\loader.log. |