Xymon Mailing List Archive search

Bbwin cluster.exe

11 messages in this thread

list Vernon Everett · Tue, 14 Oct 2008 16:58:27 +0800 ·
Hi all

I know this is a bbwin question, but the bbwin list appears to have died a horrible death, and our Windoze admin has asked me to help.

--- start Windoze Admin mail ---

Windows 2003 R2 SP2 x64 - bbwin external 'cluster.exe' GetVersionExW failed on this system. Error 122 This version of Windows is not supported for Windows Clustering.

I've searched the lists but haven't been able to reference the BBWin external as in our configuration.

Full unattended install (msiexec.exe /i BBWin_0.11.msi ADDLOCAL=ALL /qb-) so all externals are installed

I've tried to run the below connected via RDP, via RDP using console switch (mstsc /console /v:<servername>) and via ILO console (this is remote management for HP servers)

<servername> C:\Program Files (x86)\BBWin\ext>cluster.exe
GetVersionExW failed on this system. Error 122
This version of Windows is not supported for Windows Clustering.
<servername> C:\Program Files (x86)\BBWin\ext>

The file information for cluster.exe;
File version 0.11.0.38
Build 38
Date 2007/12/27 18:09:33

Please note that BBWin 0.12 includes the same cluster.exe file and does produce the same error message

Microsoft Windows Server 2003 R2, Enterprise x64 Edition Service Pack 2 (build 3790)

Any assistance or pointers would be very much appreciated! (and of course if any additional information is required, please also let me know)

Thanks Lee

--- end Windows Admin mail ---

Has anybody seen this before?

Thanks
    Vernon

NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.
list Buchan Milne · Tue, 14 Oct 2008 13:07:08 +0200 ·
quoted from Vernon Everett
On Tuesday 14 October 2008 10:58:27 Everett, Vernon wrote:
Hi all

I know this is a bbwin question, but the bbwin list appears to have died a
horrible death
?

The mail from Lee Quinn on this issue did arrive on the bbwin-users mailing 
list on Wednesday ...
list Dns · Tue, 14 Oct 2008 04:20:13 -0700 (PDT) ·
Don't use Cluster.exe, because this give you very little information..use vbsscript that i send a while ago.... 
quoted from Vernon Everett


----- Original Message ----
From: "Everett, Vernon" <user-9da1a1882f49@xymon.invalid>
To: "user-ae9b8668bcde@xymon.invalid" <user-ae9b8668bcde@xymon.invalid>
Sent: Tuesday, October 14, 2008 10:58:27 AM
Subject: [hobbit] Bbwin cluster.exe

Hi all

I know this is a bbwin question, but the bbwin list appears to have died a horrible death, and our Windoze admin has asked me to help.

--- start Windoze Admin mail ---

Windows 2003 R2 SP2 x64 - bbwin external 'cluster.exe' GetVersionExW failed on this system. Error 122 This version of Windows is not supported for Windows Clustering.

I've searched the lists but haven't been able to reference the BBWin external as in our configuration.

Full unattended install (msiexec.exe /i BBWin_0.11.msi ADDLOCAL=ALL /qb-) so all externals are installed

I've tried to run the below connected via RDP, via RDP using console switch (mstsc /console /v:<servername>) and via ILO console (this is remote management for HP servers)

<servername> C:\Program Files (x86)\BBWin\ext>cluster.exe
GetVersionExW failed on this system. Error 122
This version of Windows is not supported for Windows Clustering.
<servername> C:\Program Files (x86)\BBWin\ext>

The file information for cluster.exe;
File version 0.11.0.38
Build 38
Date 2007/12/27 18:09:33

Please note that BBWin 0.12 includes the same cluster.exe file and does produce the same error message

Microsoft Windows Server 2003 R2, Enterprise x64 Edition Service Pack 2 (build 3790)

Any assistance or pointers would be very much appreciated! (and of course if any additional information is required, please also let me know)

Thanks Lee

--- end Windows Admin mail ---

Has anybody seen this before?

Thanks
    Vernon

NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.
list Raymond Storer · Tue, 14 Oct 2008 09:27:28 -0400 ·
Everett,

The cluster.exe in the bbwin distro does not work on the x64 platform--it is only coded for the x32 platform.  The bbwin mailing list is not dead.  Tell Mr. Quinn I'm sorry I missed his posting there.  As a previous person posted, you'll have to resort to vbscript to get the cluster monitor checking accomplished.

Ray
quoted from Dns

-----Original Message-----
From: Everett, Vernon [mailto:user-9da1a1882f49@xymon.invalid]
Sent: Tuesday, October 14, 2008 4:58 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Bbwin cluster.exe

Hi all

I know this is a bbwin question, but the bbwin list appears to have died a horrible death, and our Windoze admin has asked me to help.

--- start Windoze Admin mail ---

Windows 2003 R2 SP2 x64 - bbwin external 'cluster.exe' GetVersionExW failed on this system. Error 122 This version of Windows is not supported for Windows Clustering.

I've searched the lists but haven't been able to reference the BBWin external as in our configuration.

Full unattended install (msiexec.exe /i BBWin_0.11.msi ADDLOCAL=ALL /qb-) so all externals are installed

I've tried to run the below connected via RDP, via RDP using console switch (mstsc /console /v:<servername>) and via ILO console (this is remote management for HP servers)

