Skip to main content
Skip table of contents

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.

Discover Replicas Options

<SetParam Field="FirstDegreeConnectionsOnly" Value="False"/>
<SetParam Field="CreateChartAtEndOfProcess" Value="True"/>


Discover Replicas Chart Options

<SetParam Field="TransitionNodesFormat" Value="DateAndTime"/>
<SetParam Field="ApplyLastUsedFilters" Value="True"/>

SetParam Options

Field NameCompatible 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

XML
<DiscoverReplicas>
	<SetParam Field="FirstDegreeConnectionsOnly" Value="False"/>
	<SetParam Field="CreateChartAtEndOfProcess" Value="True"/>
</DiscoverReplicas>
XML
<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.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.