Command Line Utilities Reference

Control Center Director provides utilities and functionality to allow all administrative operations to be performed via scripts.
Note: Utilities listed below require root privileges to be executed.

Control Center Director supports script-based configuration and most of its software runs as a service after installation is complete. The utility scripts come handy and allow users to manually perform functions like stopping the Web Server, Starting Engine etc. For example, administrators can use config.sh utility to configure components such as SQL database by executing this script that comes bundled with the product software.

The default location for the configuration setup script is: /<installationdirectory>/bin directory.

The following table provides a summary of the utilities (.sh and .bat) and their functions.

Table 1.
Utility Purpose
startWebServer Reads the configuration file for the Web server process and starts the server process.
stopWebServer Reads the configuration file for the Web server process and starts the server process.
showProcs Displays all Control Center Director processes running in your environment.
killProcs You might want to stop the Control Center Director components and system to carry out some system maintenance.

Use KillProcs.sh to terminate all Control Center Director processes running in your environment.

stopEngine.sh Reads the configuration file for the Engine/Web Server process and stops the Control Center Director Engine and Web Services process.
stopEngine.bat Reads the configuration file for the Engine process and stops the Control Center Director Engine process.

To stop Web Services invoke stopWebServer.bat.

runEngine Reads the configuration file for the Engine/Web Server process and starts the Control Center Director Engine and Web Services process.
config Invoke this script to set up Control Center Director and its components.
runDataCollector

The Data Collector script extracts the current state of your Control Center Director deployment to help IBM Support troubleshoot an issue.

It collects logs, configurations, system metrics, and performs backup of the database without interrupting its operations.

A separate archive is created each time that this utility is run, in the format CCDdataTimeStamp.zip, multiplying the disk space requirements.
Note: Ensure that you have sufficient free disk space (at least 1GB), as the amount of data that is collected can be large.
createTestCA Invoke this utility to create a Certificate Authority and use it to sign own certificates.

Administrators can invoke this script in testing scenarios to create a CA signing certificate and use it to sign certificates.

exportCDServersFromICC

This utility exports all of your Server configuration data from a source IBM® Control Center instance.

The format of the exported data is an XML-type format and each record in the exported data corresponds to a configuration record in the IBM Control Center configuration database.

importServers This utility imports the same XML type formatted data used by exportCDServersFromICC into Control Center Director.
exportCDServersFromCCD

This utility exports all of your Server configuration data from a source Control Center Director instance.

The format of the exported data is an XML-type format and each record in the exported data corresponds to a configuration record in the Control Center Director configuration database.