Information Technology Reference
In-Depth Information
8.
Enter the maximum number of records that you want to verify, if appropriate.
9.
Select an option to verify the database against the owner server or against a randomly
selected partner.
10.
Click OK to save changes.
Using a Command-Line Interface
You can use the
netsh wins server set periodicdbchecking
command to force the database
to update its statistics and verify its consistency at a regular interval and against a particular
server. Use the following syntax:
> netsh wins server set periodicdbchecking [[State=]{0 | 1}]
[[MaxRec=]
Value
] [[CheckAgainst=]{0 | 1}] [[CheckEvery=]
Value
] [[Start=]
Value
]
Here is a description of the command-line options:
State
: Required value to specify whether to check the database or not. A value of
0
will not
check the database; a value of
1
will check it.
MaxRec
: Optional parameter that specifies the number of records to check. The default
value is 30,000.
CheckAgainst
: Optional parameter that specifies where the consistency check should
occur. A value of
0
will check against the owner-server; a value of
l
will check against a
randomly selected server.
CheckEvery
: Optional parameter that specifies the time interval, in hours, at which the
consistency check should occur. The default interval is 24 hours.
Start
: Optional parameter that specifies the time, in seconds, after which you want your
first check to occur.
For example, use this command to check a maximum of 500 records in the database against
the owner server every two hours and starting in one hour:
> netsh wins server set periodicdbchecking State=1
MacRec=500 CheckAgainst=0 CheckEvery=2 Start=3600
Using the Registry
You can set the maximum number of records that are replicated during a database consistency
check by creating or modifying the following Registry value:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Wins\Parameters\]
"MaxRecsAtATime"=dword:
<NumRecords>
Set the value of
<NumRecords>
in decimal mode as an integer with a minimum value of
1,000. The default value is 30,000 and there is no maximum value.