Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

VisiBroker 5.1 - NameService failover  RSS feed

 
Vlad Ator
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I'm quite new to Corba. I want to use failover mechanism with my NameServer. I saw that it is possible to do it by using 2 nameservers, one master amd one slave. But till now i couldn't succeed. When i stop the Master, the Slave doesn't provide the referrence for the objects previously bound to the Master. So, the client receives "OBJECT_NOT_EXISTS". If i restart the object server, the binding is not possible, probably because the slave is not "visible"
I use JDBC/Oracle for persistence. I also start the smartagent without any parameters. I use the same property file for both nameservers. See the following :
vbroker.naming.cacheOn=0
vbroker.naming.enableSlave=1
vbroker.naming.masterServer=vbMaster
vbroker.naming.masterHost=localhost
vbroker.naming.masterPort=4711
vbroker.naming.slaveServer=vbSlave
vbroker.naming.slaveHost=localhost
vbroker.naming.slavePort=4811
vbroker.naming.backingStoreType=JDBC
vbroker.naming.jdbcDriver=oracle.jdbc.driver.OracleDriver
vbroker.naming.loginName=...
vbroker.naming.loginPwd=...
vbroker.naming.poolSize=5
vbroker.naming.url=jdbc racle:thin:@...:...
I start the servers like that :
Master :
c:\bes\bin\vbj -Dvbroker.se.iiop_tp.scm.iiop_tp.listener.port=4711 -DORBpropStorage=MasterSlave.properties com.inprise.vbroker.naming.ExtFactory vbMaster &
Slave :
c:\bes\bin\vbj -VBJdebug -Dvbroker.se.iiop_tp.scm.iiop_tp.listener.port=4811 -DORBpropStorage=MasterSlave.properties com.inprise.vbroker.naming.ExtFactory vbSlave &
They both start ok and show the IOR on the screen.
Did i miss something ? Is there something i have to check, to define ?
Thanks in advance,
Vlad
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!