Skip to content
Rob Reynolds edited this page Oct 28, 2011 · 6 revisions

Deployment ServerMaps

A servermap is a file that contains roles and the physical servers that those roles deploy to for a particular environment. While it is not necessary to spell out every role (if you are not deploying to all roles), it will avoid later confusion (because you can actually specify particular roles to deploy during execution).

The servermap file is just a JSON file that contains roles and the target physical servers for a particular environment. Each role you want to deploy will need at least one physical location.

Syntax

Inside the file you just specify the following:

DeploymentRole:"location[,location2]"[,]

as an example: Web:"127.0.0.1", the comma is included until the last entry.

##Naming These are always named Environment.servermaps. These should sit right next to the settings files as DK associates them as one unit.

##Example
LOCAL.servermaps

{
	Web:"127.0.0.1",
	VirtualDirectory:"127.0.0.1",
	Host:"127.0.0.1",
	Db: "(local)"
}

Clone this wiki locally