Discover Replicas for Selected Database
Tag: DiscoverReplicas
The DiscoverReplicas action, along with a set of SetParam child actions, lets you automate the Discover Replicas process in replicationEZ.
Detailed Description
Each option that is found within the 'Discover Replicas Options' and the 'Discover Replicas Chart Options' dialog boxes is available to be set through a corresponding SetParam Field.
<SetParam Field="FirstDegreeConnectionsOnly" Value="False"/>
<SetParam Field="CreateChartAtEndOfProcess" Value="True"/>
<SetParam Field="TransitionNodesFormat" Value="DateAndTime"/>
<SetParam Field="ApplyLastUsedFilters" Value="True"/>
SetParam Options
Field Name | Compatible Field Values |
---|---|
FirstDegreeConnectionsOnly CreateChartAtEndOfProcess | True / False True / False |
TransitionNodesFormat | DateAndTime DateOnly TimeOnly None |
ApplyLastUsedFilters ShowExcludedServers PreFilterTransitionDates HideTransitionBefore | True / False True / False True / False Date in compatible YYYY/MM/DD format |
Example Scripts
<DiscoverReplicas>
<SetParam Field="FirstDegreeConnectionsOnly" Value="False"/>
<SetParam Field="CreateChartAtEndOfProcess" Value="True"/>
</DiscoverReplicas>
<ytriaAutomation>
<Load Server="ACME01/ACME" Partial="True">
<Load Database="mail\jdoe.nsf" Select="True"/>
</Load>
<Select Target="Grid" lines="all"/>
<DiscoverReplicas KeepAlive="True">
<SetParam Field="FirstDegreeConnectionsOnly" Value="False"/>
<SetParam Field="CreateChartAtEndOfProcess" Value="True"/>
<SetParam Field="TransitionNodesFormat" Value="TimeOnly"/>
</DiscoverReplicas>
</ytriaAutomation>
In the script above, the mail database "jdoe.nsf" will be loaded into the main grid; this will be the only row in the grid. All rows in the main grid will be selected and the Discover Replicas function will be launched using the DiscoverReplica action. All degrees of connections will be included, the Transition Nodes Format option will be set to 'Time Only', and a chart will be created at the end of the process.