About Me

My photo
This is a blog for John Weber. One of my joys in life is helping others get ahead in life. Content here will be focused on that from this date forward. John was a Skype for Business MVP (2015-2018) - before that, a Lync Server MVP (2010-2014). I used to write a variety of articles (https://tsoorad.blogspot.com) on technical issues with a smattering of other interests. I have a variety of certifications dating back to Novell CNE and working up through the Microsoft MCP stack to MCITP multiple times. FWIW, I am on my third career - ex-USMC, retired US Army. I have a fancy MBA. The opinions expressed on this blog are mine and mine alone.

2018/01/22

SfB SE CMS Master failover success process

Background

You can start by reading this.  This is a tested path forward if you find yourself in the CMS split-brain scenario as described in that article.  After noodling through that process yesterday, and knowing that I have customers who need this to work so as to ETHICALLY meet their SLA/RTO/RTP type stuff, I got to thinking.  And then Josh Walters, a co-worker of mine, made the fateful comment “the server that gets failed over to is happy and functioning, why can’t we just leave it alone?”
In relative age terms, from the mouth of babes…I got to thinking – can I create a process that is repeatable, that comes before the Vale 19-step method, and allow me to confidently tell customers that “this works.”

Scenario

We are ignoring the RGS and the Edge changes necessary for the full site failovoer in this article.  We are totally focused on just the CMS, why it happens (theory on my part), and what to do to recover gracefully in a predictable manner (empirical on my part).
There is actually the option to not perform a CMS failover…I have had environments where the CMS was offline for extended periods of time with no ill effects.  Just don’t change anything.
Our environment is two SfB SE servers, pool paired.  Sfbse.tsoorad.net is the “old” master, sfbse2.tsoorad.net is the “new” master.
After making up the pool pair, we have simulated the datacenter outage by turning off sfbse.tsoorad.net, thereby making the surviving system components think that the CMS master is gone.  Power off is a state that pretty much assures that no-one is talking to that server anytime soon.










The initial CMS server failover goes just fine.  The problem comes up when the “old” master comes back online and thinks that IT is the master.  But the sfbse2 server, the “new” master is in charge, and suddenly, you cannot make changes.  Classic split-brain.  Replication is borked.  Attribute pointers don’t point.  See the blank in this example where the ActiveMasterFQDN might just be something we need to know about.




What is causing this

If my surmise/theory is correct, the split-brain starts when the second node assumes control of the CMS.  No problem.  As a domain member running with the proper authority/credentials, the AD gets changed, the topology gets changed, and the surviving servers in the environment start replicating from what they are told is the CMS.  At this point everything is fine; the split-brain has started, just not affecting us quite yet.
The split-brain posture really gets wound up when the failed server comes back online and it thinks that it is the CMS master.  Understandable.  Before whatever happened happened, that server was indeed the CMS master.  But another server is now designated, and the newly revived server never got re-written, and things are now just a tad stuck.  Again, see this article here, as well as the Mark Vale article here.

What to do about it

The obvious answer, of course, is the easiest.  We will wait right here as you locate your copy of last nights backup script and the ensuing copy of the export-csconfiguration and export-cslisconfiguration and carefully resolve NOT to use them. (they point to the OLD master, and the NEW master is up and running – and in the immortal words of  Josh Walters, “can’t we just leave it alone?)”.  Keep in mind that you don’t HAVE to move the CMS back.  To dovetail with the Savant Walters, we can further notice that the CMS has a failover cmdlet, but no failback cmdlet.
You will make new ones here in the next section and they will be better as they will not reference the original CMS master (pre failure) as the master or being “active”.

Fix me!

From the new master run:
  • export-csconfiguration (we are just being thorough, you should not need this file for this exercise)
  • export-csLISconfiguration (ditto)
  • Place your new exports where you can use them in case you don’t already have them, and then throw them away after the next time your backup captures that data.  If you get the end of all this, and invoke a failback to the “old” master, you can throw the exports away in that case also.  You do have a plan, right? 
  • stop services on “new” master:  FTA, LyncBackup, Master, Replica
Bring the “old” master back online.
  • From the “old” master, stop services:  FTA, LyncBackup, Master, Replica
From the “new” master:
    • install-csdatabase –centralmanagementdatabase –sqlserverfqdn sfbse.tsoorad.net –sqlinstancename RTC –clean –verbose
From the “old” master,
    • start the SfB deployment wizard
    • Run Step 1 (install Local Configuration Store)
    • Run Step 2 (Setup or Remove
    • Start the services stopped earlier BUT DO NOT START MASTER
From the “new” master:
  • invoke-csbackupservicesync –poolfqdn sfbse2.tsoorad.net
Wait a bit, then run through:
Get-CsManagementConnection (should show “new” master)
Get-CsService –CentralManagement
Get-CsManagementStoreReplicationStatus –CentralManagementStoreStatus
Here we are, fixed.  Note that the “new” master is still the master, but now the “old” master thinks it is no longer the master, but subordinate to the “new” master.  All this is just fine.  We don’t care WHERE or WHO holds CMS master, as long as we have a posture where we can read/write topology.




At this point, you could do another Invoke-CsmMnagementServerFailover and get the CMS back over to the “old” master…if you are into consistency like me, then that is what you will do.  If you are like others, you can leave the CMS on the “new” master, and everything will be fine.

Summary

Seeing as how there is no failback cmdlet, could it possibly be that this is all by design, and was never properly documented on the way out of Microsoft-land?
Empirically, as long as both SE pool pair members are up, the CMS failover process is just fine.  If the “old” master is down, things go bad quick and the prudent admin will be prepared to handle that scenario – however remote the possibility may be.
If your CMS fails, then you could be failing also.  Invoke-CsManagementServerFailover is wonderful, provided all the players are still running.  Not so hot when the the existing master is no longer available.  This process will get you in a posture of success; is repeatable, and is not too onerous.  Ergo, we have something i can feel somewhat good about taking to the customer.
YMMV

2018/01/19

SE Pool Pair w/CMS still borked

Background

SfB pool pair is a method by which SfB attains either local (inside the DC), or potentially globally, but at least to a second DC, disaster recovery.  I say a “measure” because the end result is not totally automatic, there is an established procedure to complete the failover process.  Overall, considering the vagaries of networks and host environments, pool pair is a very viable option.

The problem that surfaced for me is that I have been heads down on two projects since 4Q 2016.  Outside of some side trips for pre-sales, and minor involvement with long-term customers, two Enterprise Pool projects have held my attention for the last 12 months or so.  And during that time frame, I swear I saw traffic that indicated the following issue/bug/problem/glaring oversight was fixed in a CU.  Apparently, my myopic world of EE servers and pool pair worked just fine while the SE world floundered on.

Scenario

Brand new set of SE servers, one per DC.  2012R2 patched up to current, SfB from RTM followed by May 2017 CU (on a tangential note – has anyone else noticed that there have been no on-premises updates for 9 months?).  Change topology to create an SE-SE pool pair.  CMS was on the DC1 SE.  This of course, is now present on both SE’s.  All of the pool pair setup seemed to go normally.

At this point, we need to test things for failover/failback. Document that procedure for our specific environment and we have  accomplished a set of deliverables.  Except that it don’t work.  At this point we will wait while everyone brushes up on Invoke-CsManagementServerFailover and Invoke-CsPoolFailOver.

What we did and observed

First, we failed the sfbse.tsoorad.net server so as to simulate the DC failure.  No datacenter, no CMS host. We need to come live in the second data center on the pool pair partner (sfbse2.tsoorad.net!.  Note that the invoke-csmanagementserverfailover command line has gotten a bit longer than just the cmdlet.  You can use just the cmdlet from the new target, and it will work… but with the existing CMS master down, the cmdlet needs to have some other parameters.

We start the entire thing by doing a CMS failover.  Everything goes as advertised.  Replication occurs after the move as expected.  “Get-CsManagementStoreReplicationStatus –CentralManagementStoreStatus” contains the anticipated values in the anticipated attributes.  So far, so good.

image

image

image

Screeching halt on trying to move the CMS back.  Uh oh.  Not having CMS is a bad thing.  Lucky me, I ALWAYS  have a copy of the CMS handy.  You should have some knowledge about export-csonfiguration and export-cslisconfiguration and what those files are good for.  Here is an example of what they are good for!  (while you are at it, you may want to refresh yourself on export-csrgsconfiguration and import-csrgsconfiguration (seeing as how we are talking about doing pool failover)).

Having resolved the outage that caused us to failover, we need/want to failback to the original CMS holder…

image

While we have a good starting point, that is where the goodness stops.

image


This is scenario #3 as shown here. Not good.  Especially as how the stated cause for scenario 3 is #1 or #2, and we match neither.  Oh joy.

Fast forward through a lot of verifying and google-fu. Rather than write up what fellow MVP Mark Vale has already done so well… Let’s just wait while you read all of his write up.  You can access that right here. 

Recovery

It is entirely correct to observe that I did not have the exact SAME symptoms, but enough matched up that I tried his 19 (!) step fix.  While my errors did not match the KB article, my symptoms and outcomes come close to matching the Mark Vale article.  And his fix worked for me.

As a follow-up test, once I recovered, I stupidly was Mr. Clever and redid the entire test.  Guess what?  Different results.  Nice and consistent inconsistency.  And then, in a fit of sheer madness, I did it again.  And got yet a different set of outcomes.  However, I will note that in each case, Mr. Vale’s 19 step program worked.  Sometimes I had to work through the steps more than once to resolve things. 

Conclusion

As Mr. Vale opines, make sure you have a good copy of the CMS via the export-csconfiguration method.  Saves your bacon, less filling, and works.  If all else fails, you can go full DR mode and just restore the CMS from scratch (albeit with a CMS that has details :) ).  If you read the Vale process, what is being done there is a manual recovery of the CMS.

Also, note that doing the CMS failover with the existing master still available is no issue.  Things work as expected.  The problem starts when you try an actual failure scenario and the original master never gets updated and the environment ends up in a quasi-split-brain posture.  You may get lucky and have the new master be intact.  At least one of my tests ended up with the new master being orphaned also.  At which point you need to be ready for serious surgery.

I think the next test will be inserting portions of the 19 steps into the failover scenario BEFORE trying to get back to the original master. And remember, your backup/recovery process is only as good as the last time you tested successfully.

I think this whole thing falls squarely into the “you must be kidding me” category; Alas!  I am not.

YMMV

2017/12/17

AudioCodes HRS 458

I have noticed, over the last few years, that companies are spending less on the fancy Video TeleConference (VTC) rooms.  I have also noticed that in my project work, the same companies want the video in Skype for Business (SfB) enabled, but they also note that it does not get used as much as they expected.  Tie that fact with the expense of the VTC room equipment, and we see the rise of the small conference room (cue ominous/heroic background music).

Now, you would think that most folks would fall over themselves trying to get on camera.  I base this on the moonbeams on reality TV who will do anything for camera time.  In the business world, it seems that a bit more prudence takes precedence.  And it turns out most times that video is not the friend of telecommuters who work, like me, in their jammies sometimes.  Or coworkers who did not have their matching suit, their hair just right, or don’t like to be on camera for some other reason.  Bottom line, video use spikes up at introduction, then usage tends to fall off. Way off.  Or at least it does in my little world.

In recognition of this phenomena, companies are starting to use smaller conference rooms.  With Skype, anyone who brings a laptop to the meeting, or if there is already something in the room with a camera, you can stream video.  No need for the bazillion dollar wall unit in every room.

To facilitate this, there have been a variety of conference room solutions whereby the audio is presented both ways, but no video.  Video becomes an add-on for SOME meetings, but not all.  Audio reigns supreme, as it has since the first conference call in 1956.  If you are really interested, you can read some sycophantic stuff here, here, and here.

Enter AudioCodes

To link, somewhat nebulously to the previous paragraphs, these conference rooms need a “something” to sit on the table and provide audio, phone services, and perhaps even a data connection.  You could bring your laptop, and many people do.  But having a static piece of gear is the way to go.  And you need it to be somewhat cost effective, and usable.  I think some emphasis needs to be on “usable” because I have seen some setups that were a tad incomprehensible. I do this for a living and found operation difficult and sometimes tedious.

The fine folks at AudioCodes present the Huddle Room System (HRS).  Ta Da!  At the top of the HRS lineup is the 458 – designed for that mid-size room that holds about 10-15, has a table about 15 feet long, you know… the semi-exec room.  Here is the full AudioCodes IP phone Series so you can visualize where this product lives.

image

For that use case you need something that has great audio pickup, clarity, great audio delivery, and maybe more importantly, looks and acts like a traditional handset.  I know, that is really counter to popular thinking.  But, you know, maybe the pundits who are not spending their own money might just be wrong, eh?

Let’s take a somewhat detailed look at the AudioCodes HRS 458.

The first thing to know is that the HRS is based on the 450HD handset.  Then, what is this thingy attached to it?  Yes, looks just like the Jabra Speak 810.  It looks just like that, because, mainly, it is.  Which also brings us to the first point.  No PoE here – I think mainly to maintain power levels for the speaker phone.  Here is your first professionally posed still life photograph:

image

I really wonder at times why I am not a photographer by trade.  Look at the composition!  The color!  Oh my.  Adelante.

The HRS came out just as I was delivering a project and I took my demo down for them to try out.  Customer loved it.  Great audio presentation just on the 450HD, but with the football attached to it, the HRS 458 can now service the entire room.  And does it in an excellent fashion.  We tried to find a spot in the room where the football would not find you talking and we failed.  Perhaps a larger room would have caused some degradation in audio quality.  Perhaps not.  Our test room was a 20 person room, long and narrow.  The 458 system simply did what was expected with overall excellent audio.

Having the 450HD as the basis for the HRS results in the customer being able to reduce the handsets needed as the 450HD base unit provides telephony services to the room – no need for a “something” on the table, and a “real” phone in the corner so you can call for help, donuts, coffee, or whatever.

IP Phone Manager

Yes, as a 450HD-derived piece of kit, there is a handy web interface to provide configuration and management. 

image

The HRS shows up in IPP Manager also.

image


Skype Connection

You know I have to do it – somehow get the Skype for Business angle highlighted.  After all, that is what I do.

Knowing that I had what amounts to a IP phone coming into the environment, I prepared a simple full user account, with a mailbox, enabled it for Enterprise Voice with a secret squirrel PIN and extension dialing.  Taking the 458 out of the box and connecting it took longer than setting up the account.  Once powered on, getting to this point here took all of two minutes… literally.  Compare the on-phone time.

image

Because we are using SfB and AudioCodes together, the experience is just like using a regular 450 – that is – so nice.  All call controls, interactions, connections, and usage patterns will be the same as the user and their own account.  Because I ginned up a regular account, the HRS had a copy of the meeting on hand for those critical single click meeting joins.

I did notice that it took 5-10 minutes for the EWS read to occur which updates the calendar display on the HRS.  A little expectation setting with your users will be in order so as to avoid a bunch of bitchy help desk calls.

Logging in with the room ID, shows the current schedule for the room:

image

If you are really bright and include the phone account in a SfB meeting, then you get one-button joins as shown.  Otherwise you have a “details” | “attendees”|  “dial” button that provides calling the organizer directly.

image


Logging in as a regular user displays… duh!  Your schedule. Here is Mr. Chicken Hawk…

image

In terms of total time, maybe 10 minutes total, and I did not have to do anything special to either the SfB environment or the phone itself.  I literally plugged the 458 into the network, into power, and logged in using the 10-key.  And it just works.  Fairly perfect from over here in the cheap seats.

Summary of Findings

Standard AudioCodes build quality – which means this is excellent, solid kit.  Great materials, look, feel, functions.  All a package that works the way you do generally – kinda on the fly, groups probably not bigger than 10-15, and video not needed or wanted.    This solution should be on your short list.

YMMV


2017/12/04

O365 Exchange Voice Mail–Oracle

I have been informed, by a source that I deem to be about 75-80% reliable, that Oracle will not be participating in gymkhana that is the 3rd party PBX using Exchange O365 as a voice-mail target.

A while back, Microsoft announced that Office 365 as a valid voice mail target for 3rd party PBX systems would no longer be an option.  In fact, at the designated date, it’s not like the solution set becomes “non-supported” it will simply not be possible.  These solutions had an SBC (session border controller) sitting between the PBX and O365.   But no longer.

AudioCodes has a solution set.  anyNode has a solution set with which  one of my co-workers has worked.  Actual words will not be published in respect to my gentle readers.

So here is the announcement, and if you use Acme Packet SBC to connect your PBX to EOL Voice mail, then this might impact you.

“Oracle is not pursuing a product for this, mostly due to the proprietary nature of the implementation.  The interface into Exchange uses the Microsoft UCMA API/protocol which isn’t something we support.”

YMMV

2017/11/01

AudioCodes 400HD firmware v3.04

Those fine folks (and apparently busy beavers) at AudioCodes have popped a new IP Phone firmware release out into the wild. Brings a nice new set of features/abilities to the 450HD in particular.

Please note that the official GA is still 3.0.1. Version 3.0.4 will be used as a candidate GA in the next several weeks. Admin and User’s manual will be ready in several weeks. Version 3.0.4 for all other 400HD models will be available within several weeks.

Here is a partial list of version 3.0 new features. For the full list of features, please refer to the Release Notes document:

· Boss-Admin (Delegated Line).

o Allows a relationship to be established between a boss' phone and an administrative secretary's phone, to streamline office workflow and enhance efficiency.

o Each phone can support up to five Bosses or Admins. One Boss can have up to five Admins. One Admin can have up to five Bosses. A many-to-many configuration is also supported.

clip_image001

o Call Pick-up

o Admin can forward to Boss' voicemail without picking up Boss' line

· HotDesk feature for enterprises that operate according to the 'touch-down desk' concept. Employees in these enterprises typically travel frequently to remote branches, or work in shifts. They can now sign in to a phone that is already signed in by another (CAP or regular) user without signing out the original user to whom the phone was assigned for primary use.

clip_image002

· AudioCodes' IP phones support Lync AutoDiscover Web Service Protocol [MS-OCDISCWS]. This feature improves discovery of the phone's SIP home server after signing in. Using the AutoDiscover procedure the phone is capable of finding its home server URL for a specific Skype for Business account, based on user credentials. It is specially efficient for Skype for Business online and hybrid environments, when phones must sign in to a different Skype for Business server according to the user’s account. Previously, the home server was found using DNS SRV records based only on a SIP account domain [MS-CONMGMT]. If AutoDiscover is unsuccessful, the phone falls back to SRV DNS.

· The phone's Call Log is synchronized with Microsoft's Exchange server. All devices that a user signs into are fully synchronized with the server. Each device reports every call from | to that user to the server. Each device then pulls the last 20 reported calls and performs synchronization. All lists in each device's Call Log except the Missed Calls list are synchronized.

· New screen theme reflects Skype for Business 2016 client look & feel | New softkeys match the de facto Skype for Business standard. This new feature ensures uniformity across all devices used by the same user, for Unified Communications. The following figure shows the new-theme idle screen:

clip_image003

· Dial Plan Normalization. Network administrators can enable and configure dial plans on the Microsoft Skype for Business server. Normalization rules can be downloaded from the server via in-band provisioning. The feature was fully certified and tested with Microsoft in this version. It was supported in previous versions, but without Microsoft certification.

· Multiple Emergency Numbers. A caller can select an emergency number from a list of emergency destinations. A dedicated number for the police, ambulance service, fire fighting service, etc., can be selected from a list of options. If the phone locks, emergency numbers will still be available and dialable via a new Emergency softkey that is displayed after the lock takes effect.

· Power Saving mode. When a phone enters Power Saving mode, the screen's brightness is reduced, lowering power consumption. The phone enters the mode after being inactive for a configured period (timeout). Any user activity returns the phone to regular Active mode.

clip_image004

clip_image005

· Malicious call tracing. Users can report a malicious call. If a user gets a call and wants to report it as malicious, the phone allows them to send a report to the Skype for Business server. To allow malicious call reporting by the phone, the feature must be enabled by the network administrator on the Skype for Business server (the option 'Enable malicious call tracing' must be selected).

· Sign-in can be cancelled during the signing in procedure. Users can cancel signing in after starting the sign-in process.

· Voice Quality Check. A new option to check IP phone voice quality has been added to the phone's Device Status menu.

clip_image006

clip_image007

Things seem to be moving forward very nicely at AudioCodes.

YMMV

test 02 Feb

this is a test it’s only a test this should be a picture