Note:

This exercise should be performed on a test version of a Global Manager. Before starting this exercise, back up the repository on the test Global Manager.

The dynamic model enhancements must be loaded into the Global Manager. Otherwise, the Global Manager has no awareness of the new SM_Printer class.

To compile and load the dynamic model into the Global Manager:

  1. Copy Example1.mdlfrom the IP Manager’s BASEDIR/smarts/local/modeldirectoryto the Service Assurance Manager’s BASEDIR/smarts/local/modeldirectory.

  2. From the Service Assurance Manager’s BASEDIR/smarts/local/model directory, run the command to compile the Example1.mdl model file:

                   # 
    		
                   cd
                   BASEDIR
                   /smarts/local/model
                   # 
    		
                   BASEDIR
                   /smarts/bin/dynmodel Example1.mdl
                
  3. Load the compiled dynamic model file into the test Global Manager.

    t# 
    		
                   BASEDIR
                   /smarts/bin/sm_server -n TEST_SA -c ics 
                   
                    --broker=localhost:426 --output --dynamics 
    

    This example registers TEST_SA with the Broker that is running on the host named “localhost” and port 426. Substitute the host and port of your Broker if they are different.