TerrenceRyan.com

I'm a 35 year old redhead geek from Philly.
I'm currently a Developer Evangelist for Adobe.
Also the author of Driving Technical Change

Determining Cluster Node

2 Comments

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">

2 responses so far ↓

  • 1 lindsay morris

    Doesn't look like that's right. Each of my cluster nodes (xx1a, xx1b) reports its own name in the ActiveComputername, but only 1b is really active. I would have expected xx1a to report xx1b as the activecomputername.
  • 2 tpryan

    Hey Lindsay, This post is like 6 years old. I would imagine that it is very possible that this is no longer true.

Leave a Comment









Categories

Monthly Archives

Tag Cloud

coldfusion web development flex coldfusion builder appearances squidhead coldfusion builder extensions higher ed html5 flash builder air mobile android driving technical change adobe apptacular running a coldfusion shop adobemax06 movable type flash catalyst flash css blackberry adobemax07 adobemax08 hero finicky adobemax09 holy crap i’m a mobile developer centaur phonegap basecamp cfc whichelement unfuddle motorola metablog irrational characters ios git evangelism edge devices code reviews ant wharton subversion security rhino philly philadelphia multidevice knowledge@wharton jobs javascript java browserlab adobemax10 adobe tv unfuddlecfc svnauth.cfc semantic html semantic html responsive web design qnx nlb linux jquery mobile it github flexorg fireworks eclipse dreamweaver apps apple adobemax11