D
ddessertine
Guest
All systems are Ubunutu 16.04 LTS This is my node-config.json on my master : { "serverUrl": " 192.168.1.10:8080", "components": [{ "name": "MASTER", "type": "MASTER", "internalRoot": "/master", "externalRoot": "/master" }, { "name": "REST", "type": "REST", "internalRoot": "/rest", "externalRoot": "/rest" }, { "name": "ROUTER", "type": "ROUTER", "internalRoot": "/router", "externalRoot": "router" }, { "name": "WEBAPI", "type": "WEBAPI", "internalRoot": "/webapi", "externalRoot": "/webapi" } , { "name": "STORAGE", "type": "STORAGE", "internalRoot": "/storage", "externalRoot": "/storage" }, { "name": "SEARCH", "type": "SEARCH", "internalRoot": "/search", "externalRoot": "/search" }], "masterDB": { "driver": "com.mysql.jdbc.Driver", "url": "jdbc:mysql://rollbase-db:3306/RB_DBO", "user": "rollbase", "p455": "rollbase", "isExternal":"No", "poolType":"0", "minConnections":"1", "maxConnections":"10", "maxInUseTimeMins":"30", "maxNotUsedConnTimeMins":"2", "maxConnLifetimeMins":"60", "connTimeoutSec": "-1" }, "updateSharedProps": { "AdminEmail": "admin@test.local", "MailPort": "25", "MailUseSSL": "0", "MailTimeoutSec": "10", "MailHost": "smtp.host.test", "MailUser": "bvfebvfebv", "MailPassword": "fbvfbfdbedf", "SkipEmails": "true" }, "nodeProps": { "FontDirs": "", "StorageDir": "", "LogDir": "", "IndexDir": "" }, "webProxies": [http://192.168.1.100:9080], "databases": [] } node-config.json on my prod server { "serverUrl": " 192.168.1.20:8080", "components": [{ "name": "PROD1", "type": "PROD", "internalRoot": "/prod1", "externalRoot": "/prod1" }], "updateSharedProps": { }, "nodeProps": { "FontDirs": "", "StorageDir": "", "LogDir": "", "IndexDir": "" }, "webProxies": [], "databases": [] } cluster-config.xml on both server : rb_global 5701 true 192.168.1.10;192.168.1.20 rb_global rb_global 5 300 30 450 false true com.rb.util.engine.services.cluster.hazelcast.HazelcastMembershipListener 0 false 3 and prod-cluster-config.xml on prod server : PROD1 5703 true 192.168.1.20 PROD1 PROD1 5 300 30 450 false true 3 I installed nginx on another server, woriking with ports 9080 and 80 opened
Continue reading...
Continue reading...