During up.time's installation, one of three deployment templates was selected, depending on the size of your monitored environment. The choice determined how certain resources were allocated, and subsequent hardware requirements:
| Deployment Template | Elements | Minimum RAM | Minimum CPU Type |
|---|---|---|---|
| Small | <100 | 2 GB | 2-core CPU |
| Medium | 250–1000 | 16 GB | 6-core CPU |
| Large | 1000+ | 32 GB | 12-core CPU |
Each deployment template ensures the underlying configurations (for example, for the bundled MySQL database and JRE) match the likely resource demands to generate reports, dashboards, and perform queries. The following summarizes these configurations:
| Configuration Parameter | Small | Medium | Large |
|---|---|---|---|
| MySQL buffer pool size | 120 MB | 2 GB | 4 GB |
| MySQL log file size | 20 MB | 512 MB | 1 GB |
| MySQL maximum open connections | 151 | 201 | 301 |
| Java heap size | 1 GB | 2 GB | 4 GB |
| service threads | 50 | 100 | 200 |
| Data Collector maximum open connections | 100 | 150 | 250 |
| up.time Controller heap size | 512 MB | 1 GB | 2 GB |
After initial installation, if you need to accommodate a larger number of monitored Elements, you can manually change the deployment templates using one of two methods:
The first, more direct, option is to individually modify parameters that make up a template. This allows you to deviate somewhat from the prescribed configuration values for a template:
| Configuration Parameter | Configuration File and Location (relative to the up.time directory) | Parameter Name | Default Deployment Values | |
|---|---|---|---|---|
| MySQL buffer pool size | /mysql/my.ini | innodb_buffer_pool_size= |
| |
| MySQL log file size | /mysql/my.ini | log_file= | 20M512M1G | |
| MySQL maximum open connections | /mysql/my.ini | max_connections= | 151201301 | |
| Java heap size | Linux: Windows: | Linux: Windows: | Linux: | Windows: |
| service threads | /uptime.conf | serviceThreads= | 50100200 | |
| Data Collector maximum open connections | /uptime.conf | connectionPoolMaximum= | 100150250 | |
| up.time Controller heap size | Linux: Windows: | Linux: Windows: | -Xmx512m-Xmx1024m-Xmx2048m | |
The recommended option to change a deployment template is to use the sample configuration files that are found in the <uptimeInstall>/sample directory as a starting point. This option moves you to a different deployment template in the least amount of steps.
Update the DataStore configuration:
ib_logfile0 and ib_logfile1 files, found in the <uptimeInstall>/datastore/data/ directory, to a backup location.my.ini configuration file, which is found in the <uptimeInstall>/mysql/ directory.<uptimeInstall>/sample/<size>/<os>/my.ini template file to the <uptimeInstall>/mysql/ directory, replacing the existing one.my.ini file, replacing all $VARIABLE$ instances with values that match your up.time deployment (for example, $DATASTORE_PORT$ and $USER_INSTALL_DIR$)Start the DataStore service
You can confirm the change was successful by referring to the <uptimeInstall>/datastore/data/<hostname>.err log. Look for output similar to the following:
140110 14:26:28 InnoDB: Initializing buffer pool, size = 2.0G 140110 14:26:29 InnoDB: Completed initialization of buffer pool 140110 14:26:29 InnoDB: Log file .\ib_logfile0 did not exist: new to be created InnoDB: Setting log file .\ib_logfile0 size to 512 MB InnoDB: Database physically writes the file full: wait... InnoDB: Progress in MB: 100 200 300 400 500 140110 14:26:33 InnoDB: Log file .\ib_logfile1 did not exist: new to be created InnoDB: Setting log file .\ib_logfile1 size to 512 MB InnoDB: Database physically writes the file full: wait... InnoDB: Progress in MB: 100 200 300 400 500 |
Update the up.time Data Collector configuration:
uptime.conf file, which is found in the <uptimeInstall>/ directory.uptime.jcnf on Linux, or UptimeDataCollector.ini on Windows), which is found in the <uptimeInstall>/ directory.uptime.conf, and uptime.jcnf or UptimeDataCollector.ini files from the <uptimeInstall>/sample/<size>/<os>/ directories to the <uptimeInstall>/ directory, replacing the existing ones.$VARIABLE$ instances with values that match your up.time deployment (for example, the $MS_STRING_FS$ classpath variable, and $DATASTORE_HOST$).Update the up.time Controller configuration:
start.sh script, which is found in the <uptimeInstall>/controller/service/ directoryUptimeController.ini configuration file, which is found in the <uptimeInstall>\controller\service directorystart.sh or UptimeController.ini file from the <uptimeInstall>/sample/<size>/<os>/ directory to the <uptimeInstall>/controller/service/ directory, replacing the existing one.$VARIABLE$ instances with values that match your up.time deployment.Update the up.time Web server:
php.ini up.time Web server configuration file, which is found in the <uptimeInstall>/apache/conf/ directory.php.ini file from the <uptimeInstall>/sample/<size>/<os>/ directory to the <uptimeInstall>/apache/conf/ directory, replacing the existing one.$VARIABLE$ instances with values that match your up.time deployment (for example, $USER_INSTALL_DIR$).