Skip to main content
Nintex Community Menu Bar
 

How to switch off the K2 server discovery feature

KB001221

PRODUCT
K2 blackpearl 0807 to 4.6.10
BASED ON
K2 blackpearl 0807
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

 

Introduction

 

 

It is possible within K2 blackpearl to switch off the K2 server discovery feature to ensure that developers will only be able to see their own K2 server and not those of other developers. 

 

 

There are two ways of doing this:

 

Important: With the release of K2 4.6.9 the SourceCode.Workflow.Runtime.Management.config has been consolidated into a single configuration file called K2HostServer.exe.Config file, which is located in the K2 blackpearlHost ServerBin folder on the K2 Server. The connection strings previously stored in these files are now retrieved from theK2HostServer.exe.Config file.

 

Workspace:

  1. Browse to C:Program FilesK2 BlackPearlWorkspaceSite
  2. Open Management.xml with a text editor like Notepad
  3. Change the <add port="49599" timeout="1000"  /> to <add port="0" timeout="1000"  />
important.gif

Note: Altering Workspace > Management.xml file:

Will cause Management Console to not search for any servers and only ones explicitly added into the Management.xml file will appear in the Management Console in Workspace

 Server:

  1. Browse to C:Program FilesK2 BlackPearlHost ServerBin
  2. Open DiscoveryService.config with a text editor like Notepad
  3. Change the <add key="ListenPort" value="49599"  /> to <add key="ListenPort" value="0"  /> 
important.gif

Note: Altering HostServer > DiscoveryService.config file:

  • Will cause ONLY the altered server to not broadcast it’s presence and ONLY the altered server will not appear in the Management Console.
  • To be effective, ALL servers which you do not wish to appear in the Management Console needs to be altered.

 

Be the first to reply!

Reply