8.4.3 Loading Scenario Metadata
The sm_load.sh script loads translated XML table data files into the target database.
Note:
To avoid corrupting the Behavior Detection process, never load scenarios while the process is running.- Navigate to the following directory:
cd <OFSAAI Installed Directory>/db_tools
. - Optional: Edit the metadata configuration files (that
is, scnros.cfg, dataset.cfg, and network.cfg) with identifying information for
the scenarios, datasets, or networks that you want to load:
- <scnro_ctlg_id> in the scnros.cfg file and/or
- <scnro_id> in the scnros.cfg file
Note:
Providing both <scnro_ctlg_id> and <scnro_id> in the scnros.cfg file allows finer granularity when loading scenarios. You must separate values with a period per line. - <data_set_id> in the dataset.cfg file
- <network_id> in the network.cfg file
- Copy the XML files you plan to load into the directory that the load.dirname
specifies in the install.cfg file.
- (Optional) <Enter one of the user's choices while performing this step.>
- (Optional) <Enter another of the user's choices while performing this step.>
- Execute the sm_load.sh script:
- Enter sm_load.sh dataset to load dataset metadata.
- Enter sm_load.sh scenario to load scenario metadata.
- .Enter sm_load.sh network to load network metadata.