RWS.Proxy and ECP.Proxy health checks, localhost, and SSL
RWS.Proxy and ECP.Proxy health sets are both failing. In both of the errors, I find the following:
[000.000] Starting HTTP request task
[000.000] Waiting 59000 ms
[000.000] Issuing GET against https://localhost/ecp/
[000.000] Awaiting GET response
[000.000] Performing SSL validation
[000.000] Performing SSL validation
[000.000] Failed with exception: The underlying connection was closed: An unexpected error occurred on a receive.
[000.000] Starting HTTP request task
[000.000] Waiting 59000 ms
[000.000] Issuing GET against https://localhost/ecp/ReportingWebService/
[000.000] Awaiting GET response
[000.000] Performing SSL validation
[000.000] Performing SSL validation
[000.000] Failed with exception: The underlying connection was closed: An unexpected error occurred on a receive.
We require SSL on all connections. We use a third party certificate with multiple SANs. Since the probe is trying to use https://localhost, it fails because the name doesn't match.
I figure I have a few options: first, is there a way to change the URL that the probe uses to check. This seems to me to be the 'rightest' way I could fix this. Second could I alter the binding of the site so that the localhost hostname uses a dedicated,
self signed, trusted cert? Last, is there any way to simply disable the specific probes? We're a single server low volume setup and I'm not convinced that I need the probes anyway.
IS this a common issue? Outside of the warnings that SCOM throws at me, it is also causing a large volume of logs to be generated.
Justin Cervero - MS Enterprise Admin - Appalachian State University
Hi,
I am afraid it’s hard coded. Just like the “Test-Outlookwebsiervices” command, it will also try the “localhost” and reports errors about certificate host name mismatch issue.
We can safely ignore this report.
Thanks,
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Simon Wu
TechNet Community Support
Similar Messages
-
Hi.
I got two DAG nodes with CAS role installed. Sudently i get this failures on both nodes. This happens for all databases. I have tried do Seed the DB, with no luck
I run the The CheckDatabaseRedundancy.ps1 script and this seems OK.
Could somone please help me,
[PS] D:\Program Files\Microsoft\Exchange Server\V15\Scripts>.\CheckDatabaseRedundancy.ps1
DatabaseName : Users05
LastRedundancyCount : 0
CurrentRedundancyCount : 2
LastState : Unknown
CurrentState : Green
LastStateTransitionUtc : 05.07.2013 05:49:10
LastGreenTransitionUtc : 05.07.2013 05:49:10
LastRedTransitionUtc :
LastGreenReportedUtc : 05.07.2013 05:49:10
HasReportedGreenEvent : True
LastRedReportedUtc :
PreviousTotalRedDuration : 00:00:00
TotalRedDuration : 00:00:00
IsTransitioningState : True
HasErrorsInHistory : False
CurrentErrorMessages :
ErrorHistory :
IsOneDatacenter : False
CurrentRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
CurrentSearchRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
Event:4376
Database one datacenter available copy health check failed.
Database copy: Users05
Redundancy count: 2
Error:
================
Full Copy Status
================
Database Copy : Users05\casmbx02
VolumeInfoLastError :
LogPathIsOnMountedFolder : False
LogVolumeName : \\?\Volume{beecae05-53ca-444d-ab5f-dd98510b4776}\
LogVolumeMountPoint : E:\
DatabasePathIsOnMountedFolder : False
DatabaseVolumeName : \\?\Volume{b92c9520-905f-4ee4-902d-1e73c26b1717}\
DatabaseVolumeMountPoint : F:\
ExchangeVolumeMountPoint :
LastDatabaseVolumeNameTransitionTime : 01.01.1601 00:00:00
LastDatabaseVolumeName :
DiskFreeSpacePercent : 90
DiskTotalSpaceBytes : 107237863424
DiskFreeSpaceBytes : 97164902400
SeedingSource : False
ActivationPreference : 2
LogsCopiedSinceInstanceStart : 45
LogsReplayedSinceInstanceStart : 86
ExtendedErrorInfo :
ErrorEventId : 0
ErrorMessage :
ReplayQueueNotKeepingUp : False
CopyQueueNotKeepingUp : False
SnapshotLatestCopyBackup : False
SnapshotLatestDifferentialBackup : False
SnapshotLatestIncrementalBackup : False
SnapshotLatestFullBackup : True
LatestCopyBackupTime : 01.01.1601 00:00:00
LatestDifferentialBackupTime : 01.01.1601 00:00:00
LatestIncrementalBackupTime : 01.01.1601 00:00:00
LatestFullBackupTime : 04.07.2013 19:31:34
LastLogCopyNotified : 4100
CurrentReplayLogTime : 05.07.2013 05:24:26
LastReplayedLogTime : 05.07.2013 05:39:26
LastInspectedLogTime : 05.07.2013 05:39:26
LastCopiedLogTime : 05.07.2013 05:39:26
LastLogInfoFromClusterGen : 4100
LastLogInfoFromClusterTime : 05.07.2013 05:44:01
LastLogInfoFromCopierTime : 05.07.2013 05:44:00
LastLogInfoIsStale : False
LastCopyNotifiedLogTime : 05.07.2013 05:39:26
LatestAvailableLogTime : 05.07.2013 05:39:26
DumpsterEndTime : 01.01.0001 00:00:00
DumpsterStartTime : 01.01.0001 00:00:00
DumpsterRequired : False
DumpsterServers :
ActionInitiator : Service
SuspendComment :
SinglePageRestoreNumber : 0
SinglePageRestore : False
ReplayLagPercentage : 0
ReplayLagPlayDownReason : None
ReplayLagEnabled : Disabled
ReplayLagDisabledReason :
ActualReplayLagTime : 00:04:40.1554322
ConfiguredReplayLagTime : 00:00:00
NodeStatus : Up
WorkerProcessId : 8740
ReseedBlocked : False
ResumeBlocked : False
ReplaySuspended : False
LostWrite : False
Viable : True
ActivationSuspended : False
DbSeedingKBytesWrittenPerSec : 0
DbSeedingKBytesReadPerSec : 0
DbSeedingKBytesWritten : 0
DbSeedingKBytesRead : 0
DbSeedingPercent : 0
ContentIndexSeedingSource :
ContentIndexSeedingPercent :
ContentIndexMailboxesToCrawl :
ContentIndexBacklog : 0
ContentIndexRetryQueueSize : 0
ContentIndexErrorMessage :
ContentIndexStatus : Healthy
LastStatusTransitionTime : 04.07.2013 17:46:02
InstanceStartTime : 04.07.2013 17:45:59
CICurrentness : Current
CopyStatus : Healthy
ServerVersion : 1941996140
LastLogReplayed : 4100
LastLogInspected : 4100
LastLogCopied : 4100
LastLogGenerated : 4100
DataAvailabilityTime : 05.07.2013 05:39:26
DataProtectionTime : 05.07.2013 05:39:26
LastLogGeneratedTime : 05.07.2013 05:44:06
StatusRetrievedTime : 05.07.2013 05:44:06
ActiveDatabaseCopy : CASMBX01
MailboxServer : CASMBX02
DBName : Users05
DBGuid : 57da90db-bc6d-4bf3-b508-64d3bff41377
Database Copy : Users05\casmbx01
VolumeInfoLastError :
LogPathIsOnMountedFolder : False
LogVolumeName : \\?\Volume{94937623-3da4-49ab-825e-49c982ec79f1}\
LogVolumeMountPoint : E:\
DatabasePathIsOnMountedFolder : False
DatabaseVolumeName : \\?\Volume{73a9913d-1660-487b-8a8b-b53cb017728e}\
DatabaseVolumeMountPoint : F:\
ExchangeVolumeMountPoint :
LastDatabaseVolumeNameTransitionTime : 01.01.1601 00:00:00
LastDatabaseVolumeName :
DiskFreeSpacePercent : 90
DiskTotalSpaceBytes : 107237863424
DiskFreeSpaceBytes : 96646443008
SeedingSource : False
ActivationPreference : 1
LogsCopiedSinceInstanceStart : 0
LogsReplayedSinceInstanceStart : 0
ExtendedErrorInfo :
ErrorEventId : 0
ErrorMessage :
ReplayQueueNotKeepingUp : False
CopyQueueNotKeepingUp : False
SnapshotLatestCopyBackup : False
SnapshotLatestDifferentialBackup : False
SnapshotLatestIncrementalBackup : False
SnapshotLatestFullBackup : True
LatestCopyBackupTime : 01.01.1601 00:00:00
LatestDifferentialBackupTime : 01.01.1601 00:00:00
LatestIncrementalBackupTime : 01.01.1601 00:00:00
LatestFullBackupTime : 03.07.2013 19:30:53
LastLogCopyNotified : 4100
CurrentReplayLogTime : 01.01.0001 00:00:00
LastReplayedLogTime : 01.01.0001 00:00:00
LastInspectedLogTime : 01.01.0001 00:00:00
LastCopiedLogTime : 01.01.0001 00:00:00
LastLogInfoFromClusterGen : 4100
LastLogInfoFromClusterTime : 05.07.2013 05:44:01
LastLogInfoFromCopierTime : 05.07.2013 05:44:06
LastLogInfoIsStale : False
LastCopyNotifiedLogTime : 05.07.2013 05:39:26
LatestAvailableLogTime : 01.01.0001 00:00:00
DumpsterEndTime : 01.01.0001 00:00:00
DumpsterStartTime : 01.01.0001 00:00:00
DumpsterRequired : False
DumpsterServers :
ActionInitiator : Unknown
SuspendComment :
SinglePageRestoreNumber : 0
SinglePageRestore : False
ReplayLagPercentage : 0
ReplayLagPlayDownReason : None
ReplayLagEnabled : Disabled
ReplayLagDisabledReason :
ActualReplayLagTime : 00:00:00
ConfiguredReplayLagTime : 00:00:00
NodeStatus : Up
WorkerProcessId : 7624
ReseedBlocked : False
ResumeBlocked : False
ReplaySuspended : False
LostWrite : False
Viable : False
ActivationSuspended : False
DbSeedingKBytesWrittenPerSec : 0
DbSeedingKBytesReadPerSec : 0
DbSeedingKBytesWritten : 0
DbSeedingKBytesRead : 0
DbSeedingPercent : 0
ContentIndexSeedingSource :
ContentIndexSeedingPercent :
ContentIndexMailboxesToCrawl :
ContentIndexBacklog : 0
ContentIndexRetryQueueSize : 0
ContentIndexErrorMessage :
ContentIndexStatus : Healthy
LastStatusTransitionTime : 01.01.0001 00:00:00
InstanceStartTime : 04.07.2013 17:45:58
CICurrentness : Current
CopyStatus : Mounted
ServerVersion : 1941996140
LastLogReplayed : 0
LastLogInspected : 0
LastLogCopied : 0
LastLogGenerated : 4100
DataAvailabilityTime : 01.01.0001 00:00:00
DataProtectionTime : 01.01.0001 00:00:00
LastLogGeneratedTime : 01.01.0001 00:00:00
StatusRetrievedTime : 05.07.2013 05:44:06
ActiveDatabaseCopy : CASMBX01
MailboxServer : CASMBX01
DBName : Users05
DBGuid : 57da90db-bc6d-4bf3-b508-64d3bff41377
Event:4133
Database one datacenter health check failed.
Database copy: Users05
Redundancy count: 2
Error:
================
Full Copy Status
================
Database Copy : Users05\casmbx02
VolumeInfoLastError :
LogPathIsOnMountedFolder : False
LogVolumeName : \\?\Volume{beecae05-53ca-444d-ab5f-dd98510b4776}\
LogVolumeMountPoint : E:\
DatabasePathIsOnMountedFolder : False
DatabaseVolumeName : \\?\Volume{b92c9520-905f-4ee4-902d-1e73c26b1717}\
DatabaseVolumeMountPoint : F:\
ExchangeVolumeMountPoint :
LastDatabaseVolumeNameTransitionTime : 01.01.1601 00:00:00
LastDatabaseVolumeName :
DiskFreeSpacePercent : 90
DiskTotalSpaceBytes : 107237863424
DiskFreeSpaceBytes : 97164902400
SeedingSource : False
ActivationPreference : 2
LogsCopiedSinceInstanceStart : 45
LogsReplayedSinceInstanceStart : 86
ExtendedErrorInfo :
ErrorEventId : 0
ErrorMessage :
ReplayQueueNotKeepingUp : False
CopyQueueNotKeepingUp : False
SnapshotLatestCopyBackup : False
SnapshotLatestDifferentialBackup : False
SnapshotLatestIncrementalBackup : False
SnapshotLatestFullBackup : True
LatestCopyBackupTime : 01.01.1601 00:00:00
LatestDifferentialBackupTime : 01.01.1601 00:00:00
LatestIncrementalBackupTime : 01.01.1601 00:00:00
LatestFullBackupTime : 04.07.2013 19:31:34
LastLogCopyNotified : 4100
CurrentReplayLogTime : 05.07.2013 05:24:26
LastReplayedLogTime : 05.07.2013 05:39:26
LastInspectedLogTime : 05.07.2013 05:39:26
LastCopiedLogTime : 05.07.2013 05:39:26
LastLogInfoFromClusterGen : 4100
LastLogInfoFromClusterTime : 05.07.2013 05:44:01
LastLogInfoFromCopierTime : 05.07.2013 05:44:00
LastLogInfoIsStale : False
LastCopyNotifiedLogTime : 05.07.2013 05:39:26
LatestAvailableLogTime : 05.07.2013 05:39:26
DumpsterEndTime : 01.01.0001 00:00:00
DumpsterStartTime : 01.01.0001 00:00:00
DumpsterRequired : False
DumpsterServers :
ActionInitiator : Service
SuspendComment :
SinglePageRestoreNumber : 0
SinglePageRestore : False
ReplayLagPercentage : 0
ReplayLagPlayDownReason : None
ReplayLagEnabled : Disabled
ReplayLagDisabledReason :
ActualReplayLagTime : 00:04:40.1554322
ConfiguredReplayLagTime : 00:00:00
NodeStatus : Up
WorkerProcessId : 8740
ReseedBlocked : False
ResumeBlocked : False
ReplaySuspended : False
LostWrite : False
Viable : True
ActivationSuspended : False
DbSeedingKBytesWrittenPerSec : 0
DbSeedingKBytesReadPerSec : 0
DbSeedingKBytesWritten : 0
DbSeedingKBytesRead : 0
DbSeedingPercent : 0
ContentIndexSeedingSource :
ContentIndexSeedingPercent :
ContentIndexMailboxesToCrawl :
ContentIndexBacklog : 0
ContentIndexRetryQueueSize : 0
ContentIndexErrorMessage :
ContentIndexStatus : Healthy
LastStatusTransitionTime : 04.07.2013 17:46:02
InstanceStartTime : 04.07.2013 17:45:59
CICurrentness : Current
CopyStatus : Healthy
ServerVersion : 1941996140
LastLogReplayed : 4100
LastLogInspected : 4100
LastLogCopied : 4100
LastLogGenerated : 4100
DataAvailabilityTime : 05.07.2013 05:39:26
DataProtectionTime : 05.07.2013 05:39:26
LastLogGeneratedTime : 05.07.2013 05:44:06
StatusRetrievedTime : 05.07.2013 05:44:06
ActiveDatabaseCopy : CASMBX01
MailboxServer : CASMBX02
DBName : Users05
DBGuid : 57da90db-bc6d-4bf3-b508-64d3bff41377
Database Copy : Users05\casmbx01
VolumeInfoLastError :
LogPathIsOnMountedFolder : False
LogVolumeName : \\?\Volume{94937623-3da4-49ab-825e-49c982ec79f1}\
LogVolumeMountPoint : E:\
DatabasePathIsOnMountedFolder : False
DatabaseVolumeName : \\?\Volume{73a9913d-1660-487b-8a8b-b53cb017728e}\
DatabaseVolumeMountPoint : F:\
ExchangeVolumeMountPoint :
LastDatabaseVolumeNameTransitionTime : 01.01.1601 00:00:00
LastDatabaseVolumeName :
DiskFreeSpacePercent : 90
DiskTotalSpaceBytes : 107237863424
DiskFreeSpaceBytes : 96646443008
SeedingSource : False
ActivationPreference : 1
LogsCopiedSinceInstanceStart : 0
LogsReplayedSinceInstanceStart : 0
ExtendedErrorInfo :
ErrorEventId : 0
ErrorMessage :
ReplayQueueNotKeepingUp : False
CopyQueueNotKeepingUp : False
SnapshotLatestCopyBackup : False
SnapshotLatestDifferentialBackup : False
SnapshotLatestIncrementalBackup : False
SnapshotLatestFullBackup : True
LatestCopyBackupTime : 01.01.1601 00:00:00
LatestDifferentialBackupTime : 01.01.1601 00:00:00
LatestIncrementalBackupTime : 01.01.1601 00:00:00
LatestFullBackupTime : 03.07.2013 19:30:53
LastLogCopyNotified : 4100
CurrentReplayLogTime : 01.01.0001 00:00:00
LastReplayedLogTime : 01.01.0001 00:00:00
LastInspectedLogTime : 01.01.0001 00:00:00
LastCopiedLogTime : 01.01.0001 00:00:00
LastLogInfoFromClusterGen : 4100
LastLogInfoFromClusterTime : 05.07.2013 05:44:01
LastLogInfoFromCopierTime : 05.07.2013 05:44:06
LastLogInfoIsStale : False
LastCopyNotifiedLogTime : 05.07.2013 05:39:26
LatestAvailableLogTime : 01.01.0001 00:00:00
DumpsterEndTime : 01.01.0001 00:00:00
DumpsterStartTime : 01.01.0001 00:00:00
DumpsterRequired : False
DumpsterServers :
ActionInitiator : Unknown
SuspendComment :
SinglePageRestoreNumber : 0
SinglePageRestore : False
ReplayLagPercentage : 0
ReplayLagPlayDownReason : None
ReplayLagEnabled : Disabled
ReplayLagDisabledReason :
ActualReplayLagTime : 00:00:00
ConfiguredReplayLagTime : 00:00:00
NodeStatus : Up
WorkerProcessId : 7624
ReseedBlocked : False
ResumeBlocked : False
ReplaySuspended : False
LostWrite : False
Viable : False
ActivationSuspended : False
DbSeedingKBytesWrittenPerSec : 0
DbSeedingKBytesReadPerSec : 0
DbSeedingKBytesWritten : 0
DbSeedingKBytesRead : 0
DbSeedingPercent : 0
ContentIndexSeedingSource :
ContentIndexSeedingPercent :
ContentIndexMailboxesToCrawl :
ContentIndexBacklog : 0
ContentIndexRetryQueueSize : 0
ContentIndexErrorMessage :
ContentIndexStatus : Healthy
LastStatusTransitionTime : 01.01.0001 00:00:00
InstanceStartTime : 04.07.2013 17:45:58
CICurrentness : Current
CopyStatus : Mounted
ServerVersion : 1941996140
LastLogReplayed : 0
LastLogInspected : 0
LastLogCopied : 0
LastLogGenerated : 4100
DataAvailabilityTime : 01.01.0001 00:00:00
DataProtectionTime : 01.01.0001 00:00:00
LastLogGeneratedTime : 01.01.0001 00:00:00
StatusRetrievedTime : 05.07.2013 05:44:06
ActiveDatabaseCopy : CASMBX01
MailboxServer : CASMBX01
DBName : Users05
DBGuid : 57da90db-bc6d-4bf3-b508-64d3bff41377
RinkenHi.
I also ran the CheckDatabaseRedundancy.ps1 script. the output was:
DatabaseName : Users05
LastRedundancyCount : 0
CurrentRedundancyCount : 2
LastState : Unknown
CurrentState : Green
LastStateTransitionUtc : 11.07.2013 07:34:16
LastGreenTransitionUtc : 11.07.2013 07:34:16
LastRedTransitionUtc :
LastGreenReportedUtc : 11.07.2013 07:34:16
HasReportedGreenEvent : True
LastRedReportedUtc :
PreviousTotalRedDuration : 00:00:00
TotalRedDuration : 00:00:00
IsTransitioningState : True
HasErrorsInHistory : False
CurrentErrorMessages :
ErrorHistory :
IsOneDatacenter : False
CurrentRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
CurrentSearchRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
DatabaseName : Users04
LastRedundancyCount : 0
CurrentRedundancyCount : 2
LastState : Unknown
CurrentState : Green
LastStateTransitionUtc : 11.07.2013 07:34:16
LastGreenTransitionUtc : 11.07.2013 07:34:16
LastRedTransitionUtc :
LastGreenReportedUtc : 11.07.2013 07:34:16
HasReportedGreenEvent : True
LastRedReportedUtc :
PreviousTotalRedDuration : 00:00:00
TotalRedDuration : 00:00:00
IsTransitioningState : True
HasErrorsInHistory : False
CurrentErrorMessages :
ErrorHistory :
IsOneDatacenter : False
CurrentRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
CurrentSearchRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
DatabaseName : Users02
LastRedundancyCount : 0
CurrentRedundancyCount : 2
LastState : Unknown
CurrentState : Green
LastStateTransitionUtc : 11.07.2013 07:34:17
LastGreenTransitionUtc : 11.07.2013 07:34:17
LastRedTransitionUtc :
LastGreenReportedUtc : 11.07.2013 07:34:17
HasReportedGreenEvent : True
LastRedReportedUtc :
PreviousTotalRedDuration : 00:00:00
TotalRedDuration : 00:00:00
IsTransitioningState : True
HasErrorsInHistory : False
CurrentErrorMessages :
ErrorHistory :
IsOneDatacenter : False
CurrentRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
CurrentSearchRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
DatabaseName : Users03
LastRedundancyCount : 0
CurrentRedundancyCount : 2
LastState : Unknown
CurrentState : Green
LastStateTransitionUtc : 11.07.2013 07:34:17
LastGreenTransitionUtc : 11.07.2013 07:34:17
LastRedTransitionUtc :
LastGreenReportedUtc : 11.07.2013 07:34:17
HasReportedGreenEvent : True
LastRedReportedUtc :
PreviousTotalRedDuration : 00:00:00
TotalRedDuration : 00:00:00
IsTransitioningState : True
HasErrorsInHistory : False
CurrentErrorMessages :
ErrorHistory :
IsOneDatacenter : False
CurrentRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
CurrentSearchRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
DatabaseName : Users01
LastRedundancyCount : 0
CurrentRedundancyCount : 2
LastState : Unknown
CurrentState : Green
LastStateTransitionUtc : 11.07.2013 07:34:17
LastGreenTransitionUtc : 11.07.2013 07:34:17
LastRedTransitionUtc :
LastGreenReportedUtc : 11.07.2013 07:34:17
HasReportedGreenEvent : True
LastRedReportedUtc :
PreviousTotalRedDuration : 00:00:00
TotalRedDuration : 00:00:00
IsTransitioningState : True
HasErrorsInHistory : False
CurrentErrorMessages :
ErrorHistory :
IsOneDatacenter : False
CurrentRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
CurrentSearchRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
Rinken -
CSS to CSM migration and http health checking
Hi All,
I hope someone can help me here.
We are migrating number of web services to new DC and I have some issue migrating load balancing from CSS 11501 to CSM module in 6509 within new environment.
Here is config from CSS:
content WS1
vip address 192.168.1.125
add service 192.168.1.105-80-web1
add service 192.168.1.115-80-web2
port 80
protocol tcp
balance leastconn
active
service 192.168.1.105-80-web1
ip address 192.168.1.105
keepalive port 80
keepalive uri "/URIDirect_Default.aspx"
keepalive method get
keepalive type http
keepalive hash "44baffe2618ba829a6b14ad9bccfdcf4"
active
service 192.168.1.115-80-web2
ip address 192.168.1.115
keepalive port 80
keepalive uri "/URIDirect_Default.aspx"
keepalive method get
keepalive type http
keepalive hash "f41469e68c42273622774ec706e3ddcf"
active
With this config CSS uses URI health check to determine whether or not the app live on the nodes of the farm (CSS checks for certain file's existing in app's home folder by checking the hash value of the file name - I beleive so). This is also handy for windows team which remove/rename checked file on server when want to remove it from web farm.
However, reading manuals for CSM I can not see http health probe checking for hash, but only for return status.
Can someone help me with how can I replicate above configuration using CSM.
Regards,
SasaSasa,
the hash corresponds to a hash of all the text contained in the html page.
This is to guarantee that the page was not modified.
This is some kind of security in case a hacker would alter your pages.
The CSM does not have this feature.
But honestly, you usually get more troubles with this option than benefits.
If the Apps team wants to have the server down while changing files, they can I guess turn off the server themselves before doing changes. And then re-enable after.
Gilles. -
A10 Network and Siebel HTTP Health Check @ Application Tier
Hello,
I have a simple question around using the A10 network appliance and performing a simple HTTP Get Health, from the third party load balance, check against the ScBroker component. For example, within the A10 we would create a check check using the following: This is for third party load balancing at the application tier. I have performed this type of health check on other competitor devices such as F5, Cisco etc.
//IP Address of Siebel Application Server/Siebel Enterprise Name/ScBroker.
When I test the below HTTP Get health check both inside and outside the load balancer (using any web browser) I receive about 15-20 errors before receiving a ScBroker Status "Ok" message. This is a older version of Siebel (8.0.0.12) and I have double checked the Connection Forward algorithm for SCBroker which is set to "LL" least laden. The only other option would be to perform a health check at the TCP (SCBroker port 2321) layer which can cause multiple LB errors and leave connections missed at the port 2321 SCBroker layer. Essentially, A HTTP Get Health check at the application layer is the way to go. Has anyone experienced this error on the HTTP Get Health check? If so, what was the resolution for the health check.Hi zryan,
Your question is not clear enough.
If you want to use create client for transporting HTTP or SMTP messages, you can utilize these built-in classes in .Net Framework:
WebClient,
HttpWebRequest Class
SmtpClient Class
If you mean you want to intercept the network messages using C# code, please note the topic in this thread:
Contributors: How to avoid aiding
the development of malicious code
.Net Framework doesn't contain built-in objects for you to automatically detect the protocol of the network message.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
CSS and Oracle10gAS webcache health check
Both CSS LBR's HEAD and GET health check requests failed for http://ip.address.for.the.server/_oracle_http_server_webcache_static_.html, a magic URL from Oracle10gAS webcache that only resides in memory (no file exists on disk). But I can use browser or gui-less browser 'elinks' and access it via IP to that URL with no problem.
Has anyone here encountered this issue? Does anyone have solution for this?
Many thanks,WCCP Version 2 enables a series of Content Engines, called a Content Engine cluster, to connect to multiple routers. This feature provides redundancy and a more distributed architecture for instances when a Content Engine needs to connect to a large number of interfaces. This strategy also has the benefit of keeping all the Content Engines in a single cluster, avoiding unnecessary duplication of web pages across several clusters.
http://www.cisco.com/univercd/cc/td/doc/product/webscale/webcache/ce31/config31/appx_b.htm -
Exchange 2010 health-checks with encryption and ntlm auth
Hi everybody,
I will be forced to implement extended health-ckecks for Exchange 2010 CAS Servers. So the cisco design guide does not help
Exchange2010 CAS Service needs ntlm auth for many services by default. http://technet.microsoft.com/en-us/library/bb331973.aspx
Now with SP1 also for pop3 and imap4. I have not found any option to use ntlm by default.
The next problem is encryption.
Health-checks with encryption are not integrated in cisco ace 4710 by default.
As an alternative to try a scripted health-check with tcl script is an option but needs more investigation and is timeconsuming.
I watched for other vendors solution, they use e.g. external imported shell scripts with curl (curl -s --ntlm -k -X POST ...) to do a health-check with ntlm. That would be fine at the moment to beat the requirement of extendet health-checks.
But maybe it is only ntlm verion 1, I do not know what happens if it comes to ntlm version 2.
Kerberos authentication is a much bigger problem, but at the moment not a requirement.
Does anybody has some hints or also a tcl script for exchange health-checks ?
Best Regards
AloisHi everybody,
I will be forced to implement extended health-ckecks for Exchange 2010 CAS Servers. So the cisco design guide does not help
Exchange2010 CAS Service needs ntlm auth for many services by default. http://technet.microsoft.com/en-us/library/bb331973.aspx
Now with SP1 also for pop3 and imap4. I have not found any option to use ntlm by default.
The next problem is encryption.
Health-checks with encryption are not integrated in cisco ace 4710 by default.
As an alternative to try a scripted health-check with tcl script is an option but needs more investigation and is timeconsuming.
I watched for other vendors solution, they use e.g. external imported shell scripts with curl (curl -s --ntlm -k -X POST ...) to do a health-check with ntlm. That would be fine at the moment to beat the requirement of extendet health-checks.
But maybe it is only ntlm verion 1, I do not know what happens if it comes to ntlm version 2.
Kerberos authentication is a much bigger problem, but at the moment not a requirement.
Does anybody has some hints or also a tcl script for exchange health-checks ?
Best Regards
Alois -
Responsibility and health check
hi friends
just need some help to prepare good document as my management insited
i am only the dba working for two node rac
windows
10.2.0.4
asm
here if any issue arrives i am only the person to handle,so my management decided to list out all the activities.
from i just what are daily health check or responsibilities of sys admin,os level admin,asm leve...............storage dept .............architect leve
as i have updated database level activities
can you please give me list of activities they should handle in this enivronment(sys admin,os level admin,asm leve...............storage dept .............architect leve)
thanks for your help and support
cheersThese are the tasks for the oralce dba. For the other related fields , either check their doc guide or ask the people who work in that domain,
http://download.oracle.com/docs/cd/E11882_01/server.112/e17120/dba002.htm#i1006205
Aman.... -
How can I support a health check, from a load balancer?
My company has load balancers which use health checks to determine if the end point is available for client traffic. The basic health check is a tcp ping, and will tell you if the device is on the network. The next level of health check is an http request. This request, and the response are static, you can’t create your own version of the request and response. The standard request is this:
http://host:port/healthcheck/hc.html
The standard response is this:
“The server is available”
I want to use the load balancer as part of my total deployment. The problem is that I am not seeing how to support this health check request and response in the MDEX engine. What I see is this request
http://host:port/admin?op=ping
Will return this response
dgraph <host>: <port> responding at <day month year time>
It is nice that there is a built in ping, but I am not able to make use of it. I am new to Endeca and still poking around. The dgraph process listens on a port set up in <…>/config/script/AppContext.xml
<dgraph id="Dgraph1" host-id="MDEXHost" port="3281">
<properties>
<property name="restartGroup" value="A" />
<property name="updateGroup" value="a" />
</properties>
<log-dir>./logs/dgraphs/Dgraph1</log-dir>
<input-dir>./data/dgraphs/Dgraph1/dgraph_input</input-dir>
<update-dir>./data/dgraphs/Dgraph1/dgraph_input/updates</update-dir>
</dgraph>
(I am not using the default port, as I only have an instance on a shared server and have to worry about port clashing. But that is a different thread.)
In a standard tc Server install I can support this health check by doing this:
* Create a directory named “healthcheck”, in the “webapps” directory.
* Place a file name “hc.html” in that directory, which contains “The server is available”
The one hack which comes to mind is to write a servlet which would be able to be a smart proxy for the load balancer health check. It would pass along any regular traffic to the MDEX engine. But if the request was a health check it would send “admin?op=ping” to the MDEX engine, and for a good response from the engine, create and pass back the correct response to the load balancer.
Ideas, comments, flames, …
ThanksHi, we are using following String to test the MDEX ping response but we get the invalid version formation on dgraph.log -
following is on F5
GET /admin?op=ping HTTP/1.1/r/nHost:myhost.endeca.com:19000/r/nConnection:close/r/n/r/n
Following gets logged on Dgraph.log
WARN 09/05/12 05:30:03.799 UTC (1346823003799) DGRAPH {dgraph} Invalid version format in 'HTTP/1.1/r/nHost:myhost.endeca.com:19000/r/nConnection:close/r/n/r/n'
Please let me know - if you have any suggestions to solve this issue.
I know that it works from browser and wget from unix with following commands.
wget http://myhost.endeca.com:19000/admin?op=ping - from unix command line
from browser:
http://myhost.endeca.com:19000/admin?op=ping
Thanks,
Ram -
Health check for load balancing ALSB/OSB instances
What is the standard practice for a load balancer sitting in front of ALSB/OSB instances as far as a health check? I'm working with our IS department to implement a valid health check. Currently the load balancer (older model cisco device) is just checking for an active port which is generating excessive logging on the ALSB side. As a workaround I'm just going to have the loadbalancer check for a http 200 response and a greater than zero body size.
thanks in advance...it depends on the type of load balancer what it can do. I suggest create a 'empty' proxy service that does not have logging or auditing. Publish the prox and use this webservice in your load balancer to check if the service is available.
Marc -
I am looking for per-protocol health checks to work with a Netscaler load balancer for Exchange 2010. I have the one for OWA working (see below), but I cannot seem to find anything else on the other protocols (ECP, EWS, OAB, AS, etc.). Does anyone have this
information? Citrix website is less then helpful.
OWA health check:
Custom header: Agent: Mozilla/4.0\r\nHost: FQDN\r\n
Send String: GET /owa/auth/logon.aspx?url=https://FQDN/owa/&reason=0
Receive String: Outlook
MCITP Exchange 2010 | MCTS Exchange 2007 | MCITP Lync Server 2010 | MCTS Windows 2008 | MCSE 2003Hi,
Ways to locate the IIS log on your CAS/FE server:
http://social.technet.microsoft.com/Forums/exchange/en-US/935eeb5b-d996-4933-9cbd-0347ebad801d/how-can-i-view-exchange-iis-logs?forum=exchange2010
Thanks,
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Simon Wu
TechNet Community Support -
Health Check in Exchange 2007 Scripting
Hi All,
I have been looking around for scripts which would help me perform regularised health checks in my enviornment. After lot of googling i was able to get a script which would meet my requirements. However i have a few challenges involved in extracting some
more information:
1. Mailbox Store Size, Free Diskspace percentage for mailbox servers
2. Remote Mail flow Tests & Mailflow test to every exchange 2007 mailbox servers in org.
3. Automating Email of collected data (in HTML) to Administrator.
4. Executing the script Automatically without triggering it from Exchange Management Shell.
Script Below
param( [string] $auditlist)
Function Get-CustomHTML ($Header){
$Report = @"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html><head><title>$($Header)</title>
<META http-equiv=Content-Type content='text/html; charset=windows-1252'>
<meta name="save" content="history">
<style type="text/css">
DIV .expando {DISPLAY: block; FONT-WEIGHT: normal; FONT-SIZE: 8pt; RIGHT: 8px; COLOR: #ffffff; FONT-FAMILY: Arial; POSITION: absolute; TEXT-DECORATION: underline}
TABLE {TABLE-LAYOUT: fixed; FONT-SIZE: 100%; WIDTH: 100%}
*{margin:0}
.dspcont { display:none; BORDER-RIGHT: #B1BABF 1px solid; BORDER-TOP: #B1BABF 1px solid; PADDING-LEFT: 16px; FONT-SIZE: 8pt;MARGIN-BOTTOM: -1px; PADDING-BOTTOM: 5px; MARGIN-LEFT: 0px; BORDER-LEFT: #B1BABF 1px solid; WIDTH: 95%; COLOR: #000000; MARGIN-RIGHT:
0px; PADDING-TOP: 4px; BORDER-BOTTOM: #B1BABF 1px solid; FONT-FAMILY: Tahoma; POSITION: relative; BACKGROUND-COLOR: #f9f9f9}
.filler {BORDER-RIGHT: medium none; BORDER-TOP: medium none; DISPLAY: block; BACKGROUND: none transparent scroll repeat 0% 0%; MARGIN-BOTTOM: -1px; FONT: 100%/8px Tahoma; MARGIN-LEFT: 43px; BORDER-LEFT: medium none; COLOR: #ffffff; MARGIN-RIGHT: 0px; PADDING-TOP:
4px; BORDER-BOTTOM: medium none; POSITION: relative}
.save{behavior:url(#default#savehistory);}
.dspcont1{ display:none}
a.dsphead0 {BORDER-RIGHT: #B1BABF 1px solid; PADDING-RIGHT: 5em; BORDER-TOP: #B1BABF 1px solid; DISPLAY: block; PADDING-LEFT: 5px; FONT-WEIGHT: bold; FONT-SIZE: 8pt; MARGIN-BOTTOM: -1px; MARGIN-LEFT: 0px; BORDER-LEFT: #B1BABF 1px solid; CURSOR: hand; COLOR:
#FFFFFF; MARGIN-RIGHT: 0px; PADDING-TOP: 4px; BORDER-BOTTOM: #B1BABF 1px solid; FONT-FAMILY: Tahoma; POSITION: relative; HEIGHT: 2.25em; WIDTH: 95%; BACKGROUND-COLOR: #CC0000}
a.dsphead1 {BORDER-RIGHT: #B1BABF 1px solid; PADDING-RIGHT: 5em; BORDER-TOP: #B1BABF 1px solid; DISPLAY: block; PADDING-LEFT: 5px; FONT-WEIGHT: bold; FONT-SIZE: 8pt; MARGIN-BOTTOM: -1px; MARGIN-LEFT: 0px; BORDER-LEFT: #B1BABF 1px solid; CURSOR: hand; COLOR:
#ffffff; MARGIN-RIGHT: 0px; PADDING-TOP: 4px; BORDER-BOTTOM: #B1BABF 1px solid; FONT-FAMILY: Tahoma; POSITION: relative; HEIGHT: 2.25em; WIDTH: 95%; BACKGROUND-COLOR: #7BA7C7}
a.dsphead2 {BORDER-RIGHT: #B1BABF 1px solid; PADDING-RIGHT: 5em; BORDER-TOP: #B1BABF 1px solid; DISPLAY: block; PADDING-LEFT: 5px; FONT-WEIGHT: bold; FONT-SIZE: 8pt; MARGIN-BOTTOM: -1px; MARGIN-LEFT: 0px; BORDER-LEFT: #B1BABF 1px solid; CURSOR: hand; COLOR:
#ffffff; MARGIN-RIGHT: 0px; PADDING-TOP: 4px; BORDER-BOTTOM: #B1BABF 1px solid; FONT-FAMILY: Tahoma; POSITION: relative; HEIGHT: 2.25em; WIDTH: 95%; BACKGROUND-COLOR: #7BA7C7}
a.dsphead1 span.dspchar{font-family:monospace;font-weight:normal;}
td {VERTICAL-ALIGN: TOP; FONT-FAMILY: Tahoma}
th {VERTICAL-ALIGN: TOP; COLOR: #CC0000; TEXT-ALIGN: left}
BODY {margin-left: 4pt}
BODY {margin-right: 4pt}
BODY {margin-top: 6pt}
</style>
<script type="text/javascript">
function dsp(loc){
if(document.getElementById){
var foc=loc.firstChild;
foc=loc.firstChild.innerHTML?
loc.firstChild:
loc.firstChild.nextSibling;
foc.innerHTML=foc.innerHTML=='hide'?'show':'hide';
foc=loc.parentNode.nextSibling.style?
loc.parentNode.nextSibling:
loc.parentNode.nextSibling.nextSibling;
foc.style.display=foc.style.display=='block'?'none':'block';}}
if(!document.getElementById)
document.write('<style type="text/css">\n'+'.dspcont{display:block;}\n'+ '</style>');
</script>
</head>
<body>
<b><font face="Arial" size="5">$($Header)</font></b><hr size="8" color="#CC0000">
<font face="Arial" size="1"><b>Version 1 |M & C | <A HREF='http://mail.exchange.com'>mail.exchange.com</A></b></font><br>
<font face="Arial" size="1">Report created on $(Get-Date)</font>
<div class="filler"></div>
<div class="filler"></div>
<div class="filler"></div>
<div class="save">
Return $Report
Function Get-CustomHeader0 ($Title){
$Report = @"
<div class="dspcont0">
<h1><a href="javascript:void(0)" class="dsphead0" onclick="dsp(this)">
<span class="expando">show</span>$($Title)</a></h1>
<div class="dspcont0">
Return $Report
Function Get-CustomHeader ($Num, $Title){
$Report = @"
<h2><a href="javascript:void(0)" class="dsphead$($Num)" onclick="dsp(this)">
<span class="expando">show</span>$($Title)</a></h2>
<div class="dspcont">
Return $Report
Function Get-CustomHeaderClose{
$Report = @"
</DIV>
<div class="filler"></div>
Return $Report
Function Get-CustomHeader0Close{
$Report = @"
</DIV>
<div class="filler"></div>
Return $Report
Function Get-CustomHTMLClose{
$Report = @"
</div>
</body>
</html>
Return $Report
Function Get-HTMLTable{
param([array]$Content)
$HTMLTable = $Content | ConvertTo-Html
$HTMLTable = $HTMLTable -replace '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">', ""
$HTMLTable = $HTMLTable -replace '<html xmlns="http://www.w3.org/1999/xhtml">', ""
$HTMLTable = $HTMLTable -replace '<head>', ""
$HTMLTable = $HTMLTable -replace '<title>HTML TABLE</title>', ""
$HTMLTable = $HTMLTable -replace '<', "<"
$HTMLTable = $HTMLTable -replace '>', ">"
$HTMLTable = $HTMLTable -replace '</head><body>', ""
$HTMLTable = $HTMLTable -replace '</body></html>', ""
Return $HTMLTable
Function Get-HTMLLink ($activeURL){
$Report = @"
<a href=$activeURL>$activeURL</a>
Return $Report
Function Get-Ink ([String]$inData){
[String]$inclPercentage = @(35..100)
$positive = ($inclPercentage, 'Success', 'Ready', 'Running', 'OK', 'True', 'Information')
If ($positive -match $inData)
$Report = @"
<font color='#009900'>$inData</font>
Else
$Report = @"
<font color='#FF0000'>$inData</font>
Return $Report
Function Get-HTMLBasic ($Detail){
$Report = @"
<TABLE>
<tr>
<td width='75%'>$($Detail)</td>
</tr>
</TABLE>
Return $Report
Function Get-HTMLDetail ($Heading, $Detail){
$Report = @"
<TABLE>
<tr>
<th width='25%'><b>$Heading</b></font></th>
<td width='75%'>$($Detail)</td>
</tr>
</TABLE>
Return $Report
$input | foreach {$targets += @($_)}
If ((Test-Path variable:\targets) -eq $True){
Write-Host "Server list input detected on pipeline" -ForegroundColor Yellow
Else{
if ($auditlist -eq ""){
Write-Host "No server list specified, getting all Exchange 2007 servers" -ForegroundColor Yellow
$targets = Get-ExchangeServer | Where-Object {$_.IsExchange2007OrLater -eq $True}
else
if ((Test-Path $auditlist) -eq $false)
Write-Host "Invalid server list specified: $auditlist" -ForegroundColor DarkRed
exit
else
Write-Host "Using Audit list: $auditlist" -ForegroundColor Cyan
$Targets = Get-Content $auditlist
$now = Get-Date
#Custom Expressions
$latencyMS = @{Name="Latency(MS)";expression={[Math]::Round(([TimeSpan] $_.Latency).TotalMilliSeconds)}}
$MessageLatencyTime = @{Name="MessageLatencyTime";expression={[Math]::Round(([TimeSpan] $_.Latency).TotalMilliSeconds)}}
$hotLink = @{Name="URL";expression={Get-HTMLLink ($_.URL)}}
$colourResult = @{Name="Result";expression={Get-Ink ($_.Result)}}
$colourStatus = @{Name="Status";expression={Get-Ink ($_.Status)}}
$colourType = @{Name="Status";expression={Get-Ink ($_.Type)}}
$newResult = @{Name="Result";expression={If ($_.Result.ToString() -ne 'Success'){Get-Ink ('Failure')} Else {Get-Ink ('Success') }}}
$fullReport = Get-CustomHTML "Exchange 2007 "
$fullReport += Get-CustomHTMLClose
Foreach ($Target in $Targets){
Write-Host "Collating Detail for $Target" -ForegroundColor Yellow
Write-Host "..getting basic computer configuration"
$ComputerSystem = Get-WmiObject -computername $Target Win32_ComputerSystem
switch ($ComputerSystem.DomainRole){
0 { $ComputerRole = "Standalone Workstation" }
1 { $ComputerRole = "Member Workstation" }
2 { $ComputerRole = "Standalone Server" }
3 { $ComputerRole = "Member Server" }
4 { $ComputerRole = "Domain Controller" }
5 { $ComputerRole = "Domain Controller" }
default { $ComputerRole = "Information not available" }
$OperatingSystems = Get-WmiObject -computername $Target Win32_OperatingSystem
$TimeZone = Get-WmiObject -computername $Target Win32_Timezone
$Keyboards = Get-WmiObject -computername $Target Win32_Keyboard
$SchedTasks = Get-WmiObject -computername $Target Win32_ScheduledJob
$BootINI = $OperatingSystems.SystemDrive + "boot.ini"
$RecoveryOptions = Get-WmiObject -computername $Target Win32_OSRecoveryConfiguration
$exServer = Get-ExchangeServer | where {$_.Name -eq "$Target"}
$exVersion = "Version " + $exServer.AdminDisplayVersion.Major + "." + $exServer.AdminDisplayVersion.Minor + " (Build " + $exServer.AdminDisplayVersion.Build + "." + $exServer.AdminDisplayVersion.Revision + ")"
switch ($ComputerRole){
"Member Workstation" { $CompType = "Computer Domain"; break }
"Domain Controller" { $CompType = "Computer Domain"; break }
"Member Server" { $CompType = "Computer Domain"; break }
default { $CompType = "Computer Workgroup"; break }
$LBTime=$OperatingSystems.ConvertToDateTime($OperatingSystems.Lastbootuptime)
$MyReport += Get-CustomHeader0 "$Target - Role(s): $($exServer.ServerRole)"
$MyReport += Get-CustomHeader "2" "Basic Server Information"
$MyReport += Get-HTMLDetail "Computer Name" ($ComputerSystem.Name)
$MyReport += Get-HTMLDetail "Computer Role" ($ComputerRole)
$MyReport += Get-HTMLDetail "Exchange Role(s)" ($exServer.ServerRole)
$MyReport += Get-HTMLDetail "Last System Boot" ($LBTime)
$MyReport += Get-CustomHeaderClose
Write-Host "..getting logical disk configuration"
$Disks = Get-WmiObject -ComputerName $Target Win32_LogicalDisk
$MyReport += Get-CustomHeader "2" "Logical Disk Configuration"
$LogicalDrives = @()
Foreach ($LDrive in ($Disks | Where {$_.DriveType -eq 3})){
$Details = "" | Select "Drive Letter", Label, "File System", "Disk Size (GB)", "Disk Free Space", "% Free Space"
$Details."Drive Letter" = $LDrive.DeviceID
$Details.Label = $LDrive.VolumeName
$Details."File System" = $LDrive.FileSystem
$Details."Disk Size (GB)" = [math]::round(($LDrive.size / 1GB))
$Details."Disk Free Space" = [math]::round(($LDrive.FreeSpace / 1GB))
$Details."% Free Space" = Get-Ink ([Math]::Round(($LDrive.FreeSpace /1GB) / ($LDrive.Size / 1GB) * 100))
$LogicalDrives += $Details
$MyReport += Get-HTMLTable ($LogicalDrives)
$MyReport += Get-CustomHeaderClose
if ($exServer.ServerRole -like "*ClientAccess*")
{$MyReport += Get-CustomHeader "2" "OWA Connectivity"
Write-Host "..performing OWA connectivity test"
$colOWAResults = Test-OwaConnectivity -ClientAccessServer $Target
$MyReport += Get-HTMLTable ($colOWAResults | select MailboxServer, $hotLink, Scenario, $colourResult, $latencyMS, Error)
$MyReport += Get-CustomHeaderClose
Write-Host "..getting queue details"
if ($exServer.ServerRole -like "*HubTransport*")
$MyReport += Get-CustomHeader "2" "Queue Information"
$colQs = Get-Queue -server $Target
$MyReport += Get-HTMLTable ($colQs | Select-Object NextHopDomain, $colourStatus, MessageCount, NextRetryTime)
$MyReport += Get-CustomHeaderClose
Write-Host "..getting mailbox database information"
$spaceLog=[System.Diagnostics.EventLog]::GetEventLogs($target) | where {($_.LogDisplayName -eq "Application")}
$db = @{Name="database";Expression={$_.ReplacementStrings[1]}}
$freeMB = @{Name="MB";Expression={[int]$_.ReplacementStrings[0]}}
$whiteSpace = $spaceLog.entries | where {($_.TimeWritten -ge $now.AddDays(-1))} | where {($_.EventID -eq "1221")} | select $db,$freeMB
$ws = @{Name="White Space";expression={}}
if ($exServer.ServerRole -like "*Mailbox*")
$MyReport += Get-CustomHeader "2" "Mailbox Stores"
$colMailboxStores = Get-MailboxDatabase -Server $Target -Status | Sort-Object Name
$storeTable = @()
Foreach ($objMailboxStore in $colMailboxStores)
[string]$totalUsers = (get-mailbox -database $objMailboxStore).count
[string]$empty = $totalUsers.Length -eq 0
if ($empty -eq 'True')
[string]$totalUsers = "0"
$storeDetails = "" | Select Name, Mounted, "Total Users", "White Space", LastFullBackup
$storeDetails.Name = $objMailboxStore.Name
$storeDetails.Mounted = Get-Ink ($objMailboxStore.Mounted)
$storeDetails."Total Users" = $totalUsers
$storeDetails."White Space" = (($whitespace | where {$_.database -match $objMailboxStore.Name} | select -last 1).mb)
$storeDetails.LastFullBackup = $objMailboxStore.LastFullBackup
$storeTable += $storeDetails
$MyReport += Get-HTMLTable ($storeTable)
$MyReport += Get-CustomHeaderClose
$MyReport += Get-CustomHeader "2" "MAPI Connectivity"
Write-Host "..performing MAPI connectivity test"
$colMAPIResults = Test-MAPIConnectivity -Server $Target
$MyReport += Get-HTMLTable ($colMAPIResults | select Database, $newResult, $latencyMS, Error)
$MyReport += Get-CustomHeaderClose
$MyReport += Get-CustomHeader "2" "Mailflow Test"
Write-Host "..performing Mailflow test"
$colMailflowResults = Test-Mailflow -Server $Target
$MyReport += Get-HTMLTable ($colMailflowResults | select TestMailflowResult, $MessageLatencyTime)
$MyReport += Get-CustomHeaderClose
Write-Host "..getting Exchange services"
$ListOfServices = (gwmi -computer $Target -query "select * from win32_service where Name like 'MSExchange%' or Name like 'IIS%' or Name like 'SMTP%' or Name like 'POP%' or Name like 'W3SVC%'")
$MyReport += Get-CustomHeader "2" "Exchange Services"
$Services = @()
Foreach ($Service in $ListOfServices){
$Details = "" | Select Name,Account,"Start Mode",State,"Expected State"
$Details.Name = $Service.Caption
$Details.Account = $Service.Startname
$Details."Start Mode" = $Service.StartMode
If ($Service.StartMode -eq "Auto")
if ($Service.State -eq "Stopped")
$Details.State = $Service.State
$Details."Expected State" = Get-Ink ("Unexpected")
If ($Service.StartMode -eq "Auto")
if ($Service.State -eq "Running")
$Details.State = $Service.State
$Details."Expected State" = Get-Ink ("OK")
If ($Service.StartMode -eq "Disabled")
If ($Service.State -eq "Running")
$Details.State = $Service.State
$Details."Expected State" = Get-Ink ("Unexpected")
If ($Service.StartMode -eq "Disabled")
if ($Service.State -eq "Stopped")
$Details.State = $Service.State
$Details."Expected State" = Get-Ink ("OK")
If ($Service.StartMode -eq "Manual")
$Details.State = $Service.State
$Details."Expected State" = Get-Ink ("OK")
If ($Service.State -eq "Paused")
$Details.State = $Service.State
$Details."Expected State" = Get-Ink ("OK")
$Services += $Details
$MyReport += Get-HTMLTable ($Services)
$MyReport += Get-CustomHeaderClose
$eventLogs=[System.Diagnostics.EventLog]::GetEventLogs($Target) | where {($_.LogDisplayName -eq "Application") -OR ($_.LogDisplayName -eq "System")}
$warningEvents = @()
$errorEvents = @()
$LogSettings = @()
$MyReport += Get-CustomHTMLClose
$fullReport += $MyReport
$MyReport = $null
$Date = Get-Date
$Filename = ".\" + "Exchange_Health" + "_" + $date.Hour + $date.Minute + "_" + $Date.Day + "-" + $Date.Month + "-" + $Date.Year + ".htm"
$fullReport | out-file -encoding ASCII -filepath $Filename
Write "Audit saved as $Filename"
Invoke-Item $Filenameplease refer to my scripts below, it should get you started.
http://www.myexchangeworld.com/2010/03/powershell-disk-space-html-email-report/
http://www.myexchangeworld.com/2010/07/powershell-script-to-monitor-exchange-server-2010-services-email-report/
you can customsise this to your needs and add relevant information.
cheers
thiyagu
Thiyagu | MCTS/MCITP - Exchange 2007 | MCSE 2003[Messaging] | http://www.myExchangeWorld.com. This posting is provided "AS IS" with no warranties, and confers no rights. -
How to health check time capsule disk
how to health check time capsule disk?
when doing time machine backuping and copying files into time capsule, it would take ages and very long time.. is the disk going to die soon?
is there anyway i can check the disk?
my time capsule is 2TB current model.
please help.
thank you.Time Machine automatically checks the backups on the disk. It does a quick check (a few seconds) before every backup, and periodically (every month, I think) does a much more thorough check.
You can do that yourself, by holding the Alt/Option key while selecting the TM icon in your menubar, and selecting Verify Backups. That may take quite a while, if you have a lot of data. I'd recommend connecting via Ethernet, as it will still be slow, but 2-3 times faster than WIFI. -
Turning Off The Alert - Notebook PC Battery Replacement Program Alert in Health Check.
I want to turn off the Notebook PC Battery Replacement Program Alert in Health Check. It continues to alert me for months now. This is driving me batty since I have checked it 3 times and it is not included in the recall! I have a HP Pavillion dv6000 running Windows Vista Home Premium Edition. Any help to turn this darn alert off permanently would be very helpful. Thanks.
Thank you to all who have read this post so far. Please continue to contact HP directly using the above information.
Matthew|Community Advocate | Best Buy® Corporate
Visit our Channel on
Private Message -
Health Check on 11.5.9
Hi Friends,
I want to do Health check on my E-Business suite 11.5.9(both Database and Application) please suggest how to do?
Regards,
ArunHi,
Hi Arun,
You can refer the following ML doc,
[Oracle Application Object Library Best Practices: E-Business Suite Diagnostic Tests Health Check Test|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=471667.1]
Thanks,
Anchorage :)Do NOT use this document and install the script since it is for R12 (you are on 11.5.9).
Regards,
Hussein -
Vmware vsphere health check report v5.1.0
Hi,
I'm currently using the vmware vsphere health check report v5.1.0 script. I switched from another perl script to this and the report provide much more information. There is one thing that don't seem to work properly though..
I currently have a failed disk in my server and the report is showing "unknown" status next to 3 disk / disk day. If I run the other script I have used in the past, I have 3 alerts in red clearly showing that something has failed. Would any of you know why it's showing as unknown instead of critical in the report?
Old Script
o Disk or Disk Bay 15 Drive 15 0: Drive Fault - Deassert: 0
o Disk or Disk Bay 15 Drive 15 0: Predictive Failure - Deassert: 0
o Disk or Disk Bay 15 Drive 15 0: In Critical Array - Deassert: 0
o Disk or Disk Bay 15 Drive 15 0: In Failed Array - Deassert: 0
o Disk or Disk Bay 15 Drive 15 0: Rebuild In Progress - Deassert: 0
o Disk or Disk Bay 14 Drive 14 0: Drive Fault - Deassert: 0
o Disk or Disk Bay 14 Drive 14 0: Predictive Failure - Deassert: 0
o Disk or Disk Bay 14 Drive 14 0: In Critical Array - Deassert: 0
o Disk or Disk Bay 14 Drive 14 0: In Failed Array - Deassert: 0
o Disk or Disk Bay 14 Drive 14 0: Rebuild In Progress - Deassert: 0
o Disk or Disk Bay 13 Drive 13 0: Drive Fault - Deassert: 0
o Disk or Disk Bay 13 Drive 13 0: Predictive Failure - Deassert: 0
o Disk or Disk Bay 13 Drive 13 0: In Critical Array - Deassert: 0
o Disk or Disk Bay 13 Drive 13 0: In Failed Array - Deassert: 0
o Disk or Disk Bay 13 Drive 13 0: Rebuild In Progress - Deassert: 0
o Disk or Disk Bay 12 Drive 12 0: Drive Fault - Deassert: 0
o Disk or Disk Bay 12 Drive 12 0: Predictive Failure - Deassert: 0
o Disk or Disk Bay 12 Drive 12 0: In Critical Array - Deassert: 0
o Disk or Disk Bay 12 Drive 12 0: In Failed Array - Deassert: 0
o Disk or Disk Bay 12 Drive 12 0: Rebuild In Progress - Deassert: 0
o Disk or Disk Bay 11 Drive 11 0: Drive Fault - Deassert: 0
o Disk or Disk Bay 11 Drive 11 0: Predictive Failure - Deassert: 0
o Disk or Disk Bay 11 Drive 11 0: In Critical Array - Deassert: 0
o Disk or Disk Bay 11 Drive 11 0: In Failed Array - Deassert: 0
o Disk or Disk Bay 11 Drive 11 0: Rebuild In Progress - Deassert: 0
o Disk or Disk Bay 10 Drive 10 0: Drive Fault - Deassert: 0
o Disk or Disk Bay 10 Drive 10 0: Predictive Failure - Deassert: 0
o Disk or Disk Bay 10 Drive 10 0: In Critical Array - Deassert: 0
o Disk or Disk Bay 10 Drive 10 0: In Failed Array - Deassert: 0
o Disk or Disk Bay 10 Drive 10 0: Rebuild In Progress - Deassert: 0
o Disk or Disk Bay 9 Drive 9 0: Drive Fault - Deassert: 0
o Disk or Disk Bay 9 Drive 9 0: Predictive Failure - Deassert: 0
o Disk or Disk Bay 9 Drive 9 0: In Critical Array - Deassert: 0
o Disk or Disk Bay 9 Drive 9 0: In Failed Array - Deassert: 0
o Disk or Disk Bay 9 Drive 9 0: Rebuild In Progress - Deassert: 0
o Disk or Disk Bay 8 Drive 8 0: Drive Fault - Deassert: 0
o Disk or Disk Bay 8 Drive 8 0: Predictive Failure - Deassert: 0
o Disk or Disk Bay 8 Drive 8 0: In Critical Array - Deassert: 0
o Disk or Disk Bay 8 Drive 8 0: In Failed Array - Deassert: 0
o Disk or Disk Bay 8 Drive 8 0: Rebuild In Progress - Deassert: 0
o Disk or Disk Bay 7 Drive 7 0: Drive Fault - Deassert: 0
o Disk or Disk Bay 7 Drive 7 0: Predictive Failure - Deassert: 0
o Disk or Disk Bay 7 Drive 7 0: In Critical Array - Deassert: 0
o Disk or Disk Bay 7 Drive 7 0: In Failed Array - Deassert: 0
o Disk or Disk Bay 7 Drive 7 0: Rebuild In Progress - Deassert: 0
o Disk or Disk Bay 6 Drive 6 0: Drive Fault - Deassert: 0
o Disk or Disk Bay 6 Drive 6 0: Predictive Failure - Deassert: 0
o Disk or Disk Bay 6 Drive 6 0: In Critical Array - Deassert: 0
o Disk or Disk Bay 6 Drive 6 0: In Failed Array - Deassert: 0
o Disk or Disk Bay 6 Drive 6 0: Rebuild In Progress - Deassert: 0
o Disk or Disk Bay 5 Drive 5 0: Drive Fault - Deassert: 0
o Disk or Disk Bay 5 Drive 5 0: Predictive Failure - Deassert: 0
o Disk or Disk Bay 5 Drive 5 0: In Critical Array - Deassert: 0
o Disk or Disk Bay 5 Drive 5 0: In Failed Array - Deassert: 0
o Disk or Disk Bay 5 Drive 5 0: Rebuild In Progress - Deassert: 0
o Disk or Disk Bay 4 Drive 4 0: Drive Fault - Deassert: 0
o Disk or Disk Bay 4 Drive 4 0: Predictive Failure - Deassert: 0
o Disk or Disk Bay 4 Drive 4 0: In Critical Array - Deassert: 0
o Disk or Disk Bay 4 Drive 4 0: In Failed Array - Deassert: 0
o Disk or Disk Bay 4 Drive 4 0: Rebuild In Progress - Deassert: 0
o Disk or Disk Bay 3 Drive 3 0: Drive Fault - Deassert: 0
o Disk or Disk Bay 3 Drive 3 0: Predictive Failure - Deassert: 0
o Disk or Disk Bay 3 Drive 3 0: In Critical Array - Deassert: 0
o Disk or Disk Bay 3 Drive 3 0: In Failed Array - Deassert: 0
o Disk or Disk Bay 3 Drive 3 0: Rebuild In Progress - Deassert: 0
o Disk or Disk Bay 2 Drive 2 0: Drive Fault - Assert: 0
o Disk or Disk Bay 2 Drive 2 0: Predictive Failure - Deassert: 0
o Disk or Disk Bay 2 Drive 2 0: In Critical Array - Deassert: 0
o Disk or Disk Bay 2 Drive 2 0: In Failed Array - Deassert: 0
o Disk or Disk Bay 2 Drive 2 0: Rebuild In Progress - Deassert: 0
o Disk or Disk Bay 1 Drive 1 0: Drive Fault - Deassert: 0
o Disk or Disk Bay 1 Drive 1 0: Predictive Failure - Deassert: 0
o Disk or Disk Bay 1 Drive 1 0: In Critical Array - Assert: 0
o Disk or Disk Bay 1 Drive 1 0: In Failed Array - Deassert: 0
o Disk or Disk Bay 1 Drive 1 0: Rebuild In Progress - Deassert: 0
o Disk or Disk Bay 0 Drive 0 0: Drive Fault - Deassert: 0
o Disk or Disk Bay 0 Drive 0 0: Predictive Failure - Deassert: 0
o Disk or Disk Bay 0 Drive 0 0: In Critical Array - Assert: 0
o Disk or Disk Bay 0 Drive 0 0: In Failed Array - Deassert: 0
o Disk or Disk Bay 0 Drive 0 0: Rebuild In Progress - Deassert: 0
New Report
BIOS 1 ABR Status 0: Unspecified - Deassert
0
OK
BIOS 1 Firmware Error 0: Unspecified - Deassert
0
OK
BIOS 1 Firmware Error 0: Unspecified - Deassert
0
OK
Cooling Unit 1 Cooling Zone 1 0 - Fully redundant
0
OK
Cooling Unit 2 Cooling Zone 2 0 - Fully redundant
0
OK
Cooling Unit 3 Cooling Zone 3 0 - Fully redundant
0
OK
Disk or Disk Bay 0 Drive 0 0: Drive Fault - Deassert
0
OK
Disk or Disk Bay 0 Drive 0 0: In Critical Array - Assert
0
UNKNOWN
Disk or Disk Bay 0 Drive 0 0: In Failed Array - Deassert
0
OK
Disk or Disk Bay 0 Drive 0 0: Predictive Failure - Deassert
0
OK
Disk or Disk Bay 0 Drive 0 0: Rebuild In Progress - Deassert
0
OK
Disk or Disk Bay 1 Drive 1 0: Drive Fault - Deassert
0
OK
Disk or Disk Bay 1 Drive 1 0: In Critical Array - Assert
0
UNKNOWN
Disk or Disk Bay 1 Drive 1 0: In Failed Array - Deassert
0
OK
Disk or Disk Bay 1 Drive 1 0: Predictive Failure - Deassert
0
OK
Disk or Disk Bay 1 Drive 1 0: Rebuild In Progress - Deassert
0
OK
Disk or Disk Bay 10 Drive 10 0: Drive Fault - Deassert
0
OK
Disk or Disk Bay 10 Drive 10 0: In Critical Array - Deassert
0
OK
Disk or Disk Bay 10 Drive 10 0: In Failed Array - Deassert
0
OK
Disk or Disk Bay 10 Drive 10 0: Predictive Failure - Deassert
0
OK
Disk or Disk Bay 10 Drive 10 0: Rebuild In Progress - Deassert
0
OK
Disk or Disk Bay 11 Drive 11 0: Drive Fault - Deassert
0
OK
Disk or Disk Bay 11 Drive 11 0: In Critical Array - Deassert
0
OK
Disk or Disk Bay 11 Drive 11 0: In Failed Array - Deassert
0
OK
Disk or Disk Bay 11 Drive 11 0: Predictive Failure - Deassert
0
OK
Disk or Disk Bay 11 Drive 11 0: Rebuild In Progress - Deassert
0
OK
Disk or Disk Bay 12 Drive 12 0: Drive Fault - Deassert
0
OK
Disk or Disk Bay 12 Drive 12 0: In Critical Array - Deassert
0
OK
Disk or Disk Bay 12 Drive 12 0: In Failed Array - Deassert
0
OK
Disk or Disk Bay 12 Drive 12 0: Predictive Failure - Deassert
0
OK
Disk or Disk Bay 12 Drive 12 0: Rebuild In Progress - Deassert
0
OK
Disk or Disk Bay 13 Drive 13 0: Drive Fault - Deassert
0
OK
Disk or Disk Bay 13 Drive 13 0: In Critical Array - Deassert
0
OK
Disk or Disk Bay 13 Drive 13 0: In Failed Array - Deassert
0
OK
Disk or Disk Bay 13 Drive 13 0: Predictive Failure - Deassert
0
OK
Disk or Disk Bay 13 Drive 13 0: Rebuild In Progress - Deassert
0
OK
Disk or Disk Bay 14 Drive 14 0: Drive Fault - Deassert
0
OK
Disk or Disk Bay 14 Drive 14 0: In Critical Array - Deassert
0
OK
Disk or Disk Bay 14 Drive 14 0: In Failed Array - Deassert
0
OK
Disk or Disk Bay 14 Drive 14 0: Predictive Failure - Deassert
0
OK
Disk or Disk Bay 14 Drive 14 0: Rebuild In Progress - Deassert
0
OK
Disk or Disk Bay 15 Drive 15 0: Drive Fault - Deassert
0
OK
Disk or Disk Bay 15 Drive 15 0: In Critical Array - Deassert
0
OK
Disk or Disk Bay 15 Drive 15 0: In Failed Array - Deassert
0
OK
Disk or Disk Bay 15 Drive 15 0: Predictive Failure - Deassert
0
OK
Disk or Disk Bay 15 Drive 15 0: Rebuild In Progress - Deassert
0
OK
Disk or Disk Bay 2 Drive 2 0: Drive Fault - Assert
0
UNKNOWN
Disk or Disk Bay 2 Drive 2 0: In Critical Array - Deassert
0
OK
Disk or Disk Bay 2 Drive 2 0: In Failed Array - Deassert
0
OK
Disk or Disk Bay 2 Drive 2 0: Predictive Failure - Deassert
0
OK
Disk or Disk Bay 2 Drive 2 0: Rebuild In Progress - Deassert
0
OK
Disk or Disk Bay 3 Drive 3 0: Drive Fault - Deassert
0
OK
Disk or Disk Bay 3 Drive 3 0: In Critical Array - Deassert
0
OK
Disk or Disk Bay 3 Drive 3 0: In Failed Array - Deassert
0
OK
Disk or Disk Bay 3 Drive 3 0: Predictive Failure - Deassert
0
OK
Disk or Disk Bay 3 Drive 3 0: Rebuild In Progress - Deassert
0
OK
Disk or Disk Bay 4 Drive 4 0: Drive Fault - Deassert
0
OK
Disk or Disk Bay 4 Drive 4 0: In Critical Array - Deassert
0
OK
Disk or Disk Bay 4 Drive 4 0: In Failed Array - Deassert
0
OK
Disk or Disk Bay 4 Drive 4 0: Predictive Failure - Deassert
0
OK
Disk or Disk Bay 4 Drive 4 0: Rebuild In Progress - Deassert
0
OK
Disk or Disk Bay 5 Drive 5 0: Drive Fault - Deassert
0
OK
Disk or Disk Bay 5 Drive 5 0: In Critical Array - Deassert
0
OK
Disk or Disk Bay 5 Drive 5 0: In Failed Array - Deassert
0
OK
Disk or Disk Bay 5 Drive 5 0: Predictive Failure - Deassert
0
OK
Disk or Disk Bay 5 Drive 5 0: Rebuild In Progress - Deassert
0
OK
Disk or Disk Bay 6 Drive 6 0: Drive Fault - Deassert
0
OK
Disk or Disk Bay 6 Drive 6 0: In Critical Array - Deassert
0
OK
Disk or Disk Bay 6 Drive 6 0: In Failed Array - Deassert
0
OK
Disk or Disk Bay 6 Drive 6 0: Predictive Failure - Deassert
0
OK
Disk or Disk Bay 6 Drive 6 0: Rebuild In Progress - Deassert
0
OK
Disk or Disk Bay 7 Drive 7 0: Drive Fault - Deassert
0
OK
Disk or Disk Bay 7 Drive 7 0: In Critical Array - Deassert
0
OK
Disk or Disk Bay 7 Drive 7 0: In Failed Array - Deassert
0
OK
Disk or Disk Bay 7 Drive 7 0: Predictive Failure - Deassert
0
OK
Disk or Disk Bay 7 Drive 7 0: Rebuild In Progress - Deassert
0
OK
Disk or Disk Bay 8 Drive 8 0: Drive Fault - Deassert
0
OK
Disk or Disk Bay 8 Drive 8 0: In Critical Array - Deassert
0
OK
Disk or Disk Bay 8 Drive 8 0: In Failed Array - Deassert
0
OK
Disk or Disk Bay 8 Drive 8 0: Predictive Failure - Deassert
0
OK
Disk or Disk Bay 8 Drive 8 0: Rebuild In Progress - Deassert
0
OK
Disk or Disk Bay 9 Drive 9 0: Drive Fault - Deassert
0
OK
Disk or Disk Bay 9 Drive 9 0: In Critical Array - Deassert
0
OK
Disk or Disk Bay 9 Drive 9 0: In Failed Array - Deassert
0
OK
Disk or Disk Bay 9 Drive 9 0: Predictive Failure - Deassert
0
OK
Disk or Disk Bay 9 Drive 9 0: Rebuild In Progress - Deassert
0
OKThank you for the follow up. I do understand that a completly unreadable disk might throw an unknown status but the status is different from one report than the other. On one side, it clearly shows in red that the disk has something and on the side, it just throws a "I don't know what's going on with the disk". I ran both report the same day and i'm expecting some red in the report to warn me if a disk fail.
Is there a way to change that behavior from the health check script?
Maybe you are looking for
-
Ipod touch 1generation not recognized in itunes
hello , my ipod touch is stuck in recovery mode and not being recognized by itunes ,i tried everything but its still not working , i cant even restore it ;(
-
How to set the Master Action of a master detail form?
Hi, I have a regular form navigates to a master detail form in insert mode. How do I make the MASTER_ACTION show up as "Insert" instead of "None"? If I call the Master detail form in auto query mode, it will show up as "Update" in the MASTER_ACTION.
-
How to display a waveform in XY format where X is the time in seconds?
I am aquiring voltage from a power sensor and I am displaying this voltage as a waveform in a waveform chart. Now, I would like to display this waveform such that on X axis I have a range from 0 to 30 seconds (X axis should be displayed in seconds of
-
"Filtering exceed maximum allocated time" error in crawl log
A crawler log contained the following error. Is this error related to the Crawler Configuration "Crawler Timeout Threshold (seconds)" parameter? (Mine is set to *30* seconds.) "Filtering exceed maximum allocated time *108* seconds; process killed. ex
-
Can i transfer youtube music i have downloaded on my iphone to my ipod? or computer?
Can i transer youtube music from my iphone to my ipod or my computer ? And how do i do it Thank You