Generate the Tivoli Netcool Performance Manager common pack data model contents
by running the createmodel.bat command on a model
properties file, a Common Intermediate Format (CIF) file (.tnpmmodel).
Before you begin
To generate a model, you need a model properties file,
a Common Intermediate Format (CIF) file.
About this task
If the path to the CIF file (.tnpmmodel), or the model
properties file, contains special characters such as spaces, you must
enclose the path in quotation marks.
This task assumes the following
file locations:
- The CreateModel tool is installed in the C:\npm_app_studio\WirelessModelling_<version>-win32.win32.x86\CreateModel_<version> directory.
- A CIF file and a model properties file are stored in the C:\temp\Models directory.
For more information about the createmodel command,
see The createmodel command.
Procedure
- From the command line, go to the bin directory
by entering the following command:
cd C:\npm_app_studio\WirelessModelling_<version>-win32.win32.x86\
CreateModel_<version>\createmodel\bin
- Enter the following command on a single line:
.\createmodel.bat -generate -model C:\temp\Models\cif_file -properties
C:\temp\Models\model_name_model.properties {-overwrite}
Where:
- cif_file
- Name of the CIF file (.tnpmmodel).
Note: If you want to create
a merged model with raw, summary and busy hour models that you have
a created from a technology pack, you can specify the folder name
where the models are available instead of the cif_file name.
- model_name
- Name of the model that the model properties file describes.
If
the paths contain special characters, such as spaces, you must enclose
the path in quotation marks.
- The Tivoli Netcool Performance Manager common pack data model contents
are generated and placed in OUTPUT_DIR\PACK_SYMBOLIC_NAME_PACK_VERSION
Where:
- OUTPUT_DIR
- Maps to the OUTPUT_DIR property in the model.properties file.
- PACK_SYMBOLIC_NAME
- Maps to the PACK_SYMBOLIC_NAME property in
the model_name_model.properties file.
- PACK_VERSION
- Maps to the PACK_VERSION property in the model_name_model.properties file.