When attempting to add a Storefront Server to a Server group the following error is observed on Joiner Server:
Error: Cannot Join Server Group - Joining the Server Group failed. Joiner cleanup was unsuccessful. Please refer to the Windows Event Log for Details. See image below
Event logs:
Event 1 - Task Category 2850
Log Name: Citrix Delivery Services Source: Citrix Cluster Join Service Date: Event ID: 1 Task Category: (2850) Level: Error Keywords: Classic User: N/A Computer: ServerName - Joiner Server Description: An error occurred running the command: 'Remove-DSClusterEnvironment' The term 'Set-DSAdminConsoleOperationMode' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\Program Files\Citrix\Receiver StoreFront\Management\Cmdlets\ClusterConfigurationModule.psm1:1357 char:5 + Set-DSAdminConsoleOperationMode -Mode "FirstUse" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The term 'Set-DSAdminConsoleOperationMode' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. Citrix.DeliveryServices.PowerShell.Command.RunnerInterfaces.Exceptions.PowerShellExecutionException, Citrix.DeliveryServices.PowerShell.Command.RunnerInterfaces, Version=3.12.0.0, Culture=neutral, PublicKeyToken=e8b77d454fa2a856 An error occurred running the command: 'Remove-DSClusterEnvironment' The term 'Set-DSAdminConsoleOperationMode' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\Program Files\Citrix\Receiver StoreFront\Management\Cmdlets\ClusterConfigurationModule.psm1:1357 char:5 + Set-DSAdminConsoleOperationMode -Mode "FirstUse" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ System.Management.Automation.CommandNotFoundException, System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 The term 'Set-DSAdminConsoleOperationMode' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. System.Management.Automation.Interpreter.InterpretedFrameInfo: System.Management.Automation.Interpreter.InterpretedFrameInfo[] at System.Management.Automation.CommandDiscovery.LookupCommandInfo(String commandName, CommandTypes commandTypes, SearchResolutionOptions searchResolutionOptions, CommandOrigin commandOrigin, ExecutionContext context) at System.Management.Automation.CommandDiscovery.LookupCommandProcessor(String commandName, CommandOrigin commandOrigin, Nullable`1 useLocalScope) at System.Management.Automation.ExecutionContext.CreateCommand(String command, Boolean dotSource) at System.Management.Automation.PipelineOps.AddCommand(PipelineProcessor pipe, CommandParameterInternal[] commandElements, CommandBaseAst commandBaseAst, CommandRedirection[] redirections, ExecutionContext context) at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext) at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
Log Name: Citrix Delivery Services Source: Citrix Cluster Join Service Date: Event ID: 2 Task Category: (2203) Level: Error Keywords: Classic User: N/A Computer: ServerName - Joiner Server Description: Exception during rollback of failed Server Group deployment. Citrix.DeliveryServices.PowerShell.Command.RunnerInterfaces.Exceptions.PowerShellExecutionException, Citrix.DeliveryServices.PowerShell.Command.RunnerInterfaces, Version=3.12.0.0, Culture=neutral, PublicKeyToken=e8b77d454fa2a856 An error occurred running the command: 'Remove-DSClusterEnvironment' The term 'Set-DSAdminConsoleOperationMode' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\Program Files\Citrix\Receiver StoreFront\Management\Cmdlets\ClusterConfigurationModule.psm1:1357 char:5 + Set-DSAdminConsoleOperationMode -Mode "FirstUse" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at Citrix.DeliveryServices.PowerShell.Command.Runner.PowerShellCommandRunner.RunCommand(IPowerShellCommand command) at Citrix.DeliveryServices.ClusterService.PowerShell.DeploymentSteps.DeploymentBase.Deploy() System.Management.Automation.CommandNotFoundException, System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 The term 'Set-DSAdminConsoleOperationMode' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. System.Management.Automation.Interpreter.InterpretedFrameInfo: System.Management.Automation.Interpreter.InterpretedFrameInfo[] at System.Management.Automation.CommandDiscovery.LookupCommandInfo(String commandName, CommandTypes commandTypes, SearchResolutionOptions searchResolutionOptions, CommandOrigin commandOrigin, ExecutionContext context) at System.Management.Automation.CommandDiscovery.LookupCommandProcessor(String commandName, CommandOrigin commandOrigin, Nullable`1 useLocalScope) at System.Management.Automation.ExecutionContext.CreateCommand(String command, Boolean dotSource) at System.Management.Automation.PipelineOps.AddCommand(PipelineProcessor pipe, CommandParameterInternal[] commandElements, CommandBaseAst commandBaseAst, CommandRedirection[] redirections, ExecutionContext context) at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext) at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)Event 3 - Task Category 2201
Log Name: Citrix Delivery Services Source: Citrix Cluster Join Service Date: Event ID: 3 Task Category: (2201) Level: Error Keywords: Classic User: N/A Computer: ServerName - Joiner Server Description: Exception configuring the Joiner for the Server Group. Citrix.DeliveryServices.PowerShell.Command.RunnerInterfaces.Exceptions.PowerShellExecutionException, Citrix.DeliveryServices.PowerShell.Command.RunnerInterfaces, Version=3.12.0.0, Culture=neutral, PublicKeyToken=e8b77d454fa2a856 An error occurred running the command: 'Set-DSJoinClusterEnvironment' Exception of type 'Citrix.DeliveryServices.Framework.Deployment.Utilities.Exceptions.ServiceAlreadyInstalledException' was thrown. At C:\Program Files\Citrix\Receiver StoreFront\Management\Cmdlets\ClusterConfigurationModule.psm1:1664 char:15 + $instance = Add-DSDomainService -Folder $domainFolder -StartService -TenantId ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at Citrix.DeliveryServices.PowerShell.Command.Runner.PowerShellCommandRunner.RunCommand(IPowerShellCommand command) at Citrix.DeliveryServices.ClusterService.PowerShell.DeploymentSteps.JoinClusterDeployment.SetUp() at Citrix.DeliveryServices.ClusterService.PowerShell.DeploymentSteps.DeploymentBase.Deploy() at Citrix.DeliveryServices.ClusterService.Service.ServiceController.ConfigureJoiner(IClusterJoin joinProxyWrapper, ClusterJoinRequest joinRequest, ClusterAuthorizationResponse authResponse, ClusterDetailsResponse detailsResponse) System.Management.Automation.ActionPreferenceStopException, System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Exception of type 'Citrix.DeliveryServices.Framework.Deployment.Utilities.Exceptions.ServiceAlreadyInstalledException' was thrown. System.Management.Automation.Interpreter.InterpretedFrameInfo: System.Management.Automation.Interpreter.InterpretedFrameInfo[] at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate) at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext) at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
Exception of type 'Citrix.DeliveryServices.Framework.Deployment.Utilities.Exceptions.ServiceAlreadyInstalledException' was thrown. At C:\Program Files\Citrix\Receiver StoreFront\Management\Cmdlets\ClusterConfigurationModule.psm1:1664 char:15 + $instance = Add-DSDomainService -Folder $domainFolder -StartService -TenantId ...
System.Management.Automation.ActionPreferenceStopException, System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Exception of type 'Citrix.DeliveryServices.Framework.Deployment.Utilities.Exceptions.ServiceAlreadyInstalledException' was thrown.