...
Code Block |
---|
cd ~ # get release and untar it wget opFlow-release.tgz tar -zxvf opFlow-release.tgz # make a backup of existing installation cp -r /usr/local/opmantek /usr/local/opmantek-DAY-MON-YEAR # stop the existing daemon so update can happen service opflowd stop # update the files cp -r ./opmantek/* /usr/local/opmantek/* |
opFlow database now uses capped sizes, please adjust the following config settings to make sure they fit on your partition and are the size you want: (the defaults are listed)
Code Block |
---|
'opflow_db_conversation_collection_size' => 16106127360, #15G
'opflow_db_flow_collection_size' => 5368709120 # 5G |
Now run the setup tool:
Update the config:
Code Block |
---|
/usr/local/opmantek/bin/opupdateconfig.pl /usr/local/opmantek/install/opFlow.nmis /usr/local/opmantek/conf/opFlow.nmis
|
Code Block |
/usr/local/opmantek/bin/opflow_setupopupdateconfig.pl setup=db_config |
Inspect the output and be sure you have configured the sizes the way you want. If you are unsure of the current size running opflow_setup.pl setup=db_config will inform you.
/usr/local/opmantek/install/opCommon.nmis /usr/local/opmantek/conf/opCommon.nmis |
opFlow database now uses capped sizes, please adjust the following config settings to make sure they fit on your partition and are the size you want: (the defaults are listed)
Code Block |
---|
'opflow_db_conversation_collection_size' => 16106127360, #15G
'opflow_db_flow_collection_size' => 5368709120 # 5G |
Now run the setup tool: When you are happy with your configuration, re-run the setup tool with force=1: (this may take some time to complete if your existing database is large)
Code Block |
---|
/usr/local/opmantek/bin/opflow_setup.pl setup=db_config force=1 |
Now update the configuration files run the following commands to do that.
Inspect the output and be sure you have configured the sizes the way you want. If you are unsure of the current size running opflow_setup.pl setup=db_config will inform you.
When you are happy with your configuration, re-run the setup tool with force=1: (this may take some time to complete if your existing database is large)
Code Block | ||
---|---|---|
Code Block | ||
| ||
/usr/local/opmantek/bin/opupdateconfig.pl /usr/local/opmantek/install/opFlow.nmis /usr/local/opmantek/conf/opFlow.nmis /usr/local/opmantek/bin/opupdateconfigopflow_setup.pl /usr/local/opmantek/install/opCommon.nmis /usr/local/opmantek/conf/opCommon.nmis setup=db_config force=1 |
Now update the configuration files run the following commands to do that.
Code Block | ||
---|---|---|
| ||
/usr/local/opmantek/bin/opflow_setup.pl setup=all service opflowd start |
...