James,

How about this instead:

Stick a 'config' file in a common location to each server.  Run a
scheduled task every X minutes to read this file and compare a date/time
stamp to the last date/time stamp of the config loaded in the server
scope.  If they are different, update the config from this shared file.
You would just need to create the scheduled tasks and use a CAR to
deploy to the other servers.

Chris 

-----Original Message-----
From: James Buckingham [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 08, 2007 8:59 AM
To: CF-Talk
Subject: Re: Getting a list of all the instances on a server

>But can I ask the age old question.... What exactly are you wanting to
do?

No problem - this is actually starting to tie in with my last post "MX7:
Updating a single server in a cluster..." so better to start relating
everything together and carry on from one post.

I want to be able to update a server config which sits on each instance.
The config is the same for each but I need to reinitialise it on all of
them at the same time.

I'd like to write a script which automates the process of gathering the
instance details from a server and updates each one individually as we
actually have five servers with multiple instances on the go now.

Right now I've got a bit of a manual process going on which identifies
via the server_name which server I'm on, it then gets a hard coded list
of the instances names and starts firing CFHTTP requests at the server
until each instance has updated and returned a value that it's
completed. It then "ticks" that instance off the list and starts the
CFHTTP again until all the instances have been done.

I've explained this a bit better in the post I've mentioned above but I
just think this way of doing it is a bit heavy-handed.

Cheers,
James



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277260
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to