<servername> C:\Program Files (x86)\BBWin\ext>cluster.exe
GetVersionExW failed on this system. Error 122
This version of Windows is not supported for Windows Clustering.
<servername> C:\Program Files (x86)\BBWin\ext>

The file information for cluster.exe;
File version 0.11.0.38
Build 38
Date 2007/12/27 18:09:33

Please note that BBWin 0.12 includes the same cluster.exe file and does produce the same error message

Microsoft Windows Server 2003 R2, Enterprise x64 Edition Service Pack 2 (build 3790)

Any assistance or pointers would be very much appreciated! (and of course if any additional information is required, please also let me know)

Thanks Lee

--- end Windows Admin mail ---

Has anybody seen this before?

Thanks
    Vernon

NOTICE: This email and any attachments are confidential.
They may contain legally privileged information or
copyright material. You must not read, copy, use or
disclose them without authorisation. If you are not an
intended recipient, please contact us at once by return
email and then delete both messages and all attachments.
list Padraig Lennon · Tue, 14 Oct 2008 18:11:26 +0200 ·
Could you repost the vbs? I can't locate it.. Or even send me on a link to the previous mail you sent?

Thanks


Padraig Lennon
Senior Systems Engineer
Production Services
Pioneer Global Investments (Dublin)
5th Floor Georges Quay Plaza, Dublin 2
ext: XXXX
Direct dial: 00353 1 480 2081
quoted from Dns

-----Original Message-----
From: DNS [mailto:user-08e747311acb@xymon.invalid] Sent: 14 October 2008 12:20
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Bbwin cluster.exe

Don't use Cluster.exe, because this give you very little information..use vbsscript that i send a while ago.... 


----- Original Message ----
From: "Everett, Vernon" <user-9da1a1882f49@xymon.invalid>
To: "user-ae9b8668bcde@xymon.invalid" <user-ae9b8668bcde@xymon.invalid>
Sent: Tuesday, October 14, 2008 10:58:27 AM
Subject: [hobbit] Bbwin cluster.exe

Hi all

I know this is a bbwin question, but the bbwin list appears to have died a horrible death, and our Windoze admin has asked me to help.

--- start Windoze Admin mail ---

Windows 2003 R2 SP2 x64 - bbwin external 'cluster.exe' GetVersionExW failed on this system. Error 122 This version of Windows is not supported for Windows Clustering.

I've searched the lists but haven't been able to reference the BBWin external as in our configuration.

Full unattended install (msiexec.exe /i BBWin_0.11.msi ADDLOCAL=ALL /qb-) so all externals are installed

I've tried to run the below connected via RDP, via RDP using console switch (mstsc /console /v:<servername>) and via ILO console (this is remote management for HP servers)

<servername> C:\Program Files (x86)\BBWin\ext>cluster.exe
GetVersionExW failed on this system. Error 122
This version of Windows is not supported for Windows Clustering.
<servername> C:\Program Files (x86)\BBWin\ext>

The file information for cluster.exe;
File version 0.11.0.38
Build 38
Date 2007/12/27 18:09:33

Please note that BBWin 0.12 includes the same cluster.exe file and does produce the same error message

Microsoft Windows Server 2003 R2, Enterprise x64 Edition Service Pack 2 (build 3790)

Any assistance or pointers would be very much appreciated! (and of course if any additional information is required, please also let me know)

Thanks Lee

--- end Windows Admin mail ---

Has anybody seen this before?

Thanks
    Vernon

NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.


-------------- next part --------------


"The information in this e-mail and in any attachments is confidential and intended solely for the attention and use of the named addressee(s). This information may be subject to legal, professional or other privilege and further distribution of it is strictly prohibited without our authority. If you are not the intended recipient, you are not authorised to and must not disclose, copy, distribute, or retain this message or any part of it, and should notify us immediately.

This footnote also confirms that this email has been automatically scanned for the presence of computer viruses, profanities and certain file types."

Pioneer Investment Management Limited.

1 George?s Quay Plaza, George?s Quay, Dublin 2, Ireland. 
Registered in Ireland no. 287793.
list Etienne Grignon · Tue, 14 Oct 2008 22:05:41 -0700 ·
Hi,

2008/10/14 Everett, Vernon <user-9da1a1882f49@xymon.invalid>:
quoted from Padraig Lennon
I know this is a bbwin question, but the bbwin list appears to have died a horrible death, and our Windoze admin has asked me to help.

--- start Windoze Admin mail ---

Windows 2003 R2 SP2 x64 - bbwin external 'cluster.exe' GetVersionExW failed on this system. Error 122 This version of Windows is not supported for Windows Clustering.

I've searched the lists but haven't been able to reference the BBWin external as in our configuration.

Full unattended install (msiexec.exe /i BBWin_0.11.msi ADDLOCAL=ALL /qb-) so all externals are installed

I've tried to run the below connected via RDP, via RDP using console switch (mstsc /console /v:<servername>) and via ILO console (this is remote management for HP servers)

<servername> C:\Program Files (x86)\BBWin\ext>cluster.exe
GetVersionExW failed on this system. Error 122
This version of Windows is not supported for Windows Clustering.
<servername> C:\Program Files (x86)\BBWin\ext>
I recompiled a version without the version checking. You can get it
here http://bbwin.sourceforge.net/download/cluster.zip. The function
to check version was not up to date and I don't think it is really
useful. It seems that Microsoft made some changes on the GetVersionEx
function on Windows 2003 R2 and Vista, so it is simpler to skip that
test. cluster.exe will fail if it can't find the clusapi.dll or if no
cluster is configured which is enough.

