BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 02-20-2012, 09:13 AM   #1
ctpuk
Knows Where the Search Button Is
 
Join Date: Aug 2008
Model: 9900
PIN: N/A
Carrier: O2 UK
Posts: 29
Default BES HA scripting query

Please Login to Remove!

I'm finding the failover functionality of BES 5 HA frustrating. The frustration is centred around the need to turn on automatic failover after an auto failover has occurred.

Does anybody know of a utility (BES resource kit or otherwise) I could use to both determine and configure failover status? I'd like to script something and run it as a daily scheduled task.

Thanks in advance.
Offline  
Old 03-12-2012, 12:04 PM   #2
MisterGriffiths
Talking BlackBerry Encyclopedia
 
MisterGriffiths's Avatar
 
Join Date: Nov 2007
Location: London
Model: 9780
OS: 5.0.3.31
PIN: N/A
Carrier: O2
Posts: 208
Default Re: BES HA scripting query

You could use pstools "psservice" to determine where your service is running:

psservice \\server1 query "blackberry mailstore service"
psservice \\server2 query "blackberry mailstore service"

The STATE will either return RUNNING on the active node or STOPPED on the Standy node.

I'm a bit old school and still use batch scripts with a combination of pstools, findstr and FOR /F commands.
__________________
BES 5.0.3 MR4
Exchange 2010 (SP1 RU3)
SQL 2008 R2
Offline  
Old 05-16-2012, 09:56 AM   #3
ctpuk
Knows Where the Search Button Is
 
Join Date: Aug 2008
Model: 9900
PIN: N/A
Carrier: O2 UK
Posts: 29
Default Re: BES HA scripting query

MisterGriffiths... thanks. I'm with you on batch and that's a great idea.

The only issue is that it'll require some logic tracking to note whether a failover has occurred - but that isn't impossible. A flag file that's checked and overwritten as appropriate for each bes pair in a neutral location would do the job.

besuseradminclient.exe also looks pretty useful (now I finally managed to find the download link on the blackberry.com site... there isn't one under 5.0.3 resource kit - you have to opt for the previous version) with its -list -ha_status and -set_server_failover_mode / -set_connection_failover_mode options

Thanks,

Chris.
Offline  
Old 05-16-2012, 09:59 AM   #4
MisterGriffiths
Talking BlackBerry Encyclopedia
 
MisterGriffiths's Avatar
 
Join Date: Nov 2007
Location: London
Model: 9780
OS: 5.0.3.31
PIN: N/A
Carrier: O2
Posts: 208
Default Re: BES HA scripting query

" -list -ha_status and -set_server_failover_mode / -set_connection_failover_mode"

I'm going to check these out myself.

Thanks for that.
__________________
BES 5.0.3 MR4
Exchange 2010 (SP1 RU3)
SQL 2008 R2
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads for: BES HA scripting query
Thread Thread Starter Forum Replies Last Post
BES 5 HA vs vSphere FT SteveA BES Admin Corner 3 05-14-2010 08:11 AM
Another Activating Initializing on BB Professional patrickd26 BES Admin Corner 4 05-06-2008 05:12 AM
The Saga of getting a BES data plan in the UK nm1213 General BlackBerry Discussion 3 09-03-2006 05:36 PM
Quick query for user on BES server qc_metal BES Admin Corner 4 11-14-2005 09:47 AM
BES 3.6 To BES 4.0 user query Kul BES Admin Corner 0 10-17-2005 09:48 AM


Audio Polarity Checker Phase Detector Self-Test Auto-Off PD-9A Speaker Tester picture

Audio Polarity Checker Phase Detector Self-Test Auto-Off PD-9A Speaker Tester

$43.00



Waterproof Momentary Reverse Polarity Switch 12V 10 Amps DC Motor Control 6 Pin picture

Waterproof Momentary Reverse Polarity Switch 12V 10 Amps DC Motor Control 6 Pin

$20.99



IndusTec Motor polarity reversing - Toggle Switch 3 Pos DPDT Momentary 12V 24V picture

IndusTec Motor polarity reversing - Toggle Switch 3 Pos DPDT Momentary 12V 24V

$14.99



IndusTec 20 AMP 12v DC Momentary Reverse Polarity Rocker Switch DPDT SEE VIDEO picture

IndusTec 20 AMP 12v DC Momentary Reverse Polarity Rocker Switch DPDT SEE VIDEO

$9.99



IndusTec DPDT 20 AMP - 6 PIN Maintained 3 Position Rocker Switch polarity 12V DC picture

IndusTec DPDT 20 AMP - 6 PIN Maintained 3 Position Rocker Switch polarity 12V DC

$7.29



Polarity Relay fits Belarus 570 572 902 802 922 562 825 560 822 820 805 800 905 picture

Polarity Relay fits Belarus 570 572 902 802 922 562 825 560 822 820 805 800 905

$169.19







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.