Help needed with node-config on multiple server - Forum - Rollbase - Progress Community

Help needed with node-config on multiple server

 Forum

Help needed with node-config on multiple server

This question is answered

Hello,

I'm having troubles to start multiple servers like in the documentation (https://documentation.progress.com/output/rb/doc/index.html#page/rb%2Fdistributing-load-with-nginx-and-tomcat.html%23)

I'm on Ubuntu-server 16.04 LTS

I can run a standalone rollbase againt mysl database with only master.war, router.war, rest.war and webapi.war without problems (or all components for other tests)

I wan't to add a production server, so I put the prod1.war in an other server, call it PROD1 in the node-config.json but it never join the master, rb-system.log put "Blocking initialization"

I don't know how to do.

This is my node-config.json 

{
    "serverUrl": "http://localhost: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": "PROD1",
        "type": "PROD",
        "internalRoot": "http://192.168.1.20:8080/prod1",
        "externalRoot": "/prod1"
    }],
    "masterDB": {
        "driver": "com.mysql.jdbc.Driver",
        "url": "jdbc:mysql://rollbase-db:3306/RB_DBO",
        "user": "user",
        "p455": "pwd",
        "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.com",
        "MailUser": "qrgerqbfebfdbfdb",
        "MailPassword": "qdfbdfqbrhbrgh",
        "SkipEmails": "true",
        "GoogleUserName": "",
        "GoogleRefreshToken": "",
        "GoogleClientId": "",
        "GoogleClientSecretKey": "",
        "AutoReplyAddress": "",
        "EmergencyAddress": "",
        "Copyright": "Copyright \u00A9 1993-2018 Progress Software Corporation. All rights reserved.",
        "ForumURL": "community.progress.com/.../25.aspx",
        "FastTrackPage": "documentation.progress.com/.../rb",
        "SupportURL": "www.progress.com/support-and-services",
        "LinkPrivacy": "www.progress.com/privacy",
        "LinkTerms": "www.progress.com/terms-of-use",
        "TitleTemplate": "{!R} | {!O} | {!S}",
        "WebSiteHTTP": "http:///localhost:8080",
        "WebSiteHTTPS": "https://localhost:8443",
        "CleanupMins": "30",
        "SQLKeywords": "FUNCTION,MULTISET,CASCADED,ROW,PRECISION,CURRENT_TRANSFORM_GROUP_FOR_TYPE,CONTAINS,DEREF,DO,CONDITION,NOT,UNDO,EXCEPT,FOREIGN,PRIVILEGES,ACTION,CHARACTER,MONTH,CREATE,ARE,USING,TIMEZONE_MINUTE,BEGIN,LOOP,RETURN,ELEMENT,GET,GOTO,HANDLER,BLOB,PRESERVE,ASC,GROUPING,STATIC,TRANSACTION,KEY,ELSE,TRAILING,CATALOG,INT,RECURSIVE,VALUE,ROLLBACK,BREADTH,TRANSLATE,SQL-99,DEPTH,TABLESAMPLE,RESTRICT,LEADING,SQL-92,RESIGNAL,REAL,GENERAL,GROUP,INTERSECT,LANGUAGE,FETCH,OUT,LEVEL,READ,INSENSITIVE,NONE,CURRENT_ROLE,USER,TRIM,DESCRIBE,WITHIN,SEARCH,REPEAT,SYSTEM_USER,CALL,LOWER,GO,END,CONSTRAINT,CONSTRUCTOR,SIZE,DYNAMIC,TIMEZONE_HOUR,ALTER,OPTION,IDENTITY,NCHAR,CURRENT_USER,ONLY,EXECUTE,ASSERTION,CLOB,INPUT,TABLE,VARCHAR,SESSION_USER,FLOAT,ASYMMETRIC,SUM,CURRENT_PATH,CHAR_LENGTH,POSITION,NCLOB,ASENSITIVE,INOUT,AT,TIME,DESCRIPTOR,AS,FREE,THEN,COLLATION,SQLEXCEPTION,AVG,LEFT,ZONE,SIGNAL,COLUMN,EXISTS,RETURNS,LIKE,COLLATE,ADD,INTEGER,OUTER,STATE,BY,DEFERRABLE,WHENEVER,TO,OVERLAPS,DISCONNECT,MERGE,CHARACTER_LENGTH,SET,RIGHT,RESULT,RELATIVE,EXEC,HAVING,SESSION,MIN,HOUR,MODULE,UNION,CURRENT,COMMIT,ITERATE,SCHEMA,DECIMAL,CLOSE,DROP,BIGINT,WHEN,SQLCODE,READS,ROWS,START,DECLARE,ROUTINE,BIT,LARGE,REVOKE,NATURAL,PUBLIC,BETWEEN,PRIOR,FIRST,CAST,PREPARE,EXTERNAL,WHILE,ALLOCATE,SETS,DETERMINISTIC,VARYING,TRIGGER,CURRENT_TIME,SPECIFICTYPE,CASE,SQLERROR,NEW,CHAR,DEALLOCATE,MODIFIES,DAY,COUNT,BIT_LENGTH,EQUALS,CASCADE,false,RELEASE,LEAVE,SQL,CONNECTION,FULL,SQLWARNING,ESCAPE,INSERT,SYSTEM,CONNECT,PATH,SAVEPOINT,PARAMETER,CURRENT_DEFAULT_TRANSFORM_GROUP,BOTH,DOUBLE,SYMMETRIC,EACH,LAST,WORK,SELECT,INTO,ARRAY,EXCEPTION,EXIT,UNIQUE,COALESCE,SECOND,VIEW,ROLE,SECTION,ROLLUP,WITHOUT,NULL,PAD,NO,ON,OLD,SENSITIVE,MATCH,PRIMARY,DELETE,NUMERIC,LOCAL,OF,NAMES,ORDINALITY,SPECIFIC,CUBE,true,UNTIL,NATIONAL,CALLED,OR,FILTER,CHECK,FROM,TEMPORARY,CURSOR,DISTINCT,UNNEST,OUTPUT,TIMESTAMP,CURRENT_DATE,ATOMIC,UPPER,OVER,WHERE,DEC,CONSTRAINTS,NULLIF,DIAGNOSTICS,MEMBER,INNER,YEAR,ORDER,AUTHORIZATION,CYCLE,UPDATE,MAX,SQLSTATE,DEFERRED,FOR,HOLD,AND,SPACE,SCROLL,CROSS,LOCALTIMESTAMP,INTERVAL,USAGE,OCTET_LENGTH,IF,UNDER,BOOLEAN,IN,UNKNOWN,SCOPE,OBJECT,CONTINUE,LOCATOR,REFERENCES,PARTITION,IS,SOME,ALL,NEXT,EXTRACT,CURRENT_TIMESTAMP,SUBMULTISET,PARTIAL,WITH,INITIALLY,ISOLATION,SQL-2003,GRANT,LATERAL,CONVERT,INDICATOR,DEFAULT,VALUES,RANGE,BEFORE,AFTER,TRANSLATION,WRITE,PROCEDURE,JOIN,LOCALTIME,SIMILAR,DOMAIN,CORRESPONDING,SUBSTRING,REFERENCING,REF,ELSEIF,OPEN,ANY,MAP,FOUND,IMMEDIATE,WINDOW,DESC,BINARY,DATE,GLOBAL,MINUTE,ABSOLUTE,METHOD,TREAT,DATA,SMALLINT",
        "MarketplaceURL": "localhost:8080/.../",
        "CreateNewAppVideoURL": "documentation.progress.com/.../RB_quick_create.html",
        "CustomizeAppVideoURL": "documentation.progress.com/.../RB_customize_ovr.html",
        "NavAppVideoURL": "documentation.progress.com/.../RB_ux_ovr.html",
        "ShareYouAppVideoURL": "documentation.progress.com/.../RB_share_ovr.html",
        "VideosWebinarsURL": "www.progress.com/video
        "ProgressDataServiceCORSHost": "",
        "HostName" : "localhost:8080"
    },
    "nodeProps": {
        "FontDirs": "",
        "StorageDir": "",
        "LogDir": "",
        "IndexDir": ""
    },
    "webProxies": [],
    "databases": []
}
Thanks for your help.
David
All Replies
  • Seems some firewall settings issue. Make sure that 5701, 5702, 5703… and other required ports are open in both the machines.
     
    29-Aug-2018 12:43:59.357 INFO [hz.rb_global.cached.thread-3] com.hazelcast.nio.tcp.TcpIpConnector.null [192.168.1.20]:5701 [rb_global] [3.10] Could not connect to: /192.168.50.21:5701. Reason: SocketException[Connection refused to address /192.168.50.21:5701]
     
    Thanks,
    Srinivas
     
  • Ok. I see. I expose my port but it seems it didn't work. I'm on docker for testing prupose.

    I'll try in an other environnement in order to have more features to diagnose firewall, ...

    Thanks a lot.

    Regards

    David