Power Actions in Desktop Studio Fail with EventID 3012 (Citrix Broker Service)

Power Actions in Desktop Studio Fail with EventID 3012 (Citrix Broker Service)

book

Article ID: CTX133578

calendar_today

Updated On:

Description

Power actions in Desktop Studio fail for Virtual Machines. The following message is written to the Windows Application event log:

Event ID:      3012S
Source:  Citrix Broker Service
Level:   Warning
Description:
The Citrix Broker Service detected that power action ‘TurnOn’ on virtual machine ‘TEST\WIN7X86001’ failed.
This problem is most likely due to a host issue. Check that the configuration of the virtual machine on the host does not prohibit the requested power action. Verify that there are no storage problems on the host.  Check that the host connection information is correct.

User-added image

CDF Trace events from Controller (DDC)

System.ServiceModel.Security.MessageSecurityException: The security timestamp is invalid because its creation time ('2012-05-22T18:42:01.789Z') is in the future. Current time is '2012-05-22T18:36:21.059Z' and allowed clock skew is '00:05:00'.
System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.ProcessReply(Message reply, SecurityProtocolCorrelationState correlationState, TimeSpan timeout)"

Resolution

  1. Synchronize the time between all Controllers on the site
  2. Implement a reliable method for maintaining Controller time synchronization.
  3. Active Directory Admin should assist if you observe a difference of more than 5min between Citrix delivery controller and domain controller time.
  4. Commands you can try - 
    • w32tm /query /status - here you can see the last successful sync time.
    • w32tm /resync - This will force sync
  5. Engage AD admin if this doesn't help in syncing time.

Problem Cause

This issue occurs when the time is not synchronized across all Controllers in a site. A single Controller in the XenDesktop 5.x site is responsible for communicating power actions to the hypervisor. If the Controller running Desktop Studio to power manage Virtual Machines has a time skew greater than 5 minutes, its attempt to communicate with the Controller that maintains the connection to the hypervisor fails.

Issue/Introduction

This article provides a resolution to the error "Power Actions in Desktop Studio Fail with EventID 3012 (Citrix Broker Service)".