ACE20 Health Check Failed

L4 Model : ACE20-MOD-K9
One Server Operational TCP Services
Other TCP Services OK but TCP 5050 Service Not OK
I Tested from my pc
telnet 172.17.1.235 5050 Success
but ACE20 Health Check Failed
probe       : PROBE5050
 type        : TCP
 state       : ACTIVE
 description :
   port      : 5050    address     : 0.0.0.0         addr type  : -          
   interval  : 2       pass intvl  : 2               pass count : 3   
   fail count: 3       recv timeout: 10  
   conn termination : GRACEFUL 
   expect offset    : 0         , open timeout     : 4        
   expect regex     : -
   send data        : -
                       --------------------- probe results --------------------
   probe association   probed-address  probes     failed     passed     health
   ------------------- ---------------+----------+----------+----------+-------
   real        : 172-17-1-235[5050]
     serverfarm: BKMWEB#5
                       172.17.1.235    491        486        5          FAILED
   Socket state        : CLOSED
   No. Passed states   : 0         No. Failed states : 1
   No. Probes skipped  : 441         Last status code  : 0
   No. Out of Sockets  : 0         No. Internal error: 0
   Last disconnect err : Connection refused by server
   Last probe time     : Wed Apr  2 20:04:44 2014
   Last fail time      : Wed Apr  2 19:33:30 2014
   Last active time    : Never
What is this Cause?  Help me

Hi Tae,
The last disconnect error says "connection refused by server". I guess only way for us to know what exactly is going on is to take a packet capture on switch where server and ACE are connected and see what is going on. May be server is not replying to ACE. Why? I guess only packet capture can clear that since telnet from your pc worked. Also, your interval time is very less. Please increase it to at least 10-20 seconds.
Regards,
Kanwal

Similar Messages

  • Database redundansy health check failed ( Exchange 2010 sp3 )

    Hello all ,
    One of the mailbox server have been getting the following error in in application , sometimes
    RealCopyQueu  is 256 and sometimes 0 and healthy  .
    Kindly share how can resolve it please

    Hi,
    I suggest we refer to the following article to troubleshoot this issue. Run
    Database Redundancy Check Script.
    http://social.technet.microsoft.com/Forums/exchange/en-US/b1cfbc4b-b17d-4148-adce-1a565d0f5746/exchange-2010-event-id-4113-msexchangerepl-health-check-failed
    Regards,
    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

  • Event:4133 "Database one datacenter health check failed". and Event:4376 "Database one datacenter available copy health check failed"

    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
    Rinken

    Hi.
    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

  • SMS_STATE_MIGRATION_POINT Health check failed for port 80 with status code 500

    My SMS_STATE_MIGRATION_POINT gets a red cross because the health check of the SMS_STATE_MIGRATION_POINT is “sometimes” failing. I don’t understand why its fails sometimes? Any suggestions.
    gr, Iwan
    Health check operation succeeded SMS_STATE_MIGRATION_POINT 4/15/2010 2:51:29 PM 22044 (0x561C)
    Completed availability check on local machine SMS_STATE_MIGRATION_POINT 4/15/2010 2:51:29 PM 22044 (0x561C)
    Call to HttpSendRequestSync succeeded for port 80 with status code 200, text: OK SMS_STATE_MIGRATION_POINT 4/15/2010 2:56:29 PM 22044 (0x561C)
    Health check operation succeeded SMS_STATE_MIGRATION_POINT 4/15/2010 2:56:29 PM 22044 (0x561C)
    Completed availability check on local machine SMS_STATE_MIGRATION_POINT 4/15/2010 2:56:29 PM 22044 (0x561C)
    Checking store for cleanup of failed or stale state stores... SMS_STATE_MIGRATION_POINT 4/15/2010 3:01:29 PM 22044 (0x561C)
    Call to HttpSendRequestSync failed for port 80 with status code 500, text: Internal Server Error SMS_STATE_MIGRATION_POINT 4/15/2010 3:01:29 PM 22044 (0x561C)
    Health check request failed, status code is 500, 'Internal Server Error'. SMS_STATE_MIGRATION_POINT 4/15/2010 3:01:29 PM 22044 (0x561C)
    STATMSG: ID=6207 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_STATE_MIGRATION_POINT" SYS=SWAMS0083 SITE=P01 PID=13560 TID=22044 GMTDATE=Thu Apr 15 13:01:29.777 2010 ISTR0="500" ISTR1="Internal Server Error" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_STATE_MIGRATION_POINT 4/15/2010 3:01:29 PM 22044 (0x561C)
    Completed availability check on local machine SMS_STATE_MIGRATION_POINT 4/15/2010 3:01:29 PM 22044 (0x561C)
    Call to HttpSendRequestSync succeeded for port 80 with status code 200, text: OK SMS_STATE_MIGRATION_POINT 4/15/2010 3:06:29 PM 22044 (0x561C)
    Health check operation succeeded SMS_STATE_MIGRATION_POINT 4/15/2010 3:06:29 PM 22044 (0x561C)
    Completed availability check on local machine SMS_STATE_MIGRATION_POINT 4/15/2010 3:06:29 PM 22044 (0x561C)
    Call to HttpSendRequestSync succeeded for port 80 with status code 200, text: OK SMS_STATE_MIGRATION_POINT 4/15/2010 3:11:29 PM 22044 (0x561C)
    Health check operation succeeded SMS_STATE_MIGRATION_POINT 4/15/2010 3:11:29 PM 22044 (0x561C)
    Completed availability check on local machine SMS_STATE_MIGRATION_POINT 4/15/2010 3:11:29 PM 22044 (0x561C)
    Call to HttpSendRequestSync succeeded for port 80 with status code 200, text: OK SMS_STATE_MIGRATION_POINT 4/15/2010 3:16:29 PM 22044 (0x561C)
    Health check operation succeeded SMS_STATE_MIGRATION_POINT 4/15/2010 3:16:29 PM 22044 (0x561C)
    Completed availability check on local machine SMS_STATE_MIGRATION_POINT 4/15/2010 3:16:29 PM 22044 (0x561C)
    Call to HttpSendRequestSync succeeded for port 80 with status code 200, text: OK SMS_STATE_MIGRATION_POINT 4/15/2010 3:21:29 PM 22044 (0x561C)
    Health check operation succeeded SMS_STATE_MIGRATION_POINT 4/15/2010 3:21:29 PM 22044 (0x561C)
    Completed availability check on local machine SMS_STATE_MIGRATION_POINT 4/15/2010 3:21:29 PM 22044 (0x561C)
    Call to HttpSendRequestSync failed for port 80 with status code 500, text: Internal Server Error SMS_STATE_MIGRATION_POINT 4/15/2010 3:26:29 PM 22044 (0x561C)
    Health check request failed, status code is 500, 'Internal Server Error'. SMS_STATE_MIGRATION_POINT 4/15/2010 3:26:29 PM 22044 (0x561C)
    Completed availability check on local machine SMS_STATE_MIGRATION_POINT 4/15/2010 3:26:29 PM 22044 (0x561C)

    I'va got the following event in my security event log this is strange because the Windows Firewall is off and the problem is not always there, 8 out 10 time the health  checks passes.
    Log Name:      Security
    Source:        Microsoft-Windows-Security-Auditing
    Date:          4/15/2010 7:01:27 PM
    Event ID:      5159
    Task Category: Filtering Platform Connection
    Level:         Information
    Keywords:      Audit Failure
    User:          N/A
    Computer:      ********
    Description:
    The Windows Filtering Platform has blocked a bind to a local port.
    Application Information:
     Process ID:  13560
     Application Name: \device\harddiskvolume2\programs (x86)\microsoft configuration manager\bin\i386\smsexec.exe
    Network Information:
     Source Address:  0.0.0.0
     Source Port:  9000
     Protocol:  17
    Filter Information:
     Filter Run-Time ID: 0
     Layer Name:  Resource Assignment
     Layer Run-Time ID: 36

  • Instance health check failing with errors

    Hi
    One of the instance showing " Agent connection is Instance is unavailable". How ever it is collecting and showing instance performance when I go to Performance pane.
    When I check in emagent.trc file it is saying either agent/instance are running with different user than ORACLE or group not DBA.
    Actually, in my case both are same.. l mean Oracle:dba.
    I have bounce many times agent but no luck.
    Your valuble comments helps greatly.
    Here is error message
    Target TARGET_NAME_INST1
    Type Database Instance
    Metric Health Check
    Collection Timestamp Jul 16, 2007 10:45:28 AM
    Error Type Collection Failure
    Message Instance Health Check initialization failed due to one of the following causes: the owner of the EM agent process is not same as the owner of the Oracle instance processes; the owner of the EM agent process is not part of the dba group; or the database version is not 10g (10.1.0.2) and above.
    ________________________________________________________________

    Use metalink - its your friend...
    Symptoms
    Caution:
    The scope of this note is limited to Agents 10.2.x monitoring Oracle Databases running on HP-UX.
    By default, the Agent 10.2.x is collecting the Healthcheck metric every 15 seconds. This metric basically gives an indication whether the monitored database is up and running.
    On some circumstances, the Healthcheck metric cannot be collected. This results in such entries being added every 15 seconds to the $AGENT_HOME/sysman/log/emagent.trc log file:
    2007-05-09 09:21:36 Thread-81 ERROR fetchlets.healthCheck: Error: process context is not initialized
    2007-05-09 09:21:36 Thread-81 ERROR engine: [oracle_database,EMI10104_rmtdchp4,health_check] : nmeegd_GetMetricData failed : Instance Health Check initialization failed due to one of the following causes: the owner of the EM agent process is not same as the owner of the Oracle instance processes; the owner of the EM agent process is not part of the dba group; or the database version is not 10g (10.1.0.2) and above.
    2007-05-09 09:21:36 Thread-81 WARN collector: <nmecmc.c> Error exit. Error message: Instance Health Check initialization failed due to one of the following causes: the owner of the EM agent process is not same as the owner of the Oracle instance processes; the owner of the EM agent process is not part of the dba group; or the database version is not 10g (10.1.0.2) and above.
    or
    Solution
    There are several steps to solve this problem:
    1. If the Agent Release is 10.2.0.1 or 10.2.0.2, upgrade the Agent to 10.2.0.3 and follow the steps below.
    2. For HP-UX 10.2.0.3 Agent, here are the instructions to fix the problem while keeping the Healthcheck metric enabled. This section takes place in the Agent Oracle Home.
    2.1. Download Patch 5854190 from Metalink.
    2.2. Setup the Agent environment and shutdown the Agent by doing:

  • Multicast Issues following R2 Upgrade - MCSIsapi failed Health Check

    Hi all,
    I am having yet more issues with multicasting following upgrading to SCCM 2012 R2. (running on Server 2008 R2).
    I have tried several times now:
    unticking all images marked for multicast
    unticking all DPs from enable multicast
    waiting for WDS to be removed
    reboot
    enable DP for multicast
    wait for WDS to be installed
    reboot
    enable image for multicast
    But when I run my task sequence the smsts.log does not recognise that I have a multicast enabled DP and begins to download via unicast.
    extract from smsts.log: 
    <![LOG[Locations: Multicast = 0, HTTP = 1, SMB = 0.]LOG]!><time="10:13:18.066-60" date="07-08-2014" component="ApplyOperatingSystem" context="" type="1" thread="1244" file="resolvesource.cpp:2749">
    On the server WDS is installed, running and looks healthy. 
    All the multicast logs look healthy apart from MCSIsapi.log which states:
    Failed to perform health check (0x80004005)
    HealthCheckRequest::HandleMessage failed with errorcode (0x80004005)
    Failed to process HEALTHCHECK request for client ffffffff-ffff-ffff-ffff-ffffffffffff
    MCSRequestHandler::HandleMessage for Op HEALTHCHECK failed with server errorcode 2052
    I have all the MCS keys in the registry. SerializedMCSKey and SignedSerializedMCSKey are both populated.
    Can anyone shed any light on how to overcome this issue?
    Many thanks,
    Jay

    Hi,
    Quote:
    "MCS had an error itself. If you look under the hklm/software/microsoft/syswow64/sms/mcs key you should have a long list of keys. I just had 3 one of which was empty
    I had to do this to fix it
    unchecked Allow this package to transfered via multicast at package/image properties
    cleared SerializedMCSKey and SignedSerializedMCSKey in registry (HKLM\Software\SMS\MCS)
    unchecked enable multicast at dp properties
    checked enable multicast at dp properties
    checked Allow this package to transfered via multicast at package/image properties
    checked transfer this package only via multicast
    Just running the mcs.msi or redeploying the DP doesnt work
    http://social.technet.microsoft.com/Forums/en-US/configmgrosd/thread/e6ffd292-ca2b-4c4c-ae9a-b8ffa0afb3bd"
    For more information:
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/4b443cb4-ebac-4870-9715-bcd8faa17cbf/mcsisapi-throwing-errors?forum=configmgrosd
    Best Regards,
    Joyce
    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.

  • 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
    OK

    Thank 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?

  • Disk Utility Reports Volume Check Failed

    I've been having some trouble with one of my two internal hard drives, so by mistake I ran Disk Utility from the Panther install disk on my PowerPC G5 running 10.4.10...I didn't realize until after I'd run Disk Repair that it wasn't the Tiger install disk I was using.
    The Disk Repair Utility from the 10.3 install disk reported an "Invalid Leaf Record Count(it should be 41 instead of 210)". It also said that "2 HFS Volumes Repaired, 1 Volume Could Not Be Repaired". This was particularly puzzling since there were only two partitions on that internal hard drive. What was this other Volume it referred to?
    Upon realizing that I was using an old CD, I ran Disk Utility from the Tiger install disk, and got a report "Invalid Catalog Record Type. Volume Check Failed."
    Can anyone shed any light on what this all means, and how I can fix it?
    Many thanks in advance!
    -Zina

    Thanks, abrody, for your reply. First, I ws lucky in that there was no indication other than Retrospect reporting a problem with this, the client machine, so all data was available and the system seemed to be working fine (other than the error report).
    Here's what worked for me: I ran Disk Repair (from the Tiger install disk)on all 4 partitions on my second internal HD, and came up with a clean report. I erased one of the partitions and, using SuperDuper, I cloned the system partition from the troublesome partition on the other internal HD. Then I ran Disk Repair from the install disk again, on the cloned partition, to be sure I didn't carry over the problem with the clone. It came up clean.
    Then I erased the troublesome system partition and cloned the system back over from the trouble-free partition clone.
    I ram Disk Repair again from the install disk, just to make sure everything came up with a clean bill of health, which it did.
    But I'm going to keep a close eye on this internal HD, since I think it's possible it's failing. I always back up all my data every night, so at least I'm covered there.
    Again, thanks so much for your reply and help.
    Message was edited by: Zina
    Message was edited by: Zina

  • Health Check

    Hi Forum
    I am currently health checking several environments and have been told RFLSystems was a good one to use.
    It has worked well in my lab setup, a single primary site server with SQL local all 2012 R2, running the script locally.
    However on another setup it fails.
    SQL 2008 r2 SP1 local, SCCM 2012 R2 whilst running the script remotely from Win8 x64. The error I am getting is:
    Error 0x : Exeception calling "Open" with "0" argument(s): "Cannot open database "aaa\SiteDB" requested by the login. The login failed.
    Login failed for user "yyy\xxx"
    I have tried with this user, local admin permissions to the site server and on the DB SysAdmin, DBOwner DBCreator and Public. And still no luck.
    Can anyone advise?
    thanks in advance
    NN

    this error normally happen when the firewall is blocking the access...by default the port 1433 should be allowed...
    I also discovered that allowing ALL from specific computer sometimes does not work and you should open the port from ALL sources..(not sure why, still trying to find out why this)..
    if this does not help, contact me offline, my e-mail is on the posh script...
    Raphael
    Aprenda a fazer pergunta: http://support.microsoft.com/?scid=kb;pt-br;555375&x=5&y=14 - Raphael - MCP/MCSA Security/MCSE Security/MCTS/MCITP/MCT/MVP - http://www.rflsystems.co.uk
    Hi Raphael,
    Thank you for taking the time to reply. This doesn't seem to be the issue. I am looking to do this locally where possible and see if this error remains.
    I will let you know how I get on.
    Thanks
    NN

  • Weblogic in running state. no health check status (empty)

    Hello.
    I have installed weblogic 10.3.5 with os unix in the production enviromente.
    The managed servers fail with the no health status, this behavior is ramdon and the workaround is restart the managed servers.
    Do you know how to solve this problem?
    Regards,
    Milton

    Check if you Managed Server was configured to restart automatically when a stuck thread was detected.
    Login wls->Environment->Servers-><Manage Server Name>->Monitoring->health
    check "restart with stuck thread".

  • CDS Data Quality Health Check Error -(Code: 207,103)

    Using the CDS Individual Data Quality Health Check. 
    Created a new data source, snap shot and mapping.  Cloned the job and modified the snapshot an mapping.  Ran the Job and go the following :An error occurred whilst creating task '[I2A] Profile Individual Misc Data' : Failed to load process "[I2A] Profile Individual Misc Data" (Code: 207,103) - Any Suggestions

    Determined the Error to be a missing processor.  I must have deleted it by mistake.  You can identify which one is missing by the processor Name [I2A] Profile Individual Misc Data

  • 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

  • Powershell - Daily Health Check

    Hi all,
    I have a number of different w8k and w12k servers in different sites and I wanted create a daily health check to check services are up. For instance I can write a ps script to check run at 6am daily and check various services on a windows server and then
    generate a html report and mail it to a distribution list. However on some of my servers I only have one service that needs to be checked I wanted a was to check the services and collate all the reports into one place and output just one html report?
    So for example could I output the results to a text file, run an ftp job to send the result to a central location and then run a ps to scrap all the results and output to html, or could the text files be scrapped from an email, this method makes better sense
    for me as some of these servers will have ACLs between then and getting send via smtp will be easier then ftp.
    Would like to know if anyone has any ideas or experience with doing something like this?

    Are the servers on the same domain? If so use "Enter-PSSession" or if your just checking if a service is running use the "-Computer" switch to execute it on the remote server.
    You could also use WMI "Get-WMIObject"
    Using the above methods will let you run it from a central location. 
    My suggestion for performing your health checks is to define in a csv file: Server Name, IP, Heath Check Level
    So have an initial Ping for the host name, if that fails then use the IP as DNS might have an issue (record results into file)
    Heath Ckeck level determines if your just checking full server health or just checking for a specif service is running (ie Full, Service, ect... you define it for your requirements)
    I would use WMI as there could be different versions of powershell installed and take the compatibility issues away when writing the script.
    Below is a good starting script for you to use where it queries via WMI and generates a html report that is emailed out.
    https://gallery.technet.microsoft.com/scriptcenter/Powershell-Script-to-Get-78687c5e  
    Cheers,
    Martin
    Blog:
    http://sustaslog.wordpress.com 
    LinkedIn:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • DirectAccess Server Health Check URL

    I am looking at using an external hardware load-balancer with a DirectAccess 2012 R2 implementation.  Besides an ICMP echo-reply, does anyone know of a specific URL I could plug in as a health check to determine the DA server availability.
    Thanks...

    Hi,
    A subject I'm currently working on. IPHTTPS, it's only TCP443, it does not proove that DirectAccess works. Because i wanted to avoid to write complex check rules, I choose to rely on Powershell.
    A simple Get-RemoteAccessHealth -verbose | Where {$_.HealthState -ne "Disabled"} return status for all involved components (whatever your configuration). Each component can be OK or KO. I have a script that parse this result and write a simple
    text file with OK or KO. This file is designed to be consumed by the HLB Appliance throught IIS (available on the DirectAccess Gateway). With such approach, monitoring DirectAccess health is becoming easy.
    So your HLB applicance can detect if one of your DirectAccess Gateway is not operational (eg Failing OTP or expired certificate) and remove it from your pools.
    BenoitS - Simple by Design http://danstoncloud.com/blogs/simplebydesign/default.aspx

  • How can I stop a task sequence if a custom HTA preflight check fails?

    In our currently deployment method, we launch an HTA program before initiating the OSD process. This is only when run from the RAP menu, not via PXE.  When a user initiates OSD through that menu, they get a message prompting them to close Outlook, and
    a countdown of 5 mins, then OSD starts.  They also have the ability to click on an 'OK' button to proceed on their own.
    I've created a new script which checks WMI if Outlook and/or OCS are open, and if the machine is running on battery, spit out a "Failed" response and stop the HTA.  I've also added a "recheck" button to re-do the check, and an 'OK
    button if people jsut want to continue.  
    I'm curious if there is a way to prevent the task sequence from continuing if any of those conditions arent met.  Currently it just pops up and says "Failed, Cannot conitue", but if they close the window, the task sequence thinks the program
    has run, and the OSD migration starts.  I'd like to be able and get the script to cancel the OSD process if a check fails.
    Has anyone had success with this, using WINXP? I'd use the MS pre-flight check but it's only for WIN7.

    Interesting. Thanks for the response.  Is there anybody out there that can assist with VBS part of the solution?
    Here's the code I'm working with.  Currently the battery piece isnt working as it should but I can figure that our, eventually.  I'd like to get Jason's proposed solution in the code.  If this isn't the right place, I'll take this somewhere
    else.
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <title>OSD Preflight checks</title>
    <HTA:APPLICATION
    APPLICATIONNAME="OSD Preflight checks"
    ID="objOSDPreReqChecks"
    SCROLL="no"
    CONTEXTMENU="no"
    SINGLEINSTANCE="no"
    MAXIMIZEBUTTON="no"
    MINIMIZEBUTTON="no"
    WINDOWSTATE="normal"/>
    <!-- #region STYLEs-->
    <style type="text/css">
    H1{color:Black;text-align:center;font-family: Arial, Helvetica, sans-serif;font-size: 26px;}
    p{font-family:"Arial";font-size:10px;}
    fail{color:Red;text-align:center;}
    .Version {float:left; font-size:1.0em;font-style:italic;color:#888888;font-weight:bold;}
    .Header1 {width: 180px; text-align: right;font-weight:bold;}<!-- '1st column heading -->
    H2 {font-family: Arial, Helvetica, sans-serif; text-align: center;}
    H3 {font-style: italic;}
    .style2 {width: 180px; text-align: left;}
    .Header2 {width: 150px; text-align: right;font-weight:bold;}<!-- '2nd column heading -->
    .style4 {width: 410px; text-align: left;}
    .StatusBar
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    .hidden {display: none; visibility: hidden;}
    </style><!-- #endregion -->
    </head>
    <script language="VBScript" type="text/vbscript">
    '======================================================================================
    ' Script
    ' Version
    ' Purpose To check a machine is suitable for taking an OS deployment
    '======================================================================================
    'Features
    ' Modular design
    ' Verbose "Debug Mode"
    ' In-built data validation
    ' Custom error handling
    ' Custom error codes - 90x0
    ' Generic WMI handler
    'BUGfix: Change CLng to CDbl to avoid overflow (in GetRAM)
    'fixed - moved head section to top to become head > script > body
    'fixed - fCheckModel display with leading ,
    'fixed - fgetmodels dictionary list
    Option Explicit
    ' #region GLOBAL DECLARATIONS: Persistent fold region
    '======================================================================================
    'GLOBAL Vars
    'Things to just display (in GUI)
    Dim strRAM
    Dim strCPUInfo
    Dim strCPUName
    Dim strCPUDesc
    Dim iCPUCount
    Dim iCPUCoreCount
    Dim iRAM
    Dim strBIOSver, strBIOSDate, strBIOSInfo
    'Time related
    Dim TimerInterval 'timer to refresh HTA at start
    Dim iTimer 'abort timer
    Const iAbortTimeout=300000 'delay before window closes (in milliseconds)
    Dim pbTimerID
    Dim pbHTML
    Dim pbWaitTime
    Dim pbHeight
    Dim pbWidth
    Dim pbBorder
    Dim pbUnloadedColor
    Dim pbLoadedColor
    Dim pbStartTime
    'Dictionary
    Dim objModelsDict,colKeys,strKey 'models
    Dim objApprovedMakesDict
    'Misc GLOBAL vars
    Dim blnDebug 'set TRUE to trigger debug mode
    Dim bAbortBuild 'Boolean flag to abort or not abort
    Dim strTemp 'throwaway/scratch
    Dim strNamespace 'wmi default namespace for ANY machine
    Dim strComputer 'wmi reference to current machine, just .
    Dim strService 'WMI service
    Dim strQuery 'custom WQL
    Dim ErrMsg 'custom error messages
    Dim iErrMode 'State machine for error mode
    Dim lFlags 'WMI flag
    Dim strDisks
    'Pre-requisites - things that will cause build to abort if values do not meet spec
    Dim strHTAVendor 'Make of hardware
    Dim strHTAVendorState
    Dim strHTAModel 'Model of hardware
    Dim strHTAModelState 'Model state
    Dim strHTARAM 'RAM
    Dim strHTARAMState 'RAM state
    Dim strHTACPUSpeed 'Processor speed
    Dim strHTACPUCores 'Number of cores
    Dim strHTACPUFullInfo 'CPU + cores
    Dim strHTAHDD 'Disk info
    Dim strHTAHDDState 'Disk state
    Dim strHTACheckRAW 'NTFS check
    Dim strHTAArchitecture 'Processor support
    Dim strHTAProduct 'Product ID
    Dim strHTAOutlook 'Outlook running
    Dim strHTAOutlookState 'Outlook state
    Dim strHTABattery 'Battery check
    Dim strHTABatteryState 'Battery state
    'for WQL filters
    Dim strWQLPCInfo 'Pre-req - (1) for various inc. domain role (servers)
    Dim strWQLRAM 'Pre-req - (2) RAM
    Dim strWQLCPU 'Pre-req - CPU speed string (not int)
    Dim strWQLBootOrder 'Pre-req - Boot order string
    Dim strWQLSATAMode 'Pre-req - HDD mode
    Dim strWQLGenericBIOS
    Dim strWQLCPUCount 'Pre-req - how many CPUs
    Dim strWQLCPUInfo
    Dim strWQLFSType 'Pre-req - Check HDD not RAW (i.e. is NTFS)
    Dim strWQLDisks 'Disks
    Dim strWQLChassis 'Machine type
    Dim strWQLID 'Unique code from OEM
    Dim strWQLProc 'is Outlook running = False
    Dim strWQLBattery 'is on Battery = False
    'State
    Const cProblem = " Problem!"
    Const cRunAgain =" RunCheck: Run System Check Again"
    Const cSuccess = " Success!"
    Const cPassed=" Pass"
    Const cFail=" Fail"
    'Pre-requisite to check: SET VALUES HERE vvvvvvvvvvvvvvvv
    Const cApprovedOEM="Hewlett-Packard"
    Const LegacyOEM1="Dell Inc."
    Const LegacyOEM2="IBM"
    Const cMinimumMemoryMB = 1000 'RAM in MB
    'Const cMinimumMemoryMB = 1000000 'force fail test data RAM in MB
    Const cMinFS="NTFS"
    ' Const cMinFS="HPFS" 'force fail test data
    Const iMinCores=1
    'Const iMinCores=10099 'force fail cores test data
    Const iMinCPUSpeed=2 '20 'in GHz
    'Const iMinCPUSpeed=90000 'in GHz
    Const iMinCPUArch=32
    'Const iMinCPUArch=64
    ' #endregion
    ' To hide anything use ID.className = "hidden", to show set to "", e.g. NotFoundArea.className = "hidden"
    Sub Window_Onload
    Err.Clear
    VersionSpan.InnerText = objOSDPreReqChecks.Version 'Get version
    self.focus
    self.moveTo 100,100 'Move window top left
    StatusBar.InnerText="Validating machine..."
    document.body.style.cursor = "wait" 'hourglass cursor
    'Call PreflightChecks 'use for testing as a VBS only, otherwise HTA timer will call below
    TimerInterval = window.setInterval("PreflightChecks",10)
    End Sub
    Function PreflightChecks
    ' #region HEADER NOTES: Persistent fold region
    'Version history
    'ver 5 OCTOBER 2011 - added error handler
    'ver 3rd Nov - removed HPonly queries
    '// Solution: Custom Script for use with MDT - Adapted from hardwareinfo.vbs Mikael Nystrom – http://deploymentbunny.com
    'Typical BIOS content
    'Processor Speed = 2133/1066 MHz
    'Boot Order = Network Controller,ATAPI CD-ROM Drive,USB device,Hard Drive,Diskette Drive,PnP Device #2,PnP Device #3,PnP Device #4,PnP Device #5,PnP Device #6,PnP Device #7,PnPe #8,PnP Device #9,PnP Device #10,PnP Device #11
    'SATA (disk) mode: *IDE,--,RAID,-- or IDE,*AHCI,RAID
    'On Error Resume Next
    ' #endregion
    ' #region CONSTANTS: Persistent fold region
    '======================================================================================
    'Fields available in HP BIOS
    Const sAsset = "Notebook Asset Tag"
    Const sOwner = "Notebook Ownership Tag"
    Const sMan = "Manufacturer"
    Const sNoteModel = "Notebook Model"
    Const sCPU = "Processor Type"
    Const sCPUSpeed = "Processor Speed"
    Const sRAM = "Memory Size"
    Const sModel = "Product Name"
    Const sBIOSName ="System BIOS"
    Const sBIOSVer = "BIOS Version"
    Const sBIOSDate = "BIOS Date"
    'Other BIOS stuff you could use too
    'Const sOwnerTag = "Enter Ownership Tag"
    'Const sBIOS = "PCID"
    'Const sBIOS = "Define Custom URL"
    'Const sBIOS = "Set Alarm Time"
    'Const sBIOS = "PCID Version"
    Const TextMode="1" 'text case sensitive for dict obj
    'WMI core constants
    Const wbemFlagReturnImmediately = 16 'wmi - Causes the call to return immediately.
    Const wbemFlagForwardOnly = 32 'wmi - Causes a forward-only enumerator to be returned.
    'Forward-only enumerators are generally much faster and
    'use less memory than conventional enumerators, but don't allow calls to SWbemObject.Clone_
    'Advisory config values - as in "you want to the change these"
    Dim strHTABootOrder
    Dim strHTASATAMode
    'Dim strHTACPU
    ' #endregion
    '======================================================================================
    ' #region WQL: Persistent fold region
    lFlags = wbemFlagReturnImmediately + wbemFlagForwardOnly
    'Queries of things to check (HP)
    strWQLBootOrder = "select Name, value from HP_BIOSSetting where Name='Boot order'"
    strWQLSATAMode = "select Name, value from HP_BIOSSetting where (Name='SATA emulation' or name='SATA device mode')"
    strWQLDisks ="SELECT * FROM Win32_DiskDrive where mediatype like 'Fixed%hard disk%'" 'win32_disk only avail after W7
    strWQLFSType ="SELECT * from Win32_LogicalDisk where DriveType='3'" 'only bother with HDDs
    'Generic WMI query strings
    strWQLGenericBIOS="SELECT Manufacturer,SMBIOSBIOSVersion,ReleaseDate FROM Win32_BIOS WHERE PrimaryBIOS = True"
    strWQLCPUCount= "SELECT NumberOfProcessors,NumberOfLogicalProcessors from Win32_ComputerSystem"
    strWQLCPUInfo="SELECT Name,DataWidth,description,MaxClockSpeed,NumberofCores,NumberOfLogicalProcessors from Win32_Processor"
    strWQLPCInfo="SELECT Domain,DomainRole,SystemType,Manufacturer,Model,TotalPhysicalMemory FROM Win32_ComputerSystem"
    ' strWQLPCInfo="SELECT Domain,DomainRole,SystemType,Manufacturer FROM Win32_ComputerSystem"
    strWQLChassis="SELECT ChassisTypes from Win32_SystemEnclosure"
    strWQLID="SELECT IdentifyingNumber,UUID from Win32_ComputerSystemProduct"
    strWQLRAM="SELECT * FROM Win32_PhysicalMemory"
    strWQLProc="SELECT * FROM Win32_Process"
    strWQLBattery="SELECT * FROM BatteryStatus Where Voltage > 0"
    ' #endregion
    ' #region MAIN algorithm
    '=====================================================================================================
    ' MAIN
    'Algorithm
    '1) Check make (vendor)
    '2) Check model (in list)
    '3) Check RAM >x
    '4) Check HDD TYPE (HDD is not RAW)
    '5) Check CPU architecture
    '6) Check outlook
    '7) Check battery
    '=====================================================================================================
    'Initialise
    window.clearInterval(TimerInterval) 'Reset timer to 0
    ' blnDebug=True
    blnDebug=False
    bAbortBuild=False 'default to DON'T abort
    ' bAbortBuild=True
    'Build list of approved vendors
    Set objApprovedMakesDict = CreateObject("Scripting.Dictionary")
    objApprovedMakesDict.comparemode=VBTextCompare
    objApprovedMakesDict.add cApprovedOEM,"OK"
    objApprovedMakesDict.add LegacyOEM1,"OK"
    objApprovedMakesDict.add LegacyOEM2,"OK"
    objApprovedMakesDict.add "Lenovo","Testdata"
    If blnDebug Then Stop
    '1) all machines check make
    strHTAVendor=fCheckVendor(strWQLGenericBIOS) 'check vendor in BIOS - if vendor not approved ABORT without proceeding
    If bAbortBuild=True Then
    StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "FATAL ERROR - goodbye cruel world"
    iTimer = window.setTimeout("Abort", iAbortTimeout, "VBScript")
    Else
    StatusBar.InnerText="Vendor: " & strHTAVendor & vbTab & " " & strHTAVendorState
    '2) Discover current Model
    strHTAModel=fGetModelName(strWQLPCInfo) 'get model name from WMI
    strHTAModel=fUniversalCheckData(strHTAModel,"'Discover Model - fGetModelName'") 'validate
    Call fGetModels 'get list of all valid models (from text file)
    strHTAModel=fCheckModel(strHTAModel)
    '2a) Model number (optional)
    strHTAProduct=fGetComputerSystemProdIDNumber(strWQLID) 'manufacturer's product ID
    strHTAProduct=fUniversalCheckData(strHTAProduct,"'Discover ID - fGetComputerSystemProdIDNumber'")
    ' StatusBar.InnerText=StatusBar.InnerText & VbCrLf & vbTab & "Product Code: " & vbTab & strHTAProduct
    '3) Check installed Memory
    strHTARAM=fGetRAM(strWQLRAM) 'find RAM size
    strHTARAM=fUniversalCheckData(strHTARAM,"'Detect RAM - fCheckRAM'")
    strHTARAM=fCheckRAM(strHTARAM) 'check RAM meets req
    If strHTARAMState=cFail Then Exit Function
    '4) Disk format IS NTFS
    strDisks=fGetDrives(strWQLFSType) 'Get formatting info for all drives
    strHTACheckRAW=fUniversalCheckData(strDisks,"'Detect filesystem - fCheckNTFS'") 'Validate data
    strHTACheckRAW=fCheckNTFS(strDisks) 'Check FS format is acceptable (not RAW)
    If strHTACheckRAW=cFail Then Exit Function
    'Generic CPU calls
    strHTACPUFullInfo="CPUs:" & fGetCPUInfo(strWQLCPUInfo) & " with CPU cores:" & iCPUCoreCount
    strBIOSInfo="BIOS version: " & strBIOSver & ", dated " & strBIOSDate
    '5a) CPU Speed check (info from http://www.robvanderwoude.com/wmiexamples.php)
    strCPUInfo=WMI(strWQLCPUInfo,strNamespace) 'Get CPU details
    strTemp=split(strCPUInfo,"@"): strHTACPUSpeed=strTemp(1)
    strHTACPUSpeed=fUniversalCheckData(strHTACPUSpeed,"'Check processor - fCheckCPUSpeed'") 'Validate data
    strHTACPUSpeed=fCheckCPUSpeed(strHTACPUSpeed) 'Check CPU clock speed
    '5b) cores check
    strHTACPUCores=fUniversalCheckData(iCPUCoreCount,"Check core count - fCheckCores") 'Validate data
    iCPUCoreCount=fCheckCores(iCPUCoreCount) 'pass or fail?
    '5c) CPU address width
    strHTAArchitecture=fUniversalCheckData(strHTAArchitecture,"Check core count - fCheckCores") 'Validate data
    strHTAArchitecture=fCheckCPUArch(strHTAArchitecture)
    '6) Check outlook
    strHTAOutlook=fCheckProcess(strWQLProc)
    '7) Check Battery
    strHTABattery=fCheckBattery(strWQLBattery)
    'end checkss
    document.body.style.cursor = "default"
    'Display hardware values in GUI (in table)
    Vendor.innerhtml = strHTAVendor 'Use str...var..STATE if you want Pass/fail text instead
    Model.innerhtml = strHTAModel
    Product.innerhtml = strHTAProduct
    RAM.innerhtml = strHTARAM
    CPUspeed.innerhtml = strHTACPUSpeed
    CPUInfo.innerhtml = strHTACPUFullInfo
    HDDFS.innerhtml = strHTACheckRAW
    CapableArchitecture.innerhtml=strHTAArchitecture
    BIOSversion.innerhtml = strBIOSver
    BIOSDate.innerhtml = strBIOSDate' CPUName.innerhtml = strCPUDesc 'GetCPUName
    End If
    '======================================================================================
    ' #endregion
    End Function
    'generic WMI queries, by field and namespace
    Function WMI(strQuery,strNameSpace)
    'Aim: generic WMI calls
    'return value of BIOS
    On Error Resume Next
    Dim colItems,objItem
    Dim objWMI
    Const strService = "winmgmts:{impersonationlevel=impersonate}//" 'binding to WMI
    Const strComputer = "." 'this machine
    Set objWMI = GetObject(strService & strComputer & strNamespace) 'GLOBAL wmi
    Set colItems = objWMI.ExecQuery(strQuery,,lFlags)
    For Each objItem In colItems
    If Err Then
    StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "WMI query: " & strQuery & " in " & strNamespace & objItem.Name
    Call ErrHandler("WMI error " & strQuery,1)
    Else
    WMI=objItem.Name 'Return value
    End If
    Next
    End Function
    Function fGetModelName(strWQLPCInfo)
    'Aim: Get model name from BIOS - WMI field sometimes varies if laptop, so try two
    'Return STRING: Model string from BIOS or "UNKNOWN" if null
    On Error Resume Next
    Dim colPCInfo,objPCItem
    Dim strModel
    Set colPCInfo = GetObject("winmgmts:").ExecQuery(strWQLPCInfo,"WQL",lFlags)
    If Err Then
    Call ErrHandler("fGetModelName: Error querying WMI " & strWQLPCInfo,2)
    Else
    For Each objPCItem In colPCInfo
    If Not IsNull(objPCItem.Model) Then
    strModel=objPCItem.Model
    ' iRAM=objPCItem.TotalPhysicalMemory
    Else
    If (strHTAVendor=cApprovedOEM And IsLaptop = True) Then ' resort to HP specific query for older laptops
    'Notebook
    strModel=QueryHPBIOS(sNoteModel)
    if strModel="" then strModel=QueryHPBIOS(sModel) 'try alt value
    Else
    strModel=QueryHPBIOS(sModel)
    End If
    End If
    Next
    End If
    If strModel = "" Then
    fGetModelName = "UNKNOWN"
    Model.style.visibility="hidden"
    Else
    fGetModelName=strModel
    End If
    End Function
    '====================================================
    '====================================================
    Function fGetRAM(strQuery)
    'Aim: get RAM installed. NB Win32_ComputerSystem::TotalPhysicalMemory may not be accurate
    'Return integer
    On Error Resume Next 'equiv to Err.Clear
    Dim colItems, item
    Dim iTotalMemory
    Set colItems = GetObject("winmgmts:").ExecQuery(strQuery,"WQL",lFlags)
    If Err Then
    Call ErrHandler("fGetRAM: Error querying " & strQuery,2)
    Else
    iTotalMemory = 0
    For Each item In colItems
    iTotalMemory = iTotalMemory + CDBL(item.Capacity)/(1024^2)
    Next
    End If
    If iTotalMemory = "" Then
    fGetRAM = "RAM UNKNOWN"
    RAM.style.visibility="hidden"
    Else
    fGetRAM=iTotalMemory
    End If
    End Function
    '====================================================
    '====================================================
    Function fGetCPUInfo(strQuery)
    'Aim: query WMI for CPU info - number and number of cores
    'Return: function=CPU count, var for the cores: iCPUCoreCount, strHTAArchitecture, strCPUDesc
    On Error Resume Next
    Dim colItems, objItem
    Dim NumberOfProcessors
    Set colItems = GetObject("winmgmts:").ExecQuery(strQuery,"WQL",lFlags)
    If Err Then
    Call ErrHandler("GetCPUInfo: Error querying " & strQuery,2)
    Else
    For Each objItem In colItems
    If Err Then
    Else
    If Not IsNull(objItem.NumberOfCores) Then
    NumberOfProcessors = Trim(objItem.NumberOfCores) 'NumberOfProcessors
    End If
    If Not IsNull(objItem.NumberOfLogicalProcessors) Then
    iCPUCoreCount = Int(Trim(objItem.NumberOfLogicalProcessors))
    End If
    If Not IsNull(objItem.DataWidth) Then
    strHTAArchitecture=Trim(objItem.DataWidth) & "-bit"
    End If
    If Not IsNull(objItem.description) Then
    strCPUDesc = Trim(objItem.description) 'cpu name
    End If
    End If
    Next
    If NumberOfProcessors = "" Then
    NumberOfProcessors = "UNKNOWN"
    End If
    fGetCPUInfo = Int(NumberOfProcessors)
    ' iCPUCoreCount = Int(NumberOfLogicalProcessors)
    End If
    End Function
    '====================================================
    '====================================================
    Function fGetComputerSystemProdIDNumber(strWQLID)
    'Aim: Get UUID from Win32_ComputerSystemProduct
    'Return: great big integer
    Dim colSys,objSys
    Dim strUUID
    On Error resume next
    Set colSys = GetObject("winmgmts:").ExecQuery(strWQLID,"WQL",lFlags)
    If Err then
    Call ErrHandler("fGetComputerSystemProdIDNumber: Error querying " & strWQLID,2)
    Else
    For Each objSys In colSys
    If Not IsNull(objSys.IdentifyingNumber) Then
    strUUID = Trim(objSys.IdentifyingNumber)
    End If
    Next
    If strUUID = "" Then
    fGetComputerSystemProdIDNumber = "UNKNOWN"
    Else
    fGetComputerSystemProdIDNumber = strUUID
    End If
    End If
    End Function
    '=================================================================================
    '=================================================================================
    Function fGetDrives(strQuery)
    Dim colDisks,objHDD
    Dim strDriveType, strDiskSize, strDisk
    Dim strDiskFSType
    Dim iGBUnits
    On Error Resume Next
    iGBUnits=1073741824
    Dim iRAW
    iRAW=0
    Set colDisks = GetObject("winmgmts:").ExecQuery(strQuery)
    For Each objHDD In colDisks
    Select Case objHDD.DriveType
    Case 1 strDriveType = "Drive could not be determined."
    Case 2 strDriveType = "Removable Drive"
    Case 3 strDriveType = "Local hard disk."
    Case 4 strDriveType = "Network disk."
    Case 5 strDriveType = "Compact disk (CD)"
    Case 6 strDriveType = "RAM disk."
    Case Else strDriveType = "Drive type Problem."
    End Select
    strDiskFSType = objHDD.FileSystem
    'Find C
    If objHDD.Name="C:" Then
    If isNull(objHDD.FreeSpace) Then
    If blnDebug=True then Call ErrHandler("ALERT!! Volume " & objHDD.Name & "is RAW",1) 'Abort/clean
    fCheckDrives="ALERT!! Volume " & objHDD.Name & "is RAW"
    End If
    End If
    strDiskSize = Int(objHDD.Size /iGBUnits) & "GB" 'calc size of disk
    strDisk = strDisk & VbCrLf & "Vol " & objHDD.Name & " (" & strDriveType & ") size: " & strDiskSize & " (free: " & Int(objHDD.FreeSpace /iGBUnits) & "GB), " & strDiskFSType
    fGetDrives=strDisk
    Next
    If (Err.Number <>0) Then
    Call ErrHandler("WMI Property Query Error: [" & Err.Number & "]",2)
    fGetDrives = -1
    Exit Function
    End If
    End Function
    '=================================================================================
    '=================================================================================
    Function fUniversalCheckData(varData,strStage) 'template
    'Aim: Check value passed...
    'is not blank
    'is in range x..y
    'spelt OK
    'is in a list
    'format is text, numeric
    'return: string: the original value
    On Error Resume Next
    Dim Err
    if blnDebug Then StatusBar.InnerText = StatusBar.InnerText & VbCrLf & "Validating " & strStage & " data..."
    If Err Then
    Call ErrHandler("WARNING: Error discovering value in " & strStage,2) '1=Quit,2=Warn
    strHTAModel="Unknown"
    Else
    Select Case varData
    Case IsEmpty(varData) Or IsNull(varData)
    Call ErrHandler("WARNING: Error in "& strStage,2) '1=Quit,2=Warn
    fUniversalCheckData="Unknown"
    Case IsNumeric(varData)
    If varData<0 Then
    Call ErrHandler("WARNING: Value negative"& strStage,2) '1=Quit,2=Warn
    fUniversalCheckData="Unknown"
    End if
    ' & varData &
    Case IsDate(varData)
    Case Else
    fUniversalCheckData=varData 'Data OK - return value unchanged
    End Select
    End If
    End Function
    '=================================================================================
    'Checks - follow if true DO, if false warn/abort
    '=================================================================================
    Function fCheckBattery(strQuery)
    'Aim: Find if battery is running
    'Return pass/fail
    On Error Resume Next 'equiv to Err.Clear
    Const wbemFlagReturnImmediately = &h10
    Const wbemFlagForwardOnly = &h20
    Dim colItems, item
    Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\WMI")
    Set colItems = objWMIService.ExecQuery("SELECT * FROM BatteryStatus Where Voltage > 0", "WQL", _
    wbemFlagReturnImmediately + wbemFlagForwardOnly)
    For Each item In colItems
    if objItem.PowerOnline = True Then
    strHTABattery=objItem.PowerOnline
    strHTABatteryState = cFail
    Err.Raise 9010,"fCheckBattery",strHTABattery & " Laptop running on battery. OSD Cannot continue."
    Call ErrHandler(ucase(strHTABatteryState) & ": " & Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",1)
    StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "FATAL ERROR - Laptop on Battery. Please plug into an outlet before proceeding."
    iTimer = window.setTimeout("Abort", iAbortTimeout, "VBScript")
    Else
    strHTABatteryState = cPassed
    End if
    Next
    fCheckBattery=strHTABattery
    End Function
    '====================================================
    Function fCheckProcess(strQuery)
    'Aim: Find if outlook is running
    'Return pass/fail
    On Error Resume Next 'equiv to Err.Clear
    Dim colItems, item
    Set colItems = GetObject("winmgmts:").ExecQuery(strQuery,"WQL",lFlags)
    For Each item In colItems
    if item.Name = "OUTLOOK.EXE" Then
    strHTAOutlook=item.Name
    strHTAOutlookState = cFail
    Err.Raise 9010,"fCheckOutlook",strHTAOutlook & " running. OSD Cannot continue."
    Call ErrHandler(ucase(strHTAOutlookState) & ": " & Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",1)
    StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "FATAL ERROR - Outlook Running, please close outlook before proceeding."
    iTimer = window.setTimeout("Abort", iAbortTimeout, "VBScript")
    Elseif item.Name = "communicator.exe" Then
    strHTAOutlook=item.Name
    strHTAOutlookState = cFail
    Err.Raise 9010,"fCheckOutlook",strHTAOutlook & " running. OSD Cannot continue."
    Call ErrHandler(ucase(strHTAOutlookState) & ": " & Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",1)
    StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "FATAL ERROR - Communicator Running, please close OCS before proceeding."
    iTimer = window.setTimeout("Abort", iAbortTimeout, "VBScript")
    Else
    strHTAOutlookState = cPassed
    End if
    Next
    fCheckProcess=strHTAOutlook
    End Function
    '====================================================
    '1 - Make
    Function fCheckVendor(strVendor)
    'Aim: Check make is one the OS/build is designed For
    'Return: STRINGS for "Make", BIOS version and BIOS date (generic): strHTAVendorState pass or fail
    On Error Resume Next
    Dim colItems,objItem
    Set colItems = GetObject("winmgmts:").ExecQuery(strVendor, "WQL", lFlags)
    For Each objItem In colItems
    strHTAVendor=objItem.Manufacturer
    if objApprovedMakesDict.exists(strHTAVendor) then
    strBIOSver=objItem.SMBIOSBIOSVersion
    strBIOSDate=Mid( objItem.ReleaseDate, 5, 2 ) & "/" & Mid( objItem.ReleaseDate, 7, 2 ) & "/" & Left( objItem.ReleaseDate, 4 )
    strHTAVendorState=cPassed
    Else
    strHTAVendorState=cFail
    Err.Raise 9010,"fCheckVendor",strHTAVendor & " found. The build will not work on this make of hardware"
    Call ErrHandler(ucase(strHTAVendorState) & ": " & Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",1)
    bAbortBuild=True
    end if
    Next
    fCheckVendor=strHTAVendor
    End Function
    '=================================================================================
    '=================================================================================
    '2 - Models check
    Function fCheckModel(strThisModel)
    'Aim Check target machine is in list of models
    'Return string
    On Error Resume Next
    StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "Checking model..." & VbCrLf
    If objModelsDict.exists(trim(strThisModel)) then ' if current model in objDict then huzzah
    strHTAModelState=cPassed
    StatusBar.InnerText=StatusBar.InnerText & vbTab & "Model detected: " & vbTab & strHTAModelState
    Else
    strHTAModelState=cFail
    Err.Raise 9010,"fCheckModel",strThisModel & " found. The build will not work on this model of hardware"
    Call ErrHandler(ucase(strHTAModelState) & ": " & Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",1)
    end if
    fCheckModel=strHTAModel
    End Function
    '=================================================================================
    '=================================================================================
    '3 - RAM
    Function fCheckRAM(strRAM)
    'Aim: Check installed RAM > x
    'Return string digits with units, e.g. 4GB
    'use strHTARAM for value
    '==================================================================
    ' Memory Preflight Check (from MDT2012)
    '==================================================================
    On Error Resume Next
    StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "Checking RAM..."
    If Err.Number <> 0 Then
    Call ErrHandler("Error occurred while calculating computer's memory.",2)
    End If
    fCheckRAM = Int(strRAM/1024) & "GB" 'format in GB
    If Int(strRAM) > cMinimumMemoryMB Then
    strHTARAMState=cPassed 'Sufficient memory - show whole number in GB"
    StatusBar.InnerText=StatusBar.InnerText & vbTab & "RAM installed: " & vbTab & strHTARAMState
    Else
    strHTARAMState=cFail
    Err.Raise 9030 ,"fCheckRAM","Not enough memory in this machine!" & " Required physical memory is: " & cMinimumMemoryMB & " MB."
    Call ErrHandler(ucase(strHTARAMState) & ": " & Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",1) 'abort build
    End If
    End Function
    '=================================================================================
    '=================================================================================
    '4 - NTFS disk
    Function fCheckNTFS(strDiskFS)
    'Aim: Check HDD is NTFS
    'Return string
    On Error Resume Next
    StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "Checking file system is not RAW..."
    If Instr(1,strDiskFS,cMinFS,VBTextCompare)<>0 Then
    fCheckNTFS=cMinFS 'disk format is OK (NTFS)
    StatusBar.InnerText=StatusBar.InnerText & vbTab & " File system: " & cPassed
    Else
    fCheckNTFS=cFail
    Err.Raise 9040 ,"fCheckNTFS","WARNING: Disk not correct file-system. Type required is: " & cMinFS & "." & VbCrLf & _
    "The deployment will fail unless you reformat the target disk immediately."
    Call ErrHandler(Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",2) 'halt build
    End If
    End Function
    '====================================================
    '=================================================================================
    '5 - CPU checks
    '=================================================================================
    Function fCheckCPUSpeed(strCPU) 'any HW
    'Aim: Check CPU speed
    'Return string = number + appropriate units, e.g. 5HGz (strCPU)
    On Error Resume Next
    StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "Checking CPU spec..."
    Select Case Right(strCPU,3) 'check units
    Case "MHz"
    strCPU=Left(strCPU,4)/1000 'reformat to GHz
    Case "GHz"
    strCPU=strCPU 'unit already OK
    Case Else
    Call ErrHandler("CPU units are unknown",2)
    End Select
    'Check clock speed
    If Int(Left(trim(strCPU),1))>=iMinCPUSpeed Then
    fCheckCPUSpeed=strHTACPUSpeed 'CPU is fine i.e don't change value
    StatusBar.InnerText=StatusBar.InnerText & vbTab & "CPU Speed: " & cPassed
    Else
    fCheckCPUSpeed=cFail 'already in GHz
    Err.Raise 9050,"fCheckCPUSpeed","CPU speed pre-requisite failed. Minimum processor clock speed is: " & iMinCPUSpeed
    Call ErrHandler(Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",1) 'halt build
    End If
    End Function
    '=================================================================================
    '=================================================================================
    Function fCheckCPUArch(strCPUArch) 'any HW
    'Aim: Check CPU width
    'Return string
    On Error Resume Next
    StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "Checking CPU bus width..."
    'Check clock speed
    If Int(Left(trim(strCPUArch),2))>=iMinCPUArch Then
    fCheckCPUArch=strHTAArchitecture 'CPU is fine i.e don't change value
    StatusBar.InnerText=StatusBar.InnerText & vbTab & "CPU width: " & cPassed
    Else
    fCheckCPUArch=cFail 'already in GHz
    Err.Raise 9052,"fCheckCPUArch","CPU width pre-requisite failed. Minimum processor width required is: " & iMinCPUArch
    Call ErrHandler(Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",1) 'abort build
    End If
    End Function
    '=================================================================================
    Function fCheckCores(iCores)
    'Aim: Check hardware (CPU) has a minimum number of cores
    'Return Integer
    On Error Resume Next
    StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "Checking CPU cores..."
    If iCores>=iMinCores Then
    fCheckCores=iCores
    StatusBar.InnerText=StatusBar.InnerText & vbTab & "Core count: " & vbTab & cPassed
    'StatusBar.InnerText=StatusBar.InnerText & vbTab & "CPU cores: " & cPassed
    Else
    fCheckCores=cFail
    Err.Raise 9051,"fCheckCores","WARNING: Not enough cores on the CPU to support the build. Minimum CPU cores is: " & iMinCores
    Call ErrHandler(Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",2) 'halt build
    End If
    End Function
    '=================================================================================
    '=================================================================================
    Function fCheckHPCPUSpeed 'HP ONLY
    'Aim: Check CPU speed
    'return: string
    'Check CPU speed
    On Error Resume Next
    strWQLCPU = "processor speed"
    strTemp=QueryHPBIOS(strWQLCPU,"")
    Select Case Right(strTemp,3)
    Case "MHz"
    strTemp=Left(strTemp,4)/1000 'reformat to GHz
    Case "GHz"
    strTemp 'is OK
    Case Else
    Call ErrHandler("CPU is unknown",2)
    End Select
    'Check clock speed
    If strTemp>=iMinCPUSpeed Then
    fCheckCPUSpeed= strTemp & "GHz"
    Else
    Err.Raise 9050,,"CPU speed pre-requisite failed"
    Call ErrHandler("CPU is too slow",1)
    fCheckCPUSpeed=cFail 'already in GHz
    End If
    End Function
    '=================================================================================
    '=================================================================================
    Function fGetModels
    'Aim: Read external text file
    'return: dictionary object - models as key, integer as value e.g. Dell Optiplex,12
    'On Error Resume Next
    Dim objFSO
    Dim objFile
    Dim strFile
    Dim strEntry
    Dim n
    Dim strfilepath
    Dim iLineCount 'count lines to avoid listing first item with ,.
    Set objModelsDict = CreateObject("Scripting.Dictionary")
    set objFSO=CreateObject("Scripting.FileSystemObject")
    Const ForReading=1
    strfilepath = Left(window.location.pathname,InStrRev(window.location.pathname,"\"))
    strFile=strfilepath & "Models.txt"
    set objFile=objFSO.OpenTextFile(strFile,ForReading)
    iLineCount=0
    'read in each line of data until you reach the end of the file
    do While objFile.AtEndOfStream<>True
    strEntry=objFile.ReadLine
    'you can now do what ever you want with the line as referenced with the strEntry variable such as
    'echoing it back (e.g. wscript.Echo strEntry) or passing it as a variable to a function of subroutine (e.g. MyFunction strEntry)
    objModelsDict.comparemode=VBTextCompare
    objModelsDict.Add strEntry,iLineCount
    iLineCount=iLineCount+1
    If blnDebug then
    If iLineCount=1 Then
    StatusBar.InnerText=trim(strEntry)
    Else
    StatusBar.InnerText=StatusBar.InnerText & ", " & trim(strEntry) 'list models
    End If
    End If
    Loop
    objFile.Close
    End Function
    '=================================================================================
    '=================================================================================
    '====================================================
    Function ErrHandler(strErrorMsg,iErrMode)
    'Aim: to handle error states
    ' 1 = Abort
    ' 2 = Warn
    'Return 'Appropriate text message explaining the error
    '====================================================
    Const msgTitle="SCCM Deployment Preflight Checklist"
    'On Error Resume Next '< don't use that as we want to KEEP the error properties
    'Abort=1
    If iErrMode=1 Then
    StatusBar.InnerText=strErrorMsg 'overwrite status with Error message
    ' StatusBar.InnerText=StatusBar.InnerText & VbCrLf & " " & strHTAOutlook & " " & strHTAVendor & " " & strHTAVendorState & _
    ' VbCrLf & " " & strHTAModel & strHTAModelState & _
    ' VbCrLf & " " & strHTARAM & strHTARAMState & _
    ' VbCrLf & " " & strHTAHDD & strHTAHDDState
    iTimer = window.setTimeout("Abort", iAbortTimeout, "VBScript") 'Abort (close) after n seconds
    'MsgBox strErrorMsg,vbExclamation,msgTitle
    'ErrBar.class=""
    ElseIf iErrMode=2 Then
    'Warning
    StatusBar.InnerText=StatusBar.InnerText & VbCrLf & strErrorMsg & " " '& "(" & Err.Description & " :" & Err.Number & ")"',vbExclamation,msgTitle
    Err.Clear
    End If
    End Function
    '====================================================
    Sub Abort
    'Aim: Quit gracefully
    window.close()
    End Sub
    </script>
    <!-- #region BODY -->
    <body>
    <br />
    <div>
    <span style="version"> <span id="VersionSpan"></span></div>
    <div style="text-align: center;">
    <H1 style="font-family: Arial, Helvetica, sans-serif; font-size: large; text-align: center; color: #000000; text-transform: capitalize">System information</H1>
    <span>
    <table border="1" cellspacing="0" cellpadding="0" style="width: 912px"
    id="SysInfoTable">
    <tr class="h1">
    <td align="right" class="Header1" style="width: 76px; height: 18px">
    </td>
    <td align="right" class="Header1" style="height: 18px"><em id="VendorCaption">Vendor</em></td>
    <td align="left" class="style2" style="height: 18px"><span id="Vendor"></span></td>
    <td align="right" class="Header2" style="height: 18px"><em id="ModelCaption">Model</em></td>
    <td align="center" class="style4" style="width: 400px; height: 18px"><span id="Model"></span></td>
    </tr>
    <tr>
    <td align="right" class="Header1" style="width: 76px">
    </td>
    <td align="right" class="Header1"><em id="ProductCaption">Product ID</em></td>
    <td align="left" class="style2"><span id="Product"></span></td>
    <td align="right" class="Header2"><em id="RAMCaption">Memory(in MB)</em></td>
    <td align="left" class="style4" style="width: 400px"><span id="RAM"></span></td>
    </tr>`
    <tr>
    <td align="right" class="Header1" style="width: 76px">
    </td>
    <td align="right" class="Header1"><em id="CPUCaption">CPU speed (in GHz)</em></td>
    <td align="left" class="style2"><span id="CPUspeed"></span></td>
    <td align="right" class="Header2"><em id="CPUInfoCaption">No: CPU\Cores</em></td>
    <td align="left" class="style4" style="width: 400px"><span id="CPUInfo"></span></td>
    </tr>
    <tr>
    <td align="right" class="Header1" style="width: 76px">
    </td>
    <td align="right" class="Header1"><em id="DiskFSCaption">Filesystem info</em></td>
    <td align="left" class="style2"><span id="HDDFS"></span></td>
    <td align="right" class="Header2"><em id="CapableArchCaption">Architecture</em></td>
    <td align="left" class="style4" style="width: 400px"><span id="CapableArchitecture"></span></td>
    </tr>
    <tr>
    <td align="right" class="Header1" style="width: 76px">
    </td>
    <td align="right" class="Header1"><em id="BIOSVerCaption">BIOS version</em></td>
    <td align="left" class="style2" ><span id="BIOSVERSION"></span></td>
    <td align="right" class="Header2"><em id="BIOSDateCaption">BIOS Date</em></td>
    <td align="left" class="style4" style="width: 400px"><span id="BIOSDate"></span></td>
    </tr>
    </table>
    </span>
    </div>
    <div class="StatusBar">
    <br />
    <Span id="StatusBar">Loading...please wait.</Span>
    </div> <br><br>
    <div align="center">
    <input type="button" name="btnStop" id="btnStop" value="Continue" onclick="Abort">
    <input type="Button" value="Re-Scan Machine" name="button1" onClick="Window_Onload" class="button">
    </div>
    </body><!-- #endregion -->
    </html>

Maybe you are looking for

  • Logical and physical table - help

    How to solve problem to connect dimension ''persons'' twice on the same mesure. It has to be connected twice on two different foreign keys...

  • Creating Backups

    Hallo. I'm just backing up some stuff from my HDD. I don't have the luxury of an external drive, so i'm just burning all my stuff to what wrtitable disks I have lying around my desk. If I wanted to back up my applications, can I just drag them from m

  • Can login now, but can't get home

    I successfully managed to get my LDAP server to authenticate users logon. However, it does not seem to bind to their home directory... when the users try to click on their "home" folder: "The volume for 'username' cannot be found" Any aliases that th

  • PSE 8 or 9 Manual?

    I have PSE 8 which came with my camera.  There is no manual on the installation disk. There also appear to be no help files.  The download link via Help F1 appears to be a set of files for a Mac (anyway I can't seem to open them).  I can't use the on

  • Add Planning Version in SDP94 header

    Hi SCM Gurus, Is there any possibility to add the planning version information in to the planning book "header", I quote this is because I want the planning version to be shown as the place in attachment. ( through menu I can go to Setting-> Header I