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