Run Property Analyzer
Tag: PropertyAnalyzer
The PropertyAnalyzer
action, along with a set of nested SetParam child actions, automates the Property Analyzer process.
<PropertyAnalyzer>
<SetParam Field="TemplateNamesDuplicates" Value="True"/>
<SetParam Field="ReplicaIDDuplicates" Value="True"/>
<SetParam Field="InheritFromGhostTemplate" Value="True"/>
<SetParam Field="DBPercentageOfQuotaRemaining" Value="True"/>
<SetParam Field="DBPercentageOfQuotaRemainingValue" Value="1"/>
<SetParam Field="NoDataChangeSince" Value="True"/>
<SetParam Field="NoDataChangeSinceValue" Value="2"/>
<SetParam Field="DesignChangedWithinLast" Value="True"/>
<SetParam Field="DesignChangedWithinLastValue" Value="3"/>
<SetParam Field="DBSpecificSize" Value="True"/>
<SetParam Field="DBSpecificSizeValue" Value="4"/>
<SetParam Field="LauncheAnalyzerOnStartup" Value="False"/>
</PropertyAnalyzer>
XML
SetParam Options
Field Name | Compatible Field Values | Value Description | Comment |
---|---|---|---|
TemplateNamesDuplicates | True/ False | N/A | N/A |
ReplicaIDDuplicates | True/ False | N/A | N/A |
InheritFromGhostTemplate | True/ False | N/A | N/A |
DBPercentageOfQuotaRemaining | True/ False | N/A | N/A |
DBPercentageOfQuotaRemainingValue | User defined number | N/A | N/A |
NoDataChangeSince | True/ False | N/A | N/A |
NoDataChangeSinceValue | User defined number | N/A | N/A |
DesignChangeWithinLast | True/ False | N/A | N/A |
DesignChangeWithinLastValue | User defined number | N/A | N/A |
DBSpecificSize | True/ False | N/A | N/A |
DBSpecificSizeValue | User defined number | N/A | N/A |
LaunchAnalyzerOnStartup | True/ False | N/A | N/A |
Detailed Description
The action <PropertyAnalyzer/>
alone, will run the Property Analyzer using the current default settings.
Running the action with a set of nested SetParam actions, will trigger the 'Save Settings and run analyzer' options and the fields to set corresponding options as found in the Property Analyzer dialog.
Example Script
<?xml version="1.0" encoding="UTF-8"?>
<ytriaAutomation Application="databaseEZ" ApplicationVersion="16.5">
<Load Server="Acme01/ACME"/>
<PropertyAnalyzer>
<SetParam Field="TemplateNamesDuplicates" Value="True"/>
<SetParam Field="ReplicaIDDuplicates" Value="True"/>
<SetParam Field="InheritFromGhostTemplate" Value="True"/>
<SetParam Field="DBPercentageOfQuotaRemaining" Value="True"/>
<SetParam Field="DBPercentageOfQuotaRemainingValue" Value="1"/>
<SetParam Field="NoDataChangeSince" Value="True"/>
<SetParam Field="NoDataChangeSinceValue" Value="2"/>
<SetParam Field="DesignChangedWithinLast" Value="True"/>
<SetParam Field="DesignChangedWithinLastValue" Value="3"/>
<SetParam Field="DBSpecificSize" Value="True"/>
<SetParam Field="DBSpecificSizeValue" Value="4"/>
<SetParam Field="LauncheAnalyzerOnStartup" Value="False"/>
</PropertyAnalyzer>
</ytriaAutomation>
XML
In the script above, the Property Analyzer will be saved and run using the settings specified in the SetParam child actions