| | 86 | |
| | 87 | == Setting up a loading machine == |
| | 88 | |
| | 89 | Although this can be changed in the config file, {{{ippToPsps}}} uses a 'scratch' MySQL database on {{{localhost}}} while processing. So, to run {{{ippToPsps}}} a local MySQL server should be up-and-running, with a database created as the {{{ipp}}} user for use by {{{ippToPsps}}}. The default name for this is {{{ipptopsps_scratch}}}. |
| | 90 | |
| | 91 | Because {{{ippToPsps}}} uses this local database as a scratch database, there are large number of inserts and deletions, meaning large log files. For this reason, it is important to configure MySQL to store its data on a local partition, and not {{{/var}}} as is the default. For example, on {{{ipp005}}}: |
| | 92 | |
| | 93 | {{{ |
| | 94 | /var/lib/mysql |
| | 95 | }}} |
| | 96 | |
| | 97 | was moved to: |
| | 98 | |
| | 99 | {{{ |
| | 100 | /export/ipp005.0/mysql |
| | 101 | }}} |
| | 102 | |
| | 103 | In addition, it is prudent to decrease the default MySQL log-retention period from 90 days to 1 day. This is done is in |
| | 104 | |
| | 105 | {{{ |
| | 106 | /etc/mysql/my.cnf |
| | 107 | }}} |
| | 108 | |
| | 109 | on the line |
| | 110 | |
| | 111 | {{{ |
| | 112 | expire_logs_days = 90 |
| | 113 | }}} |