'Test Name = %s' % STAXCurrentTestcase { 'stepMessage' : '%s Initialize the replication topology.' % msg1 } { 'location' : masterHost, 'dsPath' : masterPath, 'dsHost' : masterHost, 'dsAdminPort' : master.getAdminPort(), 'dsBindDN' : master.getRootDn(), 'dsBindPwd' : master.getRootPwd(), 'noOfLoops' : 30 } { 'location' : masterHost, 'dsPath' : masterPath, 'backEnd' : DIRECTORY_INSTANCE_BE, 'ldifFile' : '%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(), 'dsInstanceAdminPort' : server.getAdminPort(), 'sourceInstanceHost' : masterHost, 'sourceInstanceAdminPort' : master.getAdminPort(), 'replicationDnList' : ['o=example'] } '%s: Test failed. eInfo(%s)' % (eType,eInfo) 'Test Name = %s' % STAXCurrentTestcase { 'stepMessage' : '%s Check replication when one server is off-line.' % msg1 } { 'location' : server.getHostname(), 'dsPath' : serverPath, 'dsHost' : server.getHostname(), 'dsAdminPort' : server.getAdminPort(), 'dsBindDN' : server.getRootDn(), 'dsBindPwd' : server.getRootPwd(), 'noOfLoops' : 30 } { 'location' : replServer.getHostname(), 'dsPath' : replServerPath, 'dsHost' : replServer.getHostname(), 'dsAdminPort' : replServer.getAdminPort(), 'dsBindDN' : replServer.getRootDn(), 'dsBindPwd' : replServer.getRootPwd(), 'noOfLoops' : 30 } { '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 } { 'location' : replServer.getHostname(), 'dsPath' : replServerPath } [ clientHost, clientPath, master, consumerList, synchroSuffix ] '%s: Test failed. eInfo(%s)' % (eType,eInfo) 'Test Name = %s' % STAXCurrentTestcase { 'stepMessage' : '%s Check replication when all but one servers are off-line.' % msg1 } [consumerList, 30] [_topologyReplServerList[1:], 30] { 'location' : masterHost, 'dsPath' : masterPath, 'dsInstanceHost' : masterHost, 'dsInstancePort' : master.getPort(), 'dsInstanceDn' : master.getRootDn(), 'dsInstancePswd' : master.getRootPwd(), 'DNToAdd' : userDn, 'listAttributes' : listAttr, 'expectedRC' : 0 } [consumerList] [_topologyReplServerList[1:]] [ clientHost, clientPath, master, consumerList, synchroSuffix ] '%s: Test failed. eInfo(%s)' % (eType,eInfo) 'Test Name = %s' % STAXCurrentTestcase { 'stepMessage' : '%s Check replication when one server fails.' % msg1 } { 'location' : server.getHostname(), 'dsPath' : serverPath } { 'location' : replServer.getHostname(), 'dsPath' : replServerPath } { '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 } { 'location' : replServer.getHostname(), 'dsPath' : replServerPath } [ clientHost, clientPath, master, consumerList, synchroSuffix ] '%s: Test failed. eInfo(%s)' % (eType,eInfo) 'Test Name = %s' % STAXCurrentTestcase { 'stepMessage' : '%s Check replication when all but one servers fails.' % msg1 } { 'location' : server.getHostname(), 'dsPath' : serverPath } { 'location' : replServer.getHostname(), 'dsPath' : replServerPath } { 'location' : masterHost, 'dsPath' : masterPath, 'dsInstanceHost' : masterHost, 'dsInstancePort' : master.getPort(), 'dsInstanceDn' : master.getRootDn(), 'dsInstancePswd' : master.getRootPwd(), 'DNToAdd' : userDn, 'listAttributes' : listAttr, 'expectedRC' : 0 } [consumerList] [_topologyReplServerList[1:]] [ clientHost, clientPath, master, consumerList, synchroSuffix ] '%s: Test failed. eInfo(%s)' % (eType,eInfo)