-
Notifications
You must be signed in to change notification settings - Fork 1
Multi Site Instance Discord Uploading
If you want to upload to Sequenzia from multiple sites or instances, you would want to setup another Framework + MQ locally on each site.
NOTICE: If you just to run another FileWorker within the same site then you will want to enable external access and use the 'External Database' guide to configure, Then just start the FileWorker on that host.
This guide only applies if you are attempting to upload from completely separate locations/sites/cloud zones.
You will need to start your main server with external access enabled. This will expose the database and MQ ports, You are responsible for applying host firewall rules and or setting up a VPN/LANTIS Uplink
Start Sequenzia with External Access:
./sequenzia mode external
./sequenzia start
Ports:
- 3306 (MySQL)
- 5672 (MQ)
- Optional -
15672
, this is the MQ Web Interface that can be used to configure shovels and debug
- Follow the "Prerequisites" and "Download the Compose Scripts" on the new host
- Modify the environment file in
common/config/user-config.env
- Replace
hostname
with the IP, FQDN, or localhost if your running LANTIS locally - Add port numbers if they are not the default
-
SYSTEM_NAME
should be unique
SYSTEM_NAME='SITE-B'
DATABASE_HOST='hostname'
DATABASE_NAME='kanmi_system'
DATABASE_USERNAME='kanmi'
DATABASE_PASSWORD='PAssword'
WAIT_HOSTS='hostname:3306, mq.backend.acr:5672'
- Modify the user configuration in
common/config/user-config.json
- The following MUST be added otherwise the systems will fight with each other!
- Home guild should match your main instance
"DiscordHomeGuild": "991736826568134797",
"Discord_Upload_Only": true
Start Kanmi as Core + FileWorker:
./sequenzia mode uploader
./sequenzia start
You can enable Insights for other sites running the following commands from #console
juzo SITE-B status enable #dashboard
You can configure Discord_Insights_Custom_Image_URL
in user-config.json
to set a custom footer image for this site
Other FileWorkers on the same site can be configured by using the main instances SQL server and the new sites MQ. Refer to External MQ or SQL Database
for configuration.
Sequenzia is a trademark of Digital Artifacts (Parent of Academy City Research)