Skip to content

Facing service unavailable error while implementing load balanced architecture #112

Answered by dario-vega
Akshaykale84 asked this question in Q&A
Discussion options

You must be logged in to vote

Node.js application connection

        return new NoSQLClient({
            serviceType: ServiceType.KVSTORE,
            endpoint: process.env.NOSQL_ENDPOINT + ":" + process.env.NOSQL_PORT
	});

Deploy your cluster and start the HTTP proxy in the nodes.

Note: The Oracle NoSQL Database Proxy can run in one or multiple dedicated hosts. It can be hosted inside the nodes of the NoSQL Cluster.

e.g node1-nosql, node2-nosql, node3-nosql in my case, I am using the port 8080.

java -jar $KVHOME/lib/httpproxy.jar -helperHosts $KVHOST:5000 -storeName $KVSTORE -httpPort 8080 -verbose true

Test using curl for all nodes hosting a HTTP proxy node1-nosql, node2-nosql, node3-nosql

curl -v http://node1-nosq…

Replies: 7 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by dario-vega
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@dario-vega
Comment options

@Akshaykale84
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #111 on March 02, 2023 11:17.