Gotcha: NTP Can Affect Load Balanced vCloud VMRC

This is short and sweet, but something we spent almost two weeks trying to resolve.  The environment was setup using my documentation on Load Balancing Cells but the Remote console was not load balancing correctly.  It worked if one cell was removed from the pool but not if both were live in the load balancer.  As it turns out we saw the following error:

 2012-03-26 09:43:10,470 | WARN     | consoleproxy              | ConnectionTracker              | Closing connection java.nio.channels.SocketChannel[closed] as it has not initialized in time |

We suspect we see this message because the initial connection has left vCloud Cell 1 with a time stamp, and by the time it arrives to vCloud Cell 2 that time stamp was more than 2 minutes old. Which is well above the 2 second allowed skew.  vCloud Cell 2 ignores the request because its more than the time allowed.  The result is just an inconsistent drop in connections on the Remote Console connections.

I had run into other issues with NTP and vCD listed in the Related Posts Section as well that were new tolerances between 1.0.1 and 1.5 if you want to take a look. It seems NTP is one of those things you always want to check first just to rule it out on the cells.  Be sure to read the other NTP article as well to see some other symptoms.

About Chris Colotti

Chris is currently a Field CTO for Tintri. In his role he spends the majority of his time talking to customers and partners alike helping develop use case architectures for the Tintri platform and software. He also acts as an active interface between the field and engineering/product management. Chris is active on the VMUG and event speaking circuit and is available for many events if you want to reach out and ask. Previously to this he spent close to a decade working for VMware as a Principal Architect. Previous to his nine plus years at VMware, Chris was a System Administrator that evolved his career into a data center architect. Chris spends a lot of time mentoring co-workers and friends on the benefits of personal growth and professional development. Chris is also amongst the first VMware Certified Design Experts (VCDX#37), and author of multiple white papers. In his spare time he helps his wife Julie run her promotional products as the accountant, book keeper, and IT Support. Chris also believes in both a healthy body and healthy mind, and has become heavily involved with fitness as a Diamond Team Beachbody Coach using P90X and other Beachbody Programs. Although Technology is his day job, Chris is passionate about fitness after losing 60 pounds himself in the last few years. Now he spreads both the word of technology and fitness along with the Team Beachbody Business through his blogs.

3 comments

  1. Hi Chris,

    I think for the vCloud Remote Console, you need to get a specific ticket using the following call :

    GET “http:///api/vApp/vm-/screen/action/acquireTicket”

    Then this ticket is passed through the remote console, and should have 30s validity.
    So as you said, the ticket could already be deprecated depending on which cell you are on.

    Regards,

Leave a Reply

Scroll To Top
%d bloggers like this: