Loading the dynamic model enhancements
If the new topology needs to be accessible by the
Global Manager
, then the dynamic model files must be loaded into the Global Manager
. In addition, the Global Manager
configuration file must be modified to subscribe to new events.BASEDIR is the directory for the .
To load the dynamic model enhancements into the
Global Manager
:- Copy the appropriate dynamic model files (.mdl files) to the ’sBASEDIR/smarts/local/modeldirectory.All subsequent steps refer to the copies of the dynamic model files in the ’sBASEDIR/smarts/local/modeldirectory.
- Remove any instances of the binary data type from the dynamic model files.
- Replace any instances of the byte data type with the int data type in the dynamic model files.
- Remove any instances of theexternalkeyword in the dynamic model files.
- Remove any problems or events in the dynamic model files.
- Compile the dynamic model files.For example, to compile the Example2.mdl dynamic model file:cdBASEDIR/smarts/local/modelBASEDIR/smarts/bin/dynmodel Example2.mdl
- Load the compiled dynamic model files into theGlobal Manager.For example:tBASEDIR/smarts/bin/sm_server -n TEST_SA -c ics--broker=localhost:426 --output --dynamics