Aarrgghh!!

Determining Cluster Node

Every once in a while I get asked, "How does one determine what node of the cluster the currently running code is on?" One of the easier way to find out is to poll the registry.


<cfregistry branch="HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control \ComputerName\ActiveComputerName" action="get" type="string" entry="ComputerName" variable="ComputerName">

October 31, 2005 Posted by Terrence Ryan at 2:45 PM

ColdFusion,