Opomba:
Before installing Performance Monitoring Toolset, ensure that you must install the package pmtagent using the ColdFusion Package Manager.
For a detailed guide to deploying Performance Monitoring Toolset on various ColdFusion nodes, see the Deployment guide.
Before installing, make sure that:
- The maximum count of open files must be more than 65536. Use the command, ulimit -n 65536.
- The maximum count of maps must be more than 262144. To increase the limit, use the command, sysctl -w vm.max_map_count=262144.
- A non-root user must exist.
Opomba:
For Mac OS, the steps are identical to Windows.
Creating the properties file
The silent.properties file is an ASCII text file that defines the installation parameters. Specify the details as provided in the file. Select only the ones that apply to your installation type.
Saving the properties file
You can use a different name or save it in a different directory.
If you require more than one installer properties file, give each file a descriptive name.
Running the installer
You can run the silent installer in one of the following ways:
- Through the command line.
- Through a batch file or script.
The following table lists the command line options of running the installer on different operating systems.
OS |
Command |
UNIX |
./ColdFusion_2021_PerformanceMonitoringToolset_WWEJ_Linux64.bin [-f propertiesFilePath] |
Windows |
ColdFusion_2021_PerformanceMonitoringToolset_WWEJ_Win64.exe [-f propertiesFilePath]. For example, if you want to install Performance Monitoring Toolset silently, run the command, ColdFusion_2021_PerformanceMonitoringToolset_WWEJ_Win64.exe -f silent.properties. |
# Inform installer to start in silent mode. INSTALLER_UI=SILENT # INSTALL_PMT is 1 if installer has to install Performance Monitoring Toolset component. Otherwise, INSTALL_PMT is 0. # If you install the Performance Monitoring Toolset component, it needs to connect to Datastore, which is either located in local (INSTALL_DATASTORE=1) or remote (INSTALL_DATASTORE=0). INSTALL_PMT=1 # Set the following variables only if INSTALL_PMT=1. # PMT_HOSTNAME must be either 127.0.0.1 or system hostname or system IP address # Default port is 9101. Port must be free. # Performance Monitoring Toolset service or process must be up and running to access Administrator Dashboard by URL http://PMT_HOSTNAME:PMT_PORT. PMT_HOSTNAME=127.0.0.1 PMT_PORT=9101 # Performance Monitoring Toolset Administrator Dashboard login credentials. USERNAME=admin PASSWORD=Test#1234 PASSWORD_CONFIRM=Test#1234 # Set INSTALL_DATASTORE to 1 if installer has to install DataStore. Otherwise INSTALL_DATASTORE is 0. INSTALL_DATASTORE=1 # If INSTALL_DATASTORE=1, the following two variables used for local installation. Otherwise, they are used to connect to remove the Datastore. # 127.0.0.1 or 0.0.0.0 are not allowed as Hostname. Hostname should be either system hostname or IP address # The default port is 9200. Port must be free. DATASTORE_HOSTNAME=HostNameorIPAddressoftheSystem DATASTORE_PORT=9200 DATASTORE_PORT_CLUSTER=9300 # OPTIONAL PROPERTIES # The location to install Performance Monitoring Toolset # Windows default location USER_INSTALL_DIR=C:\\ColdFusion2018PerformanceMonitoringToolset # Mac OS X default location # USER_INSTALL_DIR=/Applications/ColdFusion2018PerformanceMonitoringToolset # Linux or Solaris default location # USER_INSTALL_DIR=/opt/coldfusion2018performancemonitoringtoolset # ONLY for Linux and Solaris platforms. # Make sure a runtime user exists in the system. # Setting "nobody" as a default username as it is the least privileged account in Linux and Solaris platforms. # RUNTIME_USER=nobody