'replication_add_mod_delete: Delete %s on %s' \
% (ldcltDir, STAF_CLIENT_HOSTNAME)
{
'location' : STAF_CLIENT_HOSTNAME ,
'foldername' : ldcltDir
}
'replication_add_mod_delete: Create %s on %s' \
% (ldcltDir, STAF_CLIENT_HOSTNAME)
{
'location' : STAF_CLIENT_HOSTNAME ,
'foldername' : ldcltDir
}
'replication_add_mod_delete: Create ldclt template'
{
'templateFile' : ldcltTemplate ,
'templateLocation' : STAF_CLIENT_HOSTNAME
}
'Test ECL: Install stand-alone instance whereto replay \
changes'
{ 'dsHost' : standaloneServer.getHostname(),
'dsDir' : standaloneServer.getDir(),
'dsPort' : standaloneServer.getPort(),
'dsAdminPort' : standaloneServer.getAdminPort(),
'dsSslPort' : standaloneServer.getSslPort(),
'dsJmxPort' : standaloneServer.getJmxPort(),
'dsBindDN' : standaloneServer.getRootDn(),
'dsBindPwd' : standaloneServer.getRootPwd(),
'dsBaseDN' : standaloneServer.getBaseDn()
}
{ 'location' : standaloneServer.getHostname() }
'replication_add_mod_delete: Run ldclt add'
'replication_add_mod_delete: add threads'
{
'location' : STAF_CLIENT_HOSTNAME,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsBaseDn' : baseDN,
'ldcltOptions' : opts,
'outputFile' : 'ldclt_add-%.res' % suffix,
'outputPath' : ldcltDir
}
{ 'sleepForMilliSeconds' : 120000 }
'replication_add_mod_delete: modify threads'
{ 'location' : STAF_CLIENT_HOSTNAME,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsBaseDn' : baseDN,
'ldcltOptions' : opts,
'outputFile' : 'ldclt_modify-%s.res' % suffix,
'outputPath' : ldcltDir
}
{ 'sleepForMilliSeconds' : 240000 }
'replication_add_mod_delete: delete threads'
{
'location' : STAF_CLIENT_HOSTNAME,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsBaseDn' : baseDN,
'ldcltOptions' : opts,
'outputFile' : 'ldclt_delete-%s.res' % suffix,
'outputPath' : ldcltDir
}
'LOOP %s out of %s' % (loop, jvmLoop)
'replication_add_mod_delete: save jvm information'
{ 'location' : masterHost,
'dsPath' : masterPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsBaseDN' : 'cn=JVM Memory Usage,cn=monitor',
'dsFilter' : 'objectclass=*',
'expectedRC' : 'noCheck',
'outputFile' : 'jvm_%s_%s.out' \
% (suffix, loop),
'outputPath' : masterDir
}
{ 'sleepForMilliSeconds' : jvmSleep }
'replication_modify: Test ECL: Read and replay \
changes'
{ 'location' : standaloneServer.getHostname(),
'standaloneHost' : standaloneServer.getHostname(),
'standalonePort' : standaloneServer.getPort(),
'replicaHost1' : consumer.getHostname(),
'replicaPort1' : consumer.getPort(),
'replicaHost2' : masterHost,
'replicaPort2' : master.getPort(),
'bindDn' : master.getRootDn(),
'bindPswd' : master.getRootPwd(),
'eclMode' : globalExternalChangelogMode,
'queueSize' : 1000,
'outputFilename' : '%s/eclReadAndPlay.output' \
% standaloneServer.getDir()
}
'Copy %s/ldclt_add-%s.res from %s to %s on %s' % \
(ldcltDir, suffix, STAF_CLIENT_HOSTNAME, logs.sut, STAXServiceMachine)
{
'location' : STAF_CLIENT_HOSTNAME,
'srcfile' : '%s/ldclt_add-%s.res' % (ldcltDir, suffix),
'destfile' : '%s/ldclt_add-%s.res' % (logs.sut, suffix),
'remotehost' : STAXServiceMachine
}
'Copy %s/ldclt_modify-%s.res from %s to %s on %s' % \
(ldcltDir, suffix, STAF_CLIENT_HOSTNAME, logs.sut, STAXServiceMachine)
{
'location' : STAF_CLIENT_HOSTNAME,
'srcfile' : '%s/ldclt_modify-%s.res' % (ldcltDir, suffix),
'destfile' : '%s/ldclt_modify-%s.res' % (logs.sut, suffix),
'remotehost' : STAXServiceMachine
}
'Copy %s/ldclt_delete-%s.res from %s to %s on %s' % \
(ldcltDir, suffix, STAF_CLIENT_HOSTNAME, logs.sut, STAXServiceMachine)
{
'location' : STAF_CLIENT_HOSTNAME,
'srcfile' : '%s/ldclt_delete-%s.res' % (ldcltDir, suffix),
'destfile' : '%s/ldclt_delete-%s.res' % (logs.sut, suffix),
'remotehost' : STAXServiceMachine
}
'replication_add_mod_delete: Check server is still running on \
%s:%s' % (server.getHostname(), server.getPort())
{ 'location' : server.getHostname(),
'dsPath' : serverPath,
'dsInstanceHost' : server.getHostname(),
'dsInstancePort' : server.getPort(),
'dsInstanceDn' : server.getRootDn(),
'dsInstancePswd' : server.getRootPwd(),
'noOfLoops' : 10,
'noOfMilliSeconds' : 5000
}
'replication_add_mod_delete: Verify replication is still working'
[ _topologyServerList, synchroSuffix ]
'replication_add_mod_delete: Verify the tree synchronization'
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'replication_modify: Verify the stand-alone server tree \
synchronization'
{ 'location' : masterHost,
'srcfile' : tmpFile,
'destfile' : attrsToIgnoreFile,
'remotehost' : clientHost
}
[ clientHost, clientPath, master, [standaloneServer],
synchroSuffix, None, attrsToIgnoreFile ]
{ 'location' : standaloneServer.getHostname() }
{ 'suiteSuffix' : suffix }