Template:OXRegister: Difference between revisions
No edit summary |
No edit summary |
||
Line 24: | Line 24: | ||
{{#if:{{{globaldb|}}}| | {{#if:{{{globaldb|}}}| | ||
'''Note 3:''' | '''Note 3:''' | ||
Take into account that | Take into account that a global database is needed in order to store | ||
data across context boundaries. Please | data across context boundaries. Please see [[AppSuite:CrossContextDatabase|this documentation]] on how to register it. | ||
|}} | |}} |
Latest revision as of 11:57, 6 August 2015
Next we have to register the local server at the Open-Xchange configdb database:
$ /opt/open-xchange/sbin/registerserver -n oxserver -A oxadminmaster -P admin_master_password
Now we have to create a local directory that should be used as Open-Xchange filestore. This directory will contain all Infostore content and files attached to groupware objects. To maintain access by the Open-Xchange Groupware service, it is required to grant permissions to the open-xchange system user.
$ mkdir /var/opt/filestore $ chown open-xchange:open-xchange /var/opt/filestore
Now register the directory as a filestore at the Open-Xchange server:
$ /opt/open-xchange/sbin/registerfilestore -A oxadminmaster -P admin_master_password \ -t file:/var/opt/filestore -s 1000000
Note: You might want to adapt the value provided with -s, the "The maximum size of the filestore in MB", see registerfilestore --help.
Note 2: If you are setting up OX App Suite, you need a shared filestore accross your OX servers even though you do not plan to have the OX Files feature enabled for your customers.
Finally register the groupware database, this is a separated database where all groupware specific data is stored:
$ /opt/open-xchange/sbin/registerdatabase -A oxadminmaster -P admin_master_password \ -n oxdatabase -p db_password -m true