ControlTier Inc. > CTL
 
Font size:      

nodes.properties

Overview

Specifies the nodes on the network to which commands will be executed. The ctl-exec. command as well as the nodedispatch strategy specified by the execute tag uses this file to look up node information and whether the command should be executed locally or remotely. See the Node Dispatch section for general info.

This configuration file is located within the "etc" directory of the depot (eg, $CTL_BASE/depots/<project>/etc/nodes.properties). See the project setup for guidelines on how to manage the file centrally.

The format of the file is described as shown below:

### file format:
#
# node.name.attribute = value
# 
# description: brief role of the machine
# node.name.description
# type: object type (use Node)
# node.name.type
# name: object name. Typically value of uname -n
# node.name.name
# hostname: adminstrative interface. could be the same as "name"
# node.name.hostname
# os-arch: Hosts cpu architectue
# node.name.os-arch
# os-family: Either "unix" or "windows"
# node.name.os-family
# os-name: Name of operating system (eg, Linux)
# node.name.os-name
# os-version: Version of operating system
# node.name.os-version
# tags: comma separated list of user defined tags
# node.name.tags
###

Example

# centos
node.centos.description=a development sandbox host
node.centos.type=Node
node.centos.name=centos
node.centos.hostname=centos
node.centos.os-arch=i386
node.centos.os-family=unix
node.centos.os-name=Linux
node.centos.os-version=9.2.0
node.centos.tags=sandbox
# strongbad
node.strongbad.description=A development desktop host
node.strongbad.type=Node
node.strongbad.name=strongbad
node.strongbad.hostname=strongbad
node.strongbad.os-arch=i386
node.strongbad.os-family=unix
node.strongbad.os-name=Mac OS X
node.strongbad.os-version=10.5.2
node.strongbad.tags=desktop,sandbox
# development
node.development.description=development integration test host
node.development.type=Node
node.development.name=development
node.development.hostname=demo@development
node.development.os-arch=i386
node.development.os-family=unix
node.development.os-name=Linux
node.development.os-version=9.2.0
node.development.tags=DIT