Let me know if it works better or not,

Thanks, and no, the bbwin mailing list is not dead, I'm really late on
answers I know that :-)

Etienne.
list Lee Quinn · Wed, 15 Oct 2008 14:10:58 +0800 ·
Thank you, but -

information - 2008/10/15 14:07:29 - DrWatson (4097) - The application, C:\Program Files (x86)\BBWin\ext\cluster.exe, generated an application error The error occurred on 10/15/2008 @ 14:07:29.708 The exception generated was c0000005 at address 7D64D233 (ntdll!RtlValidateHeap)
error - 2008/10/15 14:07:29 - Application Error (1000) - Faulting application cluster.exe, version 0.12.0.106, faulting module ntdll.dll, version 5.2.3790.3959, fault address 0x0004d233.
quoted from Etienne Grignon

-----Original Message-----
From: Etienne Grignon [mailto:user-87c74c1037a4@xymon.invalid]
Sent: Wednesday, 15 October 2008 1:06 PM
To: user-ae9b8668bcde@xymon.invalid
Cc: user-cfc16496e024@xymon.invalid
Subject: Re: [bbwin-users] [hobbit] Bbwin cluster.exe

Hi,

2008/10/14 Everett, Vernon <user-9da1a1882f49@xymon.invalid>:
I know this is a bbwin question, but the bbwin list appears to have died a horrible death, and our Windoze admin has asked me to help.

--- start Windoze Admin mail ---

Windows 2003 R2 SP2 x64 - bbwin external 'cluster.exe' GetVersionExW failed on this system. Error 122 This version of Windows is not supported for Windows Clustering.

I've searched the lists but haven't been able to reference the BBWin external as in our configuration.

Full unattended install (msiexec.exe /i BBWin_0.11.msi ADDLOCAL=ALL /qb-) so all externals are installed

I've tried to run the below connected via RDP, via RDP using console switch (mstsc /console /v:<servername>) and via ILO console (this is remote management for HP servers)

<servername> C:\Program Files (x86)\BBWin\ext>cluster.exe
GetVersionExW failed on this system. Error 122
This version of Windows is not supported for Windows Clustering.
<servername> C:\Program Files (x86)\BBWin\ext>
I recompiled a version without the version checking. You can get it
here http://bbwin.sourceforge.net/download/cluster.zip. The function
to check version was not up to date and I don't think it is really
useful. It seems that Microsoft made some changes on the GetVersionEx
function on Windows 2003 R2 and Vista, so it is simpler to skip that
test. cluster.exe will fail if it can't find the clusapi.dll or if no
cluster is configured which is enough.

Let me know if it works better or not,

Thanks, and no, the bbwin mailing list is not dead, I'm really late on
answers I know that :-)

Etienne.

This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
bbwin-users mailing list
user-cfc16496e024@xymon.invalid
quoted from Padraig Lennon

NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.
list Dns · Wed, 15 Oct 2008 01:33:15 -0700 (PDT) ·
Hi Padraig,

