{ 'topologyFile' : '%s/config/replication/3server_topology.txt' % TESTS_DIR }
{ 'location' : masterHost,
'dsPath' : masterPath,
'dsHost' : masterHost,
'dsPort' : master.getPort(),
'dsBindDN' : master.getRootDn(),
'dsBindPwd' : master.getRootPwd()
}
{ 'location' : masterHost,
'dsPath' : masterPath,
'dsBackEnd' : 'userRoot',
'dsLdifFile' : '%s/replication/Example.ldif' % masterDataDir
}
{ 'location' : masterHost,
'dsPath' : masterPath
}
{ 'location' : masterHost,
'dsPath' : masterPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort() ,
'dsInstanceDn' : master.getRootDn() ,
'dsInstancePswd' : master.getRootPwd() ,
'noOfLoops' : 10 ,
'noOfMilliSeconds' : 2000
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : server.getHostname(),
'dsInstancePort' : server.getPort(),
'sourceInstanceHost' : masterHost,
'sourceInstancePort' : master.getPort(),
'replicationDnList' : ['o=example']
}
'Replication: Failover: One server down (stopped). Check replication when one server is off-line '
{ 'location' : server.getHostname(),
'dsPath' : serverPath,
'dsHost' : server.getHostname(),
'dsPort' : server.getPort(),
'dsBindDN' : server.getRootDn(),
'dsBindPwd' : server.getRootPwd()
}
{ 'location' : nextServer.getHostname(),
'dsPath' : nextServerPath,
'dsInstanceHost' : nextServer.getHostname(),
'dsInstancePort' : nextServer.getPort(),
'dsInstanceDn' : nextServer.getRootDn(),
'dsInstancePswd' : nextServer.getRootPwd(),
'DNToAdd' : userDn,
'listAttributes' : listAttr,
'expectedRC' : 0
}
{ 'location' : server.getHostname(),
'dsPath' : serverPath
}
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'Replication: Failover: All but one servers down (stopped). Check replication when all but one servers are off-line'
[consumerList]
{ 'location' : masterHost,
'dsPath' : masterPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'DNToAdd' : userDn,
'listAttributes' : listAttr,
'expectedRC' : 0
}
[consumerList]
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'Replication: Failover: One server down (killed). Check replication when one server fails'
{ 'location' : server.getHostname(),
'dsPath' : serverPath
}
{ 'location' : nextServer.getHostname(),
'dsPath' : nextServerPath,
'dsInstanceHost' : nextServer.getHostname(),
'dsInstancePort' : nextServer.getPort(),
'dsInstanceDn' : nextServer.getRootDn(),
'dsInstancePswd' : nextServer.getRootPwd(),
'DNToAdd' : userDn,
'listAttributes' : listAttr,
'expectedRC' : 0
}
{ 'location' : server.getHostname(),
'dsPath' : serverPath
}
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'Replication: Failover: All but one servers down (killed). Check replication when all but one servers fail'
{ 'location' : server.getHostname(),
'dsPath' : serverPath
}
{ 'location' : masterHost,
'dsPath' : masterPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'DNToAdd' : userDn,
'listAttributes' : listAttr,
'expectedRC' : 0
}
[consumerList]
[ clientHost, clientPath, master, consumerList, synchroSuffix ]