wt.dataops.replication
Class ReplicaLoader

java.lang.Object
  extended by wt.dataops.replication.ReplicaLoader
All Implemented Interfaces:
RemoteAccess

public class ReplicaLoader
extends Object
implements RemoteAccess

Replica object loader.

This class is used for loading data related to Replication. Data can be supplied in 2 ways. 1. Modify fvloader.csv file in /loadFiles directory to suit your needs. 2. Create your own .csv file. The usage of the ReplicaLoader is as follows: ReplicaLoader with no arguments loads data from file "fvloader.csv" in /loadFiles directory. ReplicaLoader [Full File Name] loads data from supplied file The syntaxis of the .csv file is supplied bellow: Command syntax: Command_type,comma_separated_arguments # <- comment Type,Arguments Meaning (In the batch commands bellow site is assumed to be - replicaSite)

RV,vaultName,replicaSiteName -create ReplicaVault for replicaSiteName with name vaultName RV,vaultName,replicaSiteName,autoCreate -create ReplicaVault for replicaSiteName with name vaultName and autoCreate flag RV,vaultName,replicaSiteName,autoCreate,defaultTargetForSite -create ReplicaVault for replicaSiteName with name vaultName ,autoCreate flag, default target for system flag RVE,vaultName -enable ReplicaVault RF,folderName,replicaVautName -create ReplicaFolder with name folderName and attach it to FvVault with name vaultName RH,hostName,siteName -create FvHost with host name hostName for siteName RR,replicaVaultName,fullClassName,fullDomainPath,lifeCycleStateName -create an FvPolicyRule referencing a ReplicaVault for a certain class, domain and lifecycle state RFE,replicaFolderName -enable the ReplicaFolder, which name is the folderName. Should enable folder only if it has at least one mount. RM,replicaFolderName,hostName,path -create an FvMount between ReplicaFolder folderName and FvHost hostName belonging to Site sitename with given path RemoveReplicaR,replicaVaultName,fullClassName,fullDomainPath,lifeCycleStateName -remove and existing cont. repl. rule (same arguments as during creation) Command line arguments -listContainers prints list of container paths. -listDomains [containerPath] [includeDescendentContainers] prints list of domain paths. Last two arguments are optional. If not specified, print all domains in the system. -listReplicationRules [site name] prints list of existing replication rules for given site. If site name specified as constant ALL_SITES, returns all rules.

LR-prefix

Supported API: true


Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait