Archive for December, 2008

Create a new Replication Domain for WAS by script

Wednesday, December 31st, 2008

set useSSL [list useSSL false]
set requestTimeout [list requestTimeout 5]
set numberOfReplicas [list numberOfReplicas 1]
set encryptionType [list encryptionType NONE]
set defaultDataReplicationSettings [list $encryptionType $numberOfReplicas $requestTimeout $useSSL]
set drs [list defaultDataReplicationSettings $defaultDataReplicationSettings]
set name [list name testdomain]
set properties [list $drs $name]

set providerid [$AdminConfig getid /Cell:my01Cell01/]

$AdminConfig create DataReplicationDomain $providerid $properties

$AdminConfig save