| How do I configure failover between two Naming Services? |
|
There are two ways to configure failover between two Naming Services:
Configuring a second Naming Service into your IAS installation To configure a second Naming Service into your IAS installation
To install a second IAS and configure master and slave Naming Services You will have to rename the Naming Service in either the master or the slave so you have two unique names. You will also need to disable the JDataStore in one of the servers. See the steps that follow.
Note: We used 20000 (20 seconds) on our P400 NT testing. Note: You are using InMemory. Failover only works with a real backing store (which is shared by the master and slave Naming Services). We have provided details here for using JDataStore as the backing store.
vbroker.naming.enableSlave=1
vbroker.naming.masterHost=IP_address
vbroker.naming.masterPort=18001
vbroker.naming.slaveHost=IP_address
vbroker.naming.slavePort=18002
# These two are the names of the naming services you have configured
vbroker.naming.masterServer=namingservice_master
vbroker.naming.slaveServer=namingservice_slave
vbroker.naming.backingStoreType=JDBC
vbroker.naming.poolSize=5
vbroker.naming.jdbcDriver=com.borland.datastore.jdbc.DataStoreDriver
vbroker.naming.loginName=VisiNaming
vbroker.naming.loginPwd=
vbroker.naming.jdsSvrPort=2508
# Change localhost if you're using two servers on different machines.
vbroker.naming.url=jdbc:borland:dsremote://localhost/adm/datastore/namingDB.
jds
|