Install and start the CCMS Output Generator service (Linux)
This procedure describes how to install and start the IXIA CCMS Output Generator service on a Linux server.
About this task
Note: Some of these steps require root permissions.
Procedure
-
To customize the CCMS Output Generator
application name and description:
-
Open the CCMS Output Generator
outputgenerator.sh executable file
(located in the %OutputGenDir%/bin directory in a text
editor; for example, /opt/ixiasoft/OutputGenerators/prod_[version]/bin/outputgenerator.sh; where
[version] is replaced by the
current release version number).
If this is the first time that you are installing the CCMS Output Generator, open the outputgenerator.sh.empty file and save it as outputgenerator.sh (remove the .empty suffix).
-
Set the
APP_NAME
field to your application name:For example:
APP_NAME="OutputGenerator"
Note: Embedded space characters are not allowed. -
Set the
APP_LONG_NAME
field to the detailed name of the application:For example:
APP_LONG_NAME="Ixiasoft Output Generator"
-
Open the CCMS Output Generator
outputgenerator.sh executable file
(located in the %OutputGenDir%/bin directory in a text
editor; for example, /opt/ixiasoft/OutputGenerators/prod_[version]/bin/outputgenerator.sh; where
[version] is replaced by the
current release version number).
-
By default, the service is run as the default user. To run the
service as another user, uncomment and set the
RUN_AS_USER
field to the user name.For example:RUN_AS_USER=OutgenUser
Note: Make sure that the user has the required privileges to write to the logs, pid, and temp folders. - Save and close outputgenerator.sh.
-
To make all required files executable, run the fix-execution-bit.sh file located in the
%OutputGenDir%/bin directory of the CCMS Output Generator. For example:
sh /opt/ixiasoft/OutputGenerators/prod_[version]/bin/fix-execution-bit.sh
Where [version] is replaced by the current release version number.
- As root, install the system service:
/opt/ixiasoft/OutputGenerators/prod_[version]/bin/outputgenerator.sh install
Where
[version]
is replaced by the current release version number. - As root, reload the system configuration:
systemctl daemon-reload
- As root, start the CCMS Output Generator service:
systemctl start [APP_NAME]
Where [APP_NAME] is the name you set for the CCMS Output Generator service.
- To confirm that the CCMS Output Generator started correctly, open the %OutputGenDir%/logs/wrapper.log file.
For example:
You should see the following message:/opt/ixiasoft/OutputGenerators/prod_[version]/logs/wrapper.log
If this message is not displayed, the log should provide more information as to why the CCMS Output Generator cannot be started.CCMS Output Generator is ready to process requests