The vbs-script that i use to monitor a MS 2003 Cluster.... Just copy the code into a vbs-file to (..\bbwin\bin) and configure this as "external" in bbwin.cfg
====Begin====
On Error Resume Next
strMasterState = "green"
strBBFilename = "clusterRES"
'find out where to put BB log files
const HKLM = &H80000002
strBBExtpathNew = "SOFTWARE\BBWin"
strBBExtpathOld = "SOFTWARE\BBWin"
Set oReg=GetObject("winmgmts:\root\default:StdRegProv")
' check for BB Externals Path; reg key changes between versions
oReg.GetStringValue HKLM,strBBExtpathNew,,strExtpath
if isnull(strExtpath) then
oReg.GetStringValue HKLM,strBBExtpathOld,,strExtpath
end if
if isnull(strExtpath) then
wscript.quit
end if
'Create the cluster, shell, network, and file system objects
Set objClus = CreateObject("MSCluster.Cluster")
Set WshNetwork = WScript.CreateObject("WScript.Network")
strComputerName = WshNetwork.ComputerName
'Open a cluster object for the cluster running on the local system
objClus.Open ""
if err then
wscript.quit
end if
strfileoutput = strfileoutput & "CLUSTER NAME: " & objClus.Name & vbcrlf
strfileoutput = strfileoutput & objClus.Version.VendorID & " - " & objClus.Version.MajorVersion &  "." & objClus.Version.MinorVersion & "." & objClus.Version.BuildNumber & " - " & objClus.Version.CSDVersion & vbcrlf & vbcrlf
strfileoutput = strfileoutput & "Cluster Nodes:" & vbcrlf
For Each itmNode in objClus.Nodes
select case itmNode.state
case 0
strfileoutput = strfileoutput & "&green ONLINE  - " & itmNode.Name & vbcrlf
case 1
strfileoutput = strfileoutput & "&red OFFLINE - " & itmNode.Name & vbcrlf
if strMasterState <> "red" then
strMasterState = "red"
end if
end select
Next
strfileoutput = strfileoutput & "Quorum Device: " & objClus.QuorumResource.Name & " - " & objClus.QuorumPath & vbcrlf & vbcrlf
strfileoutput = strfileoutput & objclus.name & " GROUPS" & vbcrlf & vbcrlf
For Each itmGroup in objClus.ResourceGroups
strfileoutput = strfileoutput & itmGroup.Name & " (" & itmGroup.Resources.Count & " Resources)" & vbcrlf
For Each itmRes in itmGroup.Resources
select case itmres.state
case 2
strstate = "&green ONLINE          - "
case 3
strstate = "&yellow OFFLINE         - "
if strMasterState = "green" then
strMasterState = "yellow"
end if
case 4
strstate = "&red FAILED          - "
if strMasterState  <> "red" then
strMasterState = "red"
end if
case 129
strstate = "&yellow ONLINE PENDING  - "
if strMasterState = "green" then
strMasterState = "yellow"
end if
end select
strFileOutput = strFileOutput & strState & itmRes.Name & vbtab & itmRes.TypeName & vbcrlf
strState = ""
Next
strfileoutput = strfileoutput & vbcrlf
Next
'output
strfileoutput = strMasterState & " " & "  MS Cluster Services   " & Now & vbtab & "[" & strComputerName & "]" & vbcrlf & strFileOutput
' Output
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.OpenTextFile(strExtpath & "\" & strBBFileName, 8 , TRUE)
f.Write strFileOutput
f.Close
set fso = Nothing
set f = Nothing
set objclus = Nothing
wscript.quit
===End ====

Let me know if this is what you looking for....
Kind regards,
DNS
quoted from Padraig Lennon


----- Original Message ----
From: "Lennon, Padraig" <user-7738cfcc6ae0@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Tuesday, October 14, 2008 6:11:26 PM
Subject: RE: [hobbit] Bbwin cluster.exe

Could you repost the vbs? I can't locate it.. Or even send me on a link to the previous mail you sent?

Thanks


Padraig Lennon
Senior Systems Engineer
Production Services
Pioneer Global Investments (Dublin)
5th Floor Georges Quay Plaza, Dublin 2
ext: XXXX
Direct dial: 00353 1 480 2081

-----Original Message-----
From: DNS [mailto:user-08e747311acb@xymon.invalid] 
Sent: 14 October 2008 12:20
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Bbwin cluster.exe

Don't use Cluster.exe, because this give you very little information..use vbsscript that i send a while ago.... 


----- Original Message ----
From: "Everett, Vernon" <user-9da1a1882f49@xymon.invalid>
To: "user-ae9b8668bcde@xymon.invalid" <user-ae9b8668bcde@xymon.invalid>
Sent: Tuesday, October 14, 2008 10:58:27 AM
Subject: [hobbit] Bbwin cluster.exe

Hi all

I know this is a bbwin question, but the bbwin list appears to have died a horrible death, and our Windoze admin has asked me to help.

--- start Windoze Admin mail ---

Windows 2003 R2 SP2 x64 - bbwin external 'cluster.exe' GetVersionExW failed on this system. Error 122 This version of Windows is not supported for Windows Clustering.

I've searched the lists but haven't been able to reference the BBWin external as in our configuration.

Full unattended install (msiexec.exe /i BBWin_0.11.msi ADDLOCAL=ALL /qb-) so all externals are installed

I've tried to run the below connected via RDP, via RDP using console switch (mstsc /console /v:<servername>) and via ILO console (this is remote management for HP servers)

<servername> C:\Program Files (x86)\BBWin\ext>cluster.exe
GetVersionExW failed on this system. Error 122
This version of Windows is not supported for Windows Clustering.
<servername> C:\Program Files (x86)\BBWin\ext>

The file information for cluster.exe;
File version 0.11.0.38
Build 38
Date 2007/12/27 18:09:33

Please note that BBWin 0.12 includes the same cluster.exe file and does produce the same error message

Microsoft Windows Server 2003 R2, Enterprise x64 Edition Service Pack 2 (build 3790)

Any assistance or pointers would be very much appreciated! (and of course if any additional information is required, please also let me know)

Thanks Lee

--- end Windows Admin mail ---

Has anybody seen this before?

Thanks
    Vernon

NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.
list Padraig Lennon · Wed, 15 Oct 2008 11:38:54 +0200 ·
Hi DNS

That's great.. How do you normally run this? What I mean is do you put the test on each cluster node?

Thanks for this 
signature


Padraig Lennon
Senior Systems Engineer
Production Services
Pioneer Global Investments (Dublin)
5th Floor Georges Quay Plaza, Dublin 2
ext: XXXX
Direct dial: 00353 1 480 2081

-----Original Message-----

quoted from Dns
From: DNS [mailto:user-08e747311acb@xymon.invalid] 
Sent: 15 October 2008 09:33
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Bbwin cluster.exe

Hi Padraig,

The vbs-script that i use to monitor a MS XXXX Cluster.... Just copy the code into a vbs-file to (..\bbwin\bin) and configure this as "external" in bbwin.cfg
quoted from Dns
====Begin====
On Error Resume Next
strMasterState = "green"
strBBFilename = "clusterRES"
'find out where to put BB log files
const HKLM = &H80000002
strBBExtpathNew = "SOFTWARE\BBWin"
strBBExtpathOld = "SOFTWARE\BBWin"
Set oReg=GetObject("winmgmts:\root\default:StdRegProv")
' check for BB Externals Path; reg key changes between versions
oReg.GetStringValue HKLM,strBBExtpathNew,,strExtpath
if isnull(strExtpath) then
oReg.GetStringValue HKLM,strBBExtpathOld,,strExtpath
end if
if isnull(strExtpath) then
wscript.quit
end if
'Create the cluster, shell, network, and file system objects
Set objClus = CreateObject("MSCluster.Cluster")
Set WshNetwork = WScript.CreateObject("WScript.Network")
strComputerName = WshNetwork.ComputerName
'Open a cluster object for the cluster running on the local system
objClus.Open ""
if err then
wscript.quit
end if
strfileoutput = strfileoutput & "CLUSTER NAME: " & objClus.Name & vbcrlf
strfileoutput = strfileoutput & objClus.Version.VendorID & " - " & objClus.Version.MajorVersion &  "." & objClus.Version.MinorVersion & "." & objClus.Version.BuildNumber & " - " & objClus.Version.CSDVersion & vbcrlf & vbcrlf
strfileoutput = strfileoutput & "Cluster Nodes:" & vbcrlf
For Each itmNode in objClus.Nodes
select case itmNode.state
case 0
strfileoutput = strfileoutput & "&green ONLINE  - " & itmNode.Name & vbcrlf
case 1
strfileoutput = strfileoutput & "&red OFFLINE - " & itmNode.Name & vbcrlf
if strMasterState <> "red" then
strMasterState = "red"
end if
end select
Next
strfileoutput = strfileoutput & "Quorum Device: " & objClus.QuorumResource.Name & " - " & objClus.QuorumPath & vbcrlf & vbcrlf
strfileoutput = strfileoutput & objclus.name & " GROUPS" & vbcrlf & vbcrlf
For Each itmGroup in objClus.ResourceGroups
strfileoutput = strfileoutput & itmGroup.Name & " (" & itmGroup.Resources.Count & " Resources)" & vbcrlf
For Each itmRes in itmGroup.Resources
select case itmres.state
case 2
strstate = "&green ONLINE          - "
case 3
strstate = "&yellow OFFLINE         - "
if strMasterState = "green" then
strMasterState = "yellow"
end if
case 4
strstate = "&red FAILED          - "
if strMasterState  <> "red" then
strMasterState = "red"
end if
case 129
strstate = "&yellow ONLINE PENDING  - "
if strMasterState = "green" then
strMasterState = "yellow"
end if
end select
strFileOutput = strFileOutput & strState & itmRes.Name & vbtab & itmRes.TypeName & vbcrlf
strState = ""
Next
strfileoutput = strfileoutput & vbcrlf
Next
'output
strfileoutput = strMasterState & " " & "  MS Cluster Services   " & Now & vbtab & "[" & strComputerName & "]" & vbcrlf & strFileOutput
' Output
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.OpenTextFile(strExtpath & "\" & strBBFileName, 8 , TRUE)
f.Write strFileOutput
f.Close
set fso = Nothing
set f = Nothing
set objclus = Nothing
wscript.quit
===End ====

Let me know if this is what you looking for....
Kind regards,
DNS


----- Original Message ----
From: "Lennon, Padraig" <user-7738cfcc6ae0@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Tuesday, October 14, 2008 6:11:26 PM
Subject: RE: [hobbit] Bbwin cluster.exe

Could you repost the vbs? I can't locate it.. Or even send me on a link to the previous mail you sent?

Thanks


Padraig Lennon
Senior Systems Engineer
Production Services
Pioneer Global Investments (Dublin)
5th Floor Georges Quay Plaza, Dublin 2
ext: XXXX
Direct dial: 00353 1 480 2081

-----Original Message-----
From: DNS [mailto:user-08e747311acb@xymon.invalid] 
Sent: 14 October 2008 12:20
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Bbwin cluster.exe

Don't use Cluster.exe, because this give you very little information..use vbsscript that i send a while ago.... 


----- Original Message ----
From: "Everett, Vernon" <user-9da1a1882f49@xymon.invalid>
To: "user-ae9b8668bcde@xymon.invalid" <user-ae9b8668bcde@xymon.invalid>
Sent: Tuesday, October 14, 2008 10:58:27 AM
Subject: [hobbit] Bbwin cluster.exe

Hi all

I know this is a bbwin question, but the bbwin list appears to have died a horrible death, and our Windoze admin has asked me to help.

--- start Windoze Admin mail ---

Windows 2003 R2 SP2 x64 - bbwin external 'cluster.exe' GetVersionExW failed on this system. Error 122 This version of Windows is not supported for Windows Clustering.

I've searched the lists but haven't been able to reference the BBWin external as in our configuration.

Full unattended install (msiexec.exe /i BBWin_0.11.msi ADDLOCAL=ALL /qb-) so all externals are installed

I've tried to run the below connected via RDP, via RDP using console switch (mstsc /console /v:<servername>) and via ILO console (this is remote management for HP servers)

<servername> C:\Program Files (x86)\BBWin\ext>cluster.exe
GetVersionExW failed on this system. Error 122
This version of Windows is not supported for Windows Clustering.
<servername> C:\Program Files (x86)\BBWin\ext>

The file information for cluster.exe;
File version 0.11.0.38
Build 38
Date 2007/12/27 18:09:33

Please note that BBWin 0.12 includes the same cluster.exe file and does produce the same error message

Microsoft Windows Server 2003 R2, Enterprise x64 Edition Service Pack 2 (build 3790)

Any assistance or pointers would be very much appreciated! (and of course if any additional information is required, please also let me know)

Thanks Lee

--- end Windows Admin mail ---

Has anybody seen this before?

Thanks
    Vernon

NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.


      


-------------- next part --------------


"The information in this e-mail and in any attachments is confidential and intended solely 
for the attention and use of the named addressee(s). This information may be subject to legal, 
professional or other privilege and further distribution of it is strictly prohibited without 
our authority. If you are not the intended recipient, you are not authorised to and must not 
disclose, copy, distribute, or retain this message or any part of it, and should notify us 
immediately.

This footnote also confirms that this email has been automatically scanned for the presence 
of computer viruses, profanities and certain file types."

Pioneer Investment Management Limited.

1 George?s Quay Plaza, George?s Quay, Dublin 2, Ireland. 

Registered in Ireland no. 287793.
list Dns · Wed, 15 Oct 2008 05:13:23 -0700 (PDT) ·
yes..put the script on each node and let it run every 5min or so. 
quoted from Padraig Lennon


----- Original Message ----
From: "Lennon, Padraig" <user-7738cfcc6ae0@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Wednesday, October 15, 2008 11:38:54 AM
Subject: RE: [hobbit] Bbwin cluster.exe

Hi DNS

That's great.. How do you normally run this? What I mean is do you put the test on each cluster node?

Thanks for this 


Padraig Lennon
Senior Systems Engineer
Production Services
Pioneer Global Investments (Dublin)
5th Floor Georges Quay Plaza, Dublin 2
ext: XXXX
Direct dial: 00353 1 480 2081

-----Original Message-----
From: DNS [mailto:user-08e747311acb@xymon.invalid] 
Sent: 15 October 2008 09:33
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Bbwin cluster.exe

Hi Padraig,

The vbs-script that i use to monitor a MS XXXX Cluster.... Just copy the code into a vbs-file to (..\bbwin\bin) and configure this as "external" in bbwin.cfg
====Begin====
On Error Resume Next
strMasterState = "green"
strBBFilename = "clusterRES"
'find out where to put BB log files
const HKLM = &H80000002
strBBExtpathNew = "SOFTWARE\BBWin"
strBBExtpathOld = "SOFTWARE\BBWin"
Set oReg=GetObject("winmgmts:\root\default:StdRegProv")
' check for BB Externals Path; reg key changes between versions
oReg.GetStringValue HKLM,strBBExtpathNew,,strExtpath
if isnull(strExtpath) then
oReg.GetStringValue HKLM,strBBExtpathOld,,strExtpath
end if
if isnull(strExtpath) then
wscript.quit
end if
'Create the cluster, shell, network, and file system objects
Set objClus = CreateObject("MSCluster.Cluster")
Set WshNetwork = WScript.CreateObject("WScript.Network")
strComputerName = WshNetwork.ComputerName
'Open a cluster object for the cluster running on the local system
objClus.Open ""
if err then
wscript.quit
end if
strfileoutput = strfileoutput & "CLUSTER NAME: " & objClus.Name & vbcrlf
strfileoutput = strfileoutput & objClus.Version.VendorID & " - " & objClus.Version.MajorVersion &  "." & objClus.Version.MinorVersion & "." & objClus.Version.BuildNumber & " - " & objClus.Version.CSDVersion & vbcrlf & vbcrlf
strfileoutput = strfileoutput & "Cluster Nodes:" & vbcrlf
For Each itmNode in objClus.Nodes
select case itmNode.state
case 0
strfileoutput = strfileoutput & "&green ONLINE  - " & itmNode.Name & vbcrlf
case 1
strfileoutput = strfileoutput & "&red OFFLINE - " & itmNode.Name & vbcrlf
if strMasterState <> "red" then
strMasterState = "red"
end if
end select
Next
strfileoutput = strfileoutput & "Quorum Device: " & objClus.QuorumResource.Name & " - " & objClus.QuorumPath & vbcrlf & vbcrlf
strfileoutput = strfileoutput & objclus.name & " GROUPS" & vbcrlf & vbcrlf
For Each itmGroup in objClus.ResourceGroups
strfileoutput = strfileoutput & itmGroup.Name & " (" & itmGroup.Resources.Count & " Resources)" & vbcrlf
For Each itmRes in itmGroup.Resources
select case itmres.state
case 2
strstate = "&green ONLINE          - "
case 3
strstate = "&yellow OFFLINE         - "
if strMasterState = "green" then
strMasterState = "yellow"
end if
case 4
strstate = "&red FAILED          - "
if strMasterState  <> "red" then
strMasterState = "red"
end if
case 129
strstate = "&yellow ONLINE PENDING  - "
if strMasterState = "green" then
strMasterState = "yellow"
end if
end select
strFileOutput = strFileOutput & strState & itmRes.Name & vbtab & itmRes.TypeName & vbcrlf
strState = ""
Next
strfileoutput = strfileoutput & vbcrlf
Next
'output
strfileoutput = strMasterState & " " & "  MS Cluster Services   " & Now & vbtab & "[" & strComputerName & "]" & vbcrlf & strFileOutput
' Output
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.OpenTextFile(strExtpath & "\" & strBBFileName, 8 , TRUE)
f.Write strFileOutput
f.Close
set fso = Nothing
set f = Nothing
set objclus = Nothing
wscript.quit
===End ====

Let me know if this is what you looking for....
Kind regards,
DNS


----- Original Message ----
From: "Lennon, Padraig" <user-7738cfcc6ae0@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Tuesday, October 14, 2008 6:11:26 PM
Subject: RE: [hobbit] Bbwin cluster.exe

Could you repost the vbs? I can't locate it.. Or even send me on a link to the previous mail you sent?

Thanks


Padraig Lennon
Senior Systems Engineer
Production Services
Pioneer Global Investments (Dublin)
5th Floor Georges Quay Plaza, Dublin 2
ext: XXXX
Direct dial: 00353 1 480 2081

-----Original Message-----
From: DNS [mailto:user-08e747311acb@xymon.invalid] 
Sent: 14 October 2008 12:20
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Bbwin cluster.exe

Don't use Cluster.exe, because this give you very little information..use vbsscript that i send a while ago.... 


----- Original Message ----
From: "Everett, Vernon" <user-9da1a1882f49@xymon.invalid>
To: "user-ae9b8668bcde@xymon.invalid" <user-ae9b8668bcde@xymon.invalid>
Sent: Tuesday, October 14, 2008 10:58:27 AM
Subject: [hobbit] Bbwin cluster.exe

Hi all

I know this is a bbwin question, but the bbwin list appears to have died a horrible death, and our Windoze admin has asked me to help.

--- start Windoze Admin mail ---

Windows 2003 R2 SP2 x64 - bbwin external 'cluster.exe' GetVersionExW failed on this system. Error 122 This version of Windows is not supported for Windows Clustering.

I've searched the lists but haven't been able to reference the BBWin external as in our configuration.

Full unattended install (msiexec.exe /i BBWin_0.11.msi ADDLOCAL=ALL /qb-) so all externals are installed

I've tried to run the below connected via RDP, via RDP using console switch (mstsc /console /v:<servername>) and via ILO console (this is remote management for HP servers)

<servername> C:\Program Files (x86)\BBWin\ext>cluster.exe
GetVersionExW failed on this system. Error 122
This version of Windows is not supported for Windows Clustering.
<servername> C:\Program Files (x86)\BBWin\ext>

The file information for cluster.exe;
File version 0.11.0.38
Build 38
Date 2007/12/27 18:09:33

Please note that BBWin 0.12 includes the same cluster.exe file and does produce the same error message

Microsoft Windows Server 2003 R2, Enterprise x64 Edition Service Pack 2 (build 3790)

Any assistance or pointers would be very much appreciated! (and of course if any additional information is required, please also let me know)

Thanks Lee

--- end Windows Admin mail ---

Has anybody seen this before?

Thanks
    Vernon

NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.
list Padraig Lennon · Wed, 15 Oct 2008 15:46:44 +0200 ·
Thanks..

You really should put the script up on the shire to share it with people.. Its quality work..

regards 
signature


Padraig Lennon
Senior Systems Engineer
Production Services
Pioneer Global Investments (Dublin)
5th Floor Georges Quay Plaza, Dublin 2
ext: XXXX
Direct dial: 00353 1 480 2081

-----Original Message-----

quoted from Dns
From: DNS [mailto:user-08e747311acb@xymon.invalid] 
Sent: 15 October 2008 13:13
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Bbwin cluster.exe

yes..put the script on each node and let it run every 5min or so. 


----- Original Message ----
From: "Lennon, Padraig" <user-7738cfcc6ae0@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Wednesday, October 15, 2008 11:38:54 AM
Subject: RE: [hobbit] Bbwin cluster.exe

Hi DNS

That's great.. How do you normally run this? What I mean is do you put the test on each cluster node?

Thanks for this 


Padraig Lennon
Senior Systems Engineer
Production Services
Pioneer Global Investments (Dublin)
5th Floor Georges Quay Plaza, Dublin 2
ext: XXXX
Direct dial: 00353 1 480 2081

-----Original Message-----
From: DNS [mailto:user-08e747311acb@xymon.invalid] 
Sent: 15 October 2008 09:33
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Bbwin cluster.exe

Hi Padraig,

The vbs-script that i use to monitor a MS XXXX Cluster.... Just copy the code into a vbs-file to (..\bbwin\bin) and configure this as "external" in bbwin.cfg
====Begin====
On Error Resume Next
strMasterState = "green"
strBBFilename = "clusterRES"
'find out where to put BB log files
const HKLM = &H80000002
strBBExtpathNew = "SOFTWARE\BBWin"
strBBExtpathOld = "SOFTWARE\BBWin"
Set oReg=GetObject("winmgmts:\root\default:StdRegProv")
' check for BB Externals Path; reg key changes between versions
oReg.GetStringValue HKLM,strBBExtpathNew,,strExtpath
if isnull(strExtpath) then
oReg.GetStringValue HKLM,strBBExtpathOld,,strExtpath
end if
if isnull(strExtpath) then
wscript.quit
end if
'Create the cluster, shell, network, and file system objects
Set objClus = CreateObject("MSCluster.Cluster")
Set WshNetwork = WScript.CreateObject("WScript.Network")
strComputerName = WshNetwork.ComputerName
'Open a cluster object for the cluster running on the local system
objClus.Open ""
if err then
wscript.quit
end if
strfileoutput = strfileoutput & "CLUSTER NAME: " & objClus.Name & vbcrlf
strfileoutput = strfileoutput & objClus.Version.VendorID & " - " & objClus.Version.MajorVersion &  "." & objClus.Version.MinorVersion & "." & objClus.Version.BuildNumber & " - " & objClus.Version.CSDVersion & vbcrlf & vbcrlf
strfileoutput = strfileoutput & "Cluster Nodes:" & vbcrlf
For Each itmNode in objClus.Nodes
select case itmNode.state
case 0
strfileoutput = strfileoutput & "&green ONLINE  - " & itmNode.Name & vbcrlf
case 1
strfileoutput = strfileoutput & "&red OFFLINE - " & itmNode.Name & vbcrlf
if strMasterState <> "red" then
strMasterState = "red"
end if
end select
Next
strfileoutput = strfileoutput & "Quorum Device: " & objClus.QuorumResource.Name & " - " & objClus.QuorumPath & vbcrlf & vbcrlf
strfileoutput = strfileoutput & objclus.name & " GROUPS" & vbcrlf & vbcrlf
For Each itmGroup in objClus.ResourceGroups
strfileoutput = strfileoutput & itmGroup.Name & " (" & itmGroup.Resources.Count & " Resources)" & vbcrlf
For Each itmRes in itmGroup.Resources
select case itmres.state
case 2
strstate = "&green ONLINE          - "
case 3
strstate = "&yellow OFFLINE         - "
if strMasterState = "green" then
strMasterState = "yellow"
end if
case 4
strstate = "&red FAILED          - "
if strMasterState  <> "red" then
strMasterState = "red"
end if
case 129
strstate = "&yellow ONLINE PENDING  - "
if strMasterState = "green" then
strMasterState = "yellow"
end if
end select
strFileOutput = strFileOutput & strState & itmRes.Name & vbtab & itmRes.TypeName & vbcrlf
strState = ""
Next
strfileoutput = strfileoutput & vbcrlf
Next
'output
strfileoutput = strMasterState & " " & "  MS Cluster Services   " & Now & vbtab & "[" & strComputerName & "]" & vbcrlf & strFileOutput
' Output
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.OpenTextFile(strExtpath & "\" & strBBFileName, 8 , TRUE)
f.Write strFileOutput
f.Close
set fso = Nothing
set f = Nothing
set objclus = Nothing
wscript.quit
===End ====

Let me know if this is what you looking for....
Kind regards,
DNS


----- Original Message ----
From: "Lennon, Padraig" <user-7738cfcc6ae0@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Tuesday, October 14, 2008 6:11:26 PM
Subject: RE: [hobbit] Bbwin cluster.exe

Could you repost the vbs? I can't locate it.. Or even send me on a link to the previous mail you sent?

Thanks


Padraig Lennon
Senior Systems Engineer
Production Services
Pioneer Global Investments (Dublin)
5th Floor Georges Quay Plaza, Dublin 2
ext: XXXX
Direct dial: 00353 1 480 2081

-----Original Message-----
From: DNS [mailto:user-08e747311acb@xymon.invalid] 
Sent: 14 October 2008 12:20
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Bbwin cluster.exe

Don't use Cluster.exe, because this give you very little information..use vbsscript that i send a while ago.... 


----- Original Message ----
From: "Everett, Vernon" <user-9da1a1882f49@xymon.invalid>
To: "user-ae9b8668bcde@xymon.invalid" <user-ae9b8668bcde@xymon.invalid>
Sent: Tuesday, October 14, 2008 10:58:27 AM
Subject: [hobbit] Bbwin cluster.exe

Hi all

I know this is a bbwin question, but the bbwin list appears to have died a horrible death, and our Windoze admin has asked me to help.

--- start Windoze Admin mail ---

Windows 2003 R2 SP2 x64 - bbwin external 'cluster.exe' GetVersionExW failed on this system. Error 122 This version of Windows is not supported for Windows Clustering.

I've searched the lists but haven't been able to reference the BBWin external as in our configuration.

Full unattended install (msiexec.exe /i BBWin_0.11.msi ADDLOCAL=ALL /qb-) so all externals are installed

I've tried to run the below connected via RDP, via RDP using console switch (mstsc /console /v:<servername>) and via ILO console (this is remote management for HP servers)

<servername> C:\Program Files (x86)\BBWin\ext>cluster.exe
GetVersionExW failed on this system. Error 122
This version of Windows is not supported for Windows Clustering.
<servername> C:\Program Files (x86)\BBWin\ext>

The file information for cluster.exe;
File version 0.11.0.38
Build 38
Date 2007/12/27 18:09:33

Please note that BBWin 0.12 includes the same cluster.exe file and does produce the same error message

Microsoft Windows Server 2003 R2, Enterprise x64 Edition Service Pack 2 (build 3790)

Any assistance or pointers would be very much appreciated! (and of course if any additional information is required, please also let me know)

Thanks Lee

--- end Windows Admin mail ---

Has anybody seen this before?

Thanks
    Vernon

NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.


      


      


-------------- next part --------------


"The information in this e-mail and in any attachments is confidential and intended solely 
for the attention and use of the named addressee(s). This information may be subject to legal, 
professional or other privilege and further distribution of it is strictly prohibited without 
our authority. If you are not the intended recipient, you are not authorised to and must not 
disclose, copy, distribute, or retain this message or any part of it, and should notify us 
immediately.

This footnote also confirms that this email has been automatically scanned for the presence 
of computer viruses, profanities and certain file types."

Pioneer Investment Management Limited.

1 George?s Quay Plaza, George?s Quay, Dublin 2, Ireland. 

Registered in Ireland no. 287793.