BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-20-2012, 09:13 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Aug 2008
Model: 9900
PIN: N/A
Carrier: O2 UK
Posts: 29
Post Thanks: 3
Thanked 2 Times in 2 Posts
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, 01:04 PM   #2 (permalink)
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
Post Thanks: 5
Thanked 16 Times in 13 Posts
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  
The Following User Says Thank You to MisterGriffiths For This Useful Post:
ctpuk (05-21-2012)
Old 05-16-2012, 10:56 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Aug 2008
Model: 9900
PIN: N/A
Carrier: O2 UK
Posts: 29
Post Thanks: 3
Thanked 2 Times in 2 Posts
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  
The Following User Says Thank You to ctpuk For This Useful Post:
MisterGriffiths (05-16-2012)
Old 05-16-2012, 10:59 AM   #4 (permalink)
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
Post Thanks: 5
Thanked 16 Times in 13 Posts
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


Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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 09:11 AM
Another Activating Initializing on BB Professional patrickd26 BES Admin Corner 4 05-06-2008 06:12 AM
The Saga of getting a BES data plan in the UK nm1213 General BlackBerry Discussion 3 09-03-2006 06: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 10:48 AM





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