이 모니터는 지정된 IPV4 범위에 대한 여유 주소 수가 정의된 임계값보다 적을 경우 경고를 표시합니다.
Microsoft Windows Server DHCP 2016 이상 IPv4 개별 범위 모니터링은 지정된 범위의 여유 주소 수를 포함하는 속성 모음을 반환합니다.
필요할 경우 재정의할 수 있는 매개 변수는 다음과 같습니다.
샘플 수: 모니터의 새 상태를 계산하기 위해 기다릴 횟수입니다.
경고 임계값: 정상 상태로 허용되는 최소 주소 수입니다.
오류 임계값: 경고 상태로 허용되는 최소 주소 수입니다.
간격(초): 각실행에해당하는시간(초)
동기화 시간: 실행을 시작하려고 한 이후 경과된 "hh:mm" 형식의 시간입니다.
시간 제한(초): “시간 제한 이유”로 인해 실행을 취소할 때까지 대기할 시간(초)입니다.
초기 행: 페이징에 사용되는 초기 행입니다. 기본값은 0으로, 모든 레코드를 반환합니다.
최종 행: 페이징에 사용되는 최종 행입니다. 기본값은 0으로, 모든 레코드를 반환합니다.
지원되는 최대 페이징 수량은 2,000개 범위입니다.
사용 가능한 범위 주소를 확인합니다.
해당 클라이언트에 제공할 수 있는 IP 주소가 DHCP 서버 2016 이상에 없는 경우 새로 할당된 IP를 가져오지 못할 수 있습니다. 이 경우 다음 해결 방법을 사용하십시오.
범위 확장을 사용하여 현재 범위에 대한 주소 범위를 확장합니다.
임대 기간을 축소하고 정리 간격을 줄입니다. 그러면 만료된 범위 IP 주소를 빨리 확보하는 데 도움이 됩니다.
DHCP 범위 확장
DHCP 범위가 이미 있고 시작 주소 및 끝 주소가 특정 서브넷의 모든 주소를 현재 포함하지 않는 경우 범위 속성에서 시작 주소 또는 끝 주소를 확장하여 범위의 주소 수를 늘릴 수 있습니다.
클라이언트가 사용할 수 있는 주소 수를 늘리려면:
DHCP 서버에서 [시작]을 클릭하고 [관리 도구]를 가리킨 다음 [DHCP]를 클릭합니다.
콘솔 트리에서 확장할 범위를 마우스 오른쪽 단추로 클릭한 다음 [속성]을 클릭합니다.
시작 IP 주소 및 끝 IP 주소를 변경하여 범위를 확장합니다.
임대 기간 축소
이 절차를 수행하려면 Administrators 그룹 구성원이거나 적절한 권한을 위임 받아야 합니다.
임대 기간을 축소하려면:
DHCP 서버에서 [시작]을 클릭하고 [관리 도구]를 가리킨 다음 [DHCP]를 클릭합니다.
DCHP 콘솔 트리에서 구성할 범위를 마우스 오른쪽 단추로 클릭한 다음 [속성]을 클릭합니다.
일반 탭의 DHCP 클라이언트 임대 기간에서 새 임대 기간을 입력합니다.
정리 간격 줄임
이 절차를 수행하려면 Administrators 그룹 구성원이거나 적절한 권한을 위임받아야 합니다.
Netsh 명령을 사용하여 정리 간격 시간을 설정하려면:
DHCP 서버에서 [시작], [실행]을 차례로 클릭하고 cmd를 입력한 다음 <Enter> 키를 누릅니다.
유형 netsh dhcp set databasecleanupinterval "NewInterval" (여기서 "NewInterval"은 DHCP 데이터베이스 정리 사이의 시간(분)입니다.)
예제
다음 예제에서 이 명령은 데이터베이스 정리 간격을 10,080분(7일마다)으로 설정합니다.
netsh dhcp set databasecleanupinterval 10080
Target | Microsoft.Windows.DHCPServer.10.0.IPv4Scope | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | StateCollection | ||
Enabled | False | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.DHCPServer.10.0.IndScopeStats.MonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | System.PrivilegedMonitoringAccount |
<UnitMonitor ID="Microsoft.Windows.DHCPServer.10.0.IndScope.IPV4.FreeScopeAddresses.Quantity.Monitor" Accessibility="Public" Enabled="false" Target="Microsoft.Windows.DHCPServer.10.0.IPv4Scope" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.DHCPServer.10.0.IndScopeStats.MonitorType" ConfirmDelivery="false" RunAs="System!System.PrivilegedMonitoringAccount">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.DHCPServer.10.0.Scope.IPV4.FreeScopeAddresses.Quantity.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ScopeAddressesAvailable" MonitorTypeStateID="Success" HealthState="Success"/>
<OperationalState ID="ScopeAddressesLow" MonitorTypeStateID="Warning" HealthState="Warning"/>
<OperationalState ID="ScopeAddressesVeryLow" MonitorTypeStateID="Error" HealthState="Error"/>
</OperationalStates>
<Configuration>
<Scope>$Target/Property[Type="DHCP!Microsoft.Windows.DHCPServer.Library.Scope"]/IPAddress$</Scope>
<CounterName>IPV4Scope-AddressesAvailable</CounterName>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<NumSamples>3</NumSamples>
<WarningThreshold>50</WarningThreshold>
<ErrorThreshold>10</ErrorThreshold>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
<InitialRow>0</InitialRow>
<FinalRow>0</FinalRow>
</Configuration>
</UnitMonitor>