Highly Available Notary Service Setup in Oracle RAC (Corda Enterprise)











up vote
0
down vote

favorite
1












Setting up the Notary Service for Oracle RAC (Corda Enterprise).



I need some help configuring Corda Enterprise in Oracle RAC (reference: "Highly Available Notary Service - Setting up the Notary Service": http://docs.corda.r3.com/running-a-notary-cluster/installing-the-notary-service.html).




  • Regarding the "msql" tag, is it possible to configure an Oracle RAC? Is there an "oracle" tag?


  • In the "notary" tag's "serviceLegalName" parameter where should I put the name of the Notary that the Nodes see (name of the Notary in NetworkMap)? "O = HA Notary"


  • For Oracle RAC can I follow this pattern? http://docs.corda.r3.com/running-a-notary-cluster/introduction.html


  • Can I configure the "worker 1" in Oracle RAC? How? -> myLegalName : "O=Worker 1, C=GB, L=London"


  • Do I maintain the configuration part below pointing to my Oracle database?



My Oracle database:



dataSourceProperties = {
dataSourceClassName = "oracle.jdbc.pool.OracleDataSource"
dataSource.url = "jdbc:oracle:thin:@xx.xx.xxx.xxx:1521:AAAAAAA"
dataSource.user = DEVBANCO1
dataSource.password = Password
}
database = {
transactionIsolationLevel = READ_COMMITTED
exportHibernateJMXStatistics = false
runMigration = false
schema = DEVBANCO1
}


My "node.conf":



myLegalName="O=Notary 2,L=London,C=GB"
notary {
validating=false
serviceLegalName="O=Notary,L=London,C=GB"
}
p2pAddress="notarydlt.corp:10008"
messagingServerAddress = "xx.xxx.xx.xxx:10006"
messagingServerExternal = false
rpcSettings {
address="xx.xxx.xxx.xxx:10004"
adminAddress="xx.xxx.xxx.xxx:10038"
}
rpcUsers=
dataSourceProperties = {
dataSourceClassName = "oracle.jdbc.pool.OracleDataSource"
dataSource.url = "jdbc:oracle:thin:@xx.xx.xxx.xxx:1521:AAAAAAA"
dataSource.user = DEVBANCO1
dataSource.password = Password
}
database = {
transactionIsolationLevel = READ_COMMITTED
exportHibernateJMXStatistics = false
runMigration = false
schema = DEVBANCO1
}
useTestClock = false
enterpriseConfiguration = {
externalBridge = true
mutualExclusionConfiguration = {
on = true
updateInterval = 20000
waitInterval = 40000
}
}
devMode=false
compatibilityZoneURL : "http://xx.xxxx.xxx.xxxx:8080/"
keyStorePassword = "cordacadevpass"
trustStorePassword = "trustpass"









share|improve this question
























  • Hi, my question was clear? Do you need some clarification to answer? Thanks for helping
    – Marcelo Nogueira
    Nov 8 at 13:47















up vote
0
down vote

favorite
1












Setting up the Notary Service for Oracle RAC (Corda Enterprise).



I need some help configuring Corda Enterprise in Oracle RAC (reference: "Highly Available Notary Service - Setting up the Notary Service": http://docs.corda.r3.com/running-a-notary-cluster/installing-the-notary-service.html).




  • Regarding the "msql" tag, is it possible to configure an Oracle RAC? Is there an "oracle" tag?


  • In the "notary" tag's "serviceLegalName" parameter where should I put the name of the Notary that the Nodes see (name of the Notary in NetworkMap)? "O = HA Notary"


  • For Oracle RAC can I follow this pattern? http://docs.corda.r3.com/running-a-notary-cluster/introduction.html


  • Can I configure the "worker 1" in Oracle RAC? How? -> myLegalName : "O=Worker 1, C=GB, L=London"


  • Do I maintain the configuration part below pointing to my Oracle database?



My Oracle database:



dataSourceProperties = {
dataSourceClassName = "oracle.jdbc.pool.OracleDataSource"
dataSource.url = "jdbc:oracle:thin:@xx.xx.xxx.xxx:1521:AAAAAAA"
dataSource.user = DEVBANCO1
dataSource.password = Password
}
database = {
transactionIsolationLevel = READ_COMMITTED
exportHibernateJMXStatistics = false
runMigration = false
schema = DEVBANCO1
}


My "node.conf":



myLegalName="O=Notary 2,L=London,C=GB"
notary {
validating=false
serviceLegalName="O=Notary,L=London,C=GB"
}
p2pAddress="notarydlt.corp:10008"
messagingServerAddress = "xx.xxx.xx.xxx:10006"
messagingServerExternal = false
rpcSettings {
address="xx.xxx.xxx.xxx:10004"
adminAddress="xx.xxx.xxx.xxx:10038"
}
rpcUsers=
dataSourceProperties = {
dataSourceClassName = "oracle.jdbc.pool.OracleDataSource"
dataSource.url = "jdbc:oracle:thin:@xx.xx.xxx.xxx:1521:AAAAAAA"
dataSource.user = DEVBANCO1
dataSource.password = Password
}
database = {
transactionIsolationLevel = READ_COMMITTED
exportHibernateJMXStatistics = false
runMigration = false
schema = DEVBANCO1
}
useTestClock = false
enterpriseConfiguration = {
externalBridge = true
mutualExclusionConfiguration = {
on = true
updateInterval = 20000
waitInterval = 40000
}
}
devMode=false
compatibilityZoneURL : "http://xx.xxxx.xxx.xxxx:8080/"
keyStorePassword = "cordacadevpass"
trustStorePassword = "trustpass"









share|improve this question
























  • Hi, my question was clear? Do you need some clarification to answer? Thanks for helping
    – Marcelo Nogueira
    Nov 8 at 13:47













up vote
0
down vote

favorite
1









up vote
0
down vote

favorite
1






1





Setting up the Notary Service for Oracle RAC (Corda Enterprise).



I need some help configuring Corda Enterprise in Oracle RAC (reference: "Highly Available Notary Service - Setting up the Notary Service": http://docs.corda.r3.com/running-a-notary-cluster/installing-the-notary-service.html).




  • Regarding the "msql" tag, is it possible to configure an Oracle RAC? Is there an "oracle" tag?


  • In the "notary" tag's "serviceLegalName" parameter where should I put the name of the Notary that the Nodes see (name of the Notary in NetworkMap)? "O = HA Notary"


  • For Oracle RAC can I follow this pattern? http://docs.corda.r3.com/running-a-notary-cluster/introduction.html


  • Can I configure the "worker 1" in Oracle RAC? How? -> myLegalName : "O=Worker 1, C=GB, L=London"


  • Do I maintain the configuration part below pointing to my Oracle database?



My Oracle database:



dataSourceProperties = {
dataSourceClassName = "oracle.jdbc.pool.OracleDataSource"
dataSource.url = "jdbc:oracle:thin:@xx.xx.xxx.xxx:1521:AAAAAAA"
dataSource.user = DEVBANCO1
dataSource.password = Password
}
database = {
transactionIsolationLevel = READ_COMMITTED
exportHibernateJMXStatistics = false
runMigration = false
schema = DEVBANCO1
}


My "node.conf":



myLegalName="O=Notary 2,L=London,C=GB"
notary {
validating=false
serviceLegalName="O=Notary,L=London,C=GB"
}
p2pAddress="notarydlt.corp:10008"
messagingServerAddress = "xx.xxx.xx.xxx:10006"
messagingServerExternal = false
rpcSettings {
address="xx.xxx.xxx.xxx:10004"
adminAddress="xx.xxx.xxx.xxx:10038"
}
rpcUsers=
dataSourceProperties = {
dataSourceClassName = "oracle.jdbc.pool.OracleDataSource"
dataSource.url = "jdbc:oracle:thin:@xx.xx.xxx.xxx:1521:AAAAAAA"
dataSource.user = DEVBANCO1
dataSource.password = Password
}
database = {
transactionIsolationLevel = READ_COMMITTED
exportHibernateJMXStatistics = false
runMigration = false
schema = DEVBANCO1
}
useTestClock = false
enterpriseConfiguration = {
externalBridge = true
mutualExclusionConfiguration = {
on = true
updateInterval = 20000
waitInterval = 40000
}
}
devMode=false
compatibilityZoneURL : "http://xx.xxxx.xxx.xxxx:8080/"
keyStorePassword = "cordacadevpass"
trustStorePassword = "trustpass"









share|improve this question















Setting up the Notary Service for Oracle RAC (Corda Enterprise).



I need some help configuring Corda Enterprise in Oracle RAC (reference: "Highly Available Notary Service - Setting up the Notary Service": http://docs.corda.r3.com/running-a-notary-cluster/installing-the-notary-service.html).




  • Regarding the "msql" tag, is it possible to configure an Oracle RAC? Is there an "oracle" tag?


  • In the "notary" tag's "serviceLegalName" parameter where should I put the name of the Notary that the Nodes see (name of the Notary in NetworkMap)? "O = HA Notary"


  • For Oracle RAC can I follow this pattern? http://docs.corda.r3.com/running-a-notary-cluster/introduction.html


  • Can I configure the "worker 1" in Oracle RAC? How? -> myLegalName : "O=Worker 1, C=GB, L=London"


  • Do I maintain the configuration part below pointing to my Oracle database?



My Oracle database:



dataSourceProperties = {
dataSourceClassName = "oracle.jdbc.pool.OracleDataSource"
dataSource.url = "jdbc:oracle:thin:@xx.xx.xxx.xxx:1521:AAAAAAA"
dataSource.user = DEVBANCO1
dataSource.password = Password
}
database = {
transactionIsolationLevel = READ_COMMITTED
exportHibernateJMXStatistics = false
runMigration = false
schema = DEVBANCO1
}


My "node.conf":



myLegalName="O=Notary 2,L=London,C=GB"
notary {
validating=false
serviceLegalName="O=Notary,L=London,C=GB"
}
p2pAddress="notarydlt.corp:10008"
messagingServerAddress = "xx.xxx.xx.xxx:10006"
messagingServerExternal = false
rpcSettings {
address="xx.xxx.xxx.xxx:10004"
adminAddress="xx.xxx.xxx.xxx:10038"
}
rpcUsers=
dataSourceProperties = {
dataSourceClassName = "oracle.jdbc.pool.OracleDataSource"
dataSource.url = "jdbc:oracle:thin:@xx.xx.xxx.xxx:1521:AAAAAAA"
dataSource.user = DEVBANCO1
dataSource.password = Password
}
database = {
transactionIsolationLevel = READ_COMMITTED
exportHibernateJMXStatistics = false
runMigration = false
schema = DEVBANCO1
}
useTestClock = false
enterpriseConfiguration = {
externalBridge = true
mutualExclusionConfiguration = {
on = true
updateInterval = 20000
waitInterval = 40000
}
}
devMode=false
compatibilityZoneURL : "http://xx.xxxx.xxx.xxxx:8080/"
keyStorePassword = "cordacadevpass"
trustStorePassword = "trustpass"






corda






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 9 at 20:59

























asked Nov 6 at 21:42









Marcelo Nogueira

195




195












  • Hi, my question was clear? Do you need some clarification to answer? Thanks for helping
    – Marcelo Nogueira
    Nov 8 at 13:47


















  • Hi, my question was clear? Do you need some clarification to answer? Thanks for helping
    – Marcelo Nogueira
    Nov 8 at 13:47
















Hi, my question was clear? Do you need some clarification to answer? Thanks for helping
– Marcelo Nogueira
Nov 8 at 13:47




Hi, my question was clear? Do you need some clarification to answer? Thanks for helping
– Marcelo Nogueira
Nov 8 at 13:47












1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










The use of Oracle RAC to create a HA notary has not been tested. In theory, any database that can be configured to have zero data loss can be used (if the DB doesn't guarantee zero data loss, i.e. it is not strongly consistent and/or doesn't have synchronous replication, data may be lost in failover, allowing double-spends). However, the MySQL HA notary implementation uses some MySQL-specific syntax that may not work with Oracle RAC.



Regarding your specific questions:




  • Regarding the "msql" tag, is it possible to configure an Oracle RAC? Is there an "oracle" tag?


Yes, it may work. However, note the caveats above. This has not been tested and it may not work (e.g. due to MySQL-specific syntax). There is no oracle tag.




  • In the "notary" tag's "serviceLegalName" parameter where should I put the name of the Notary that the Nodes see (name of the Notary in NetworkMap)? "O = HA Notary"


Under notary.serviceLegalName.




  • For Oracle RAC can I follow this pattern? http://docs.corda.r3.com/running-a-notary-cluster/introduction.html


Yes, it may work. However, note the caveats above. This has not been tested and it may not work (e.g. due to MySQL-specific syntax).




  • Can I configure the "worker 1" in Oracle RAC? How? -> myLegalName : "O=Worker 1, C=GB, L=London"


Remember that each worker needs their own local database, just like a regular Corda node. They also need a shared database that is used for notary-service-specific data.




  • Do I maintain the configuration part below pointing to my Oracle database?


Yes, that configuration looks like it may work correctly.






share|improve this answer





















  • Hi @Joel, when you say that the shared database is used for "notary-service-specific data", what do you mean? What data is stored in this shared database?
    – Maka
    Nov 23 at 13:39










  • The committed states.
    – Joel
    Nov 23 at 14:00











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53180498%2fhighly-available-notary-service-setup-in-oracle-rac-corda-enterprise%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote



accepted










The use of Oracle RAC to create a HA notary has not been tested. In theory, any database that can be configured to have zero data loss can be used (if the DB doesn't guarantee zero data loss, i.e. it is not strongly consistent and/or doesn't have synchronous replication, data may be lost in failover, allowing double-spends). However, the MySQL HA notary implementation uses some MySQL-specific syntax that may not work with Oracle RAC.



Regarding your specific questions:




  • Regarding the "msql" tag, is it possible to configure an Oracle RAC? Is there an "oracle" tag?


Yes, it may work. However, note the caveats above. This has not been tested and it may not work (e.g. due to MySQL-specific syntax). There is no oracle tag.




  • In the "notary" tag's "serviceLegalName" parameter where should I put the name of the Notary that the Nodes see (name of the Notary in NetworkMap)? "O = HA Notary"


Under notary.serviceLegalName.




  • For Oracle RAC can I follow this pattern? http://docs.corda.r3.com/running-a-notary-cluster/introduction.html


Yes, it may work. However, note the caveats above. This has not been tested and it may not work (e.g. due to MySQL-specific syntax).




  • Can I configure the "worker 1" in Oracle RAC? How? -> myLegalName : "O=Worker 1, C=GB, L=London"


Remember that each worker needs their own local database, just like a regular Corda node. They also need a shared database that is used for notary-service-specific data.




  • Do I maintain the configuration part below pointing to my Oracle database?


Yes, that configuration looks like it may work correctly.






share|improve this answer





















  • Hi @Joel, when you say that the shared database is used for "notary-service-specific data", what do you mean? What data is stored in this shared database?
    – Maka
    Nov 23 at 13:39










  • The committed states.
    – Joel
    Nov 23 at 14:00















up vote
1
down vote



accepted










The use of Oracle RAC to create a HA notary has not been tested. In theory, any database that can be configured to have zero data loss can be used (if the DB doesn't guarantee zero data loss, i.e. it is not strongly consistent and/or doesn't have synchronous replication, data may be lost in failover, allowing double-spends). However, the MySQL HA notary implementation uses some MySQL-specific syntax that may not work with Oracle RAC.



Regarding your specific questions:




  • Regarding the "msql" tag, is it possible to configure an Oracle RAC? Is there an "oracle" tag?


Yes, it may work. However, note the caveats above. This has not been tested and it may not work (e.g. due to MySQL-specific syntax). There is no oracle tag.




  • In the "notary" tag's "serviceLegalName" parameter where should I put the name of the Notary that the Nodes see (name of the Notary in NetworkMap)? "O = HA Notary"


Under notary.serviceLegalName.




  • For Oracle RAC can I follow this pattern? http://docs.corda.r3.com/running-a-notary-cluster/introduction.html


Yes, it may work. However, note the caveats above. This has not been tested and it may not work (e.g. due to MySQL-specific syntax).




  • Can I configure the "worker 1" in Oracle RAC? How? -> myLegalName : "O=Worker 1, C=GB, L=London"


Remember that each worker needs their own local database, just like a regular Corda node. They also need a shared database that is used for notary-service-specific data.




  • Do I maintain the configuration part below pointing to my Oracle database?


Yes, that configuration looks like it may work correctly.






share|improve this answer





















  • Hi @Joel, when you say that the shared database is used for "notary-service-specific data", what do you mean? What data is stored in this shared database?
    – Maka
    Nov 23 at 13:39










  • The committed states.
    – Joel
    Nov 23 at 14:00













up vote
1
down vote



accepted







up vote
1
down vote



accepted






The use of Oracle RAC to create a HA notary has not been tested. In theory, any database that can be configured to have zero data loss can be used (if the DB doesn't guarantee zero data loss, i.e. it is not strongly consistent and/or doesn't have synchronous replication, data may be lost in failover, allowing double-spends). However, the MySQL HA notary implementation uses some MySQL-specific syntax that may not work with Oracle RAC.



Regarding your specific questions:




  • Regarding the "msql" tag, is it possible to configure an Oracle RAC? Is there an "oracle" tag?


Yes, it may work. However, note the caveats above. This has not been tested and it may not work (e.g. due to MySQL-specific syntax). There is no oracle tag.




  • In the "notary" tag's "serviceLegalName" parameter where should I put the name of the Notary that the Nodes see (name of the Notary in NetworkMap)? "O = HA Notary"


Under notary.serviceLegalName.




  • For Oracle RAC can I follow this pattern? http://docs.corda.r3.com/running-a-notary-cluster/introduction.html


Yes, it may work. However, note the caveats above. This has not been tested and it may not work (e.g. due to MySQL-specific syntax).




  • Can I configure the "worker 1" in Oracle RAC? How? -> myLegalName : "O=Worker 1, C=GB, L=London"


Remember that each worker needs their own local database, just like a regular Corda node. They also need a shared database that is used for notary-service-specific data.




  • Do I maintain the configuration part below pointing to my Oracle database?


Yes, that configuration looks like it may work correctly.






share|improve this answer












The use of Oracle RAC to create a HA notary has not been tested. In theory, any database that can be configured to have zero data loss can be used (if the DB doesn't guarantee zero data loss, i.e. it is not strongly consistent and/or doesn't have synchronous replication, data may be lost in failover, allowing double-spends). However, the MySQL HA notary implementation uses some MySQL-specific syntax that may not work with Oracle RAC.



Regarding your specific questions:




  • Regarding the "msql" tag, is it possible to configure an Oracle RAC? Is there an "oracle" tag?


Yes, it may work. However, note the caveats above. This has not been tested and it may not work (e.g. due to MySQL-specific syntax). There is no oracle tag.




  • In the "notary" tag's "serviceLegalName" parameter where should I put the name of the Notary that the Nodes see (name of the Notary in NetworkMap)? "O = HA Notary"


Under notary.serviceLegalName.




  • For Oracle RAC can I follow this pattern? http://docs.corda.r3.com/running-a-notary-cluster/introduction.html


Yes, it may work. However, note the caveats above. This has not been tested and it may not work (e.g. due to MySQL-specific syntax).




  • Can I configure the "worker 1" in Oracle RAC? How? -> myLegalName : "O=Worker 1, C=GB, L=London"


Remember that each worker needs their own local database, just like a regular Corda node. They also need a shared database that is used for notary-service-specific data.




  • Do I maintain the configuration part below pointing to my Oracle database?


Yes, that configuration looks like it may work correctly.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 19 at 15:40









Joel

9,72111227




9,72111227












  • Hi @Joel, when you say that the shared database is used for "notary-service-specific data", what do you mean? What data is stored in this shared database?
    – Maka
    Nov 23 at 13:39










  • The committed states.
    – Joel
    Nov 23 at 14:00


















  • Hi @Joel, when you say that the shared database is used for "notary-service-specific data", what do you mean? What data is stored in this shared database?
    – Maka
    Nov 23 at 13:39










  • The committed states.
    – Joel
    Nov 23 at 14:00
















Hi @Joel, when you say that the shared database is used for "notary-service-specific data", what do you mean? What data is stored in this shared database?
– Maka
Nov 23 at 13:39




Hi @Joel, when you say that the shared database is used for "notary-service-specific data", what do you mean? What data is stored in this shared database?
– Maka
Nov 23 at 13:39












The committed states.
– Joel
Nov 23 at 14:00




The committed states.
– Joel
Nov 23 at 14:00


















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53180498%2fhighly-available-notary-service-setup-in-oracle-rac-corda-enterprise%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Create new schema in PostgreSQL using DBeaver

Deepest pit of an array with Javascript: test on Codility

Costa Masnaga