Re: Access individual instances in a cluster without JWS?

2008-11-09 Thread Jochem van Dieten
On Sun, Nov 9, 2008 at 5:04 PM, WebSite CFTalk wrote:
> We use sticky sessions

Then you can force a request to use a specific instance by appending a
JSESSIONID to the URL where the first 4 characters of the JSESSIONID
are the same as value for server.id in the
/SERVER-INF/connector.properties file.

Jochem

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315012
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Access individual instances in a cluster without JWS?

2008-11-09 Thread James Holmes
Ah, that might explain why session replication doesn't work for us
either. We decided that session replication was unnecessary; we
certainly need the JWS far more than session replication, if that's
actually the cause.

Sorry I don't have a solution for you.

mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

2008/11/8 WebSite CFTalk <[EMAIL PROTECTED]>:
> Hello,
>
> I've been struggling with clustering for a while now..
>
> 2 physical servers with 2 JRun instances on each on W2003/iis6.0. (CFMX 8.01 
> Ent.)
>
> Since 6.1 I've had no success with session replication across the cluster.
>
> I finally found a solution for that;
> Session replication was failing until I disabled JWS (and that took quite 
> some time to find out.)

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315011
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Access individual instances in a cluster without JWS?

2008-11-09 Thread WebSite CFTalk
Yes, JRun Web server, It's setting is at the near end of jrun.xml and it can be 
disablet there.

Helge

-Original Message-
From: rex [mailto:[EMAIL PROTECTED]
Sent: 9. november 2008 20:47
To: cf-talk
Subject: Re: Access individual instances in a cluster without JWS?

By JWS, do you mean JRUN Web Server?  How do you disable JRUN?



WebSite CFTalk wrote:
> Hello,
>
> I've been struggling with clustering for a while now..
>
> 2 physical servers with 2 JRun instances on each on W2003/iis6.0. (CFMX 8.01 
> Ent.)
>
> Since 6.1 I've had no success with session replication across the cluster.
>
> I finally found a solution for that;
> Session replication was failing until I disabled JWS (and that took quite 
> some time to find out.)
>
> So now the cluster is running fine, but since JWS is disabled I cannot access 
> the admin instances on the cluster.
> (And not having access to the server monitor is not good..)
>
> I tried to add the admin roots to IIS but that didn't work since the 
> instances then got clustered also.
> Then I tried to use Apache as a second web server tied to the admin root, but 
> I cannot find a way to connect that via the JRun connector.
>
> So,
> Has anyone else experienced this?
> Have you got a solution on how to access the admin instances without JWS and 
> "outside" of the cluster?
>
> Maybe there is a setting in JWS I've missed?
>
> Thanks,
> Helge
>
>



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315010
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Access individual instances in a cluster without JWS?

2008-11-09 Thread rex
By JWS, do you mean JRUN Web Server?  How do you disable JRUN?



WebSite CFTalk wrote:
> Hello,
> 
> I've been struggling with clustering for a while now..
> 
> 2 physical servers with 2 JRun instances on each on W2003/iis6.0. (CFMX 8.01 
> Ent.)
> 
> Since 6.1 I've had no success with session replication across the cluster.
> 
> I finally found a solution for that;
> Session replication was failing until I disabled JWS (and that took quite 
> some time to find out.)
> 
> So now the cluster is running fine, but since JWS is disabled I cannot access 
> the admin instances on the cluster.
> (And not having access to the server monitor is not good..)
> 
> I tried to add the admin roots to IIS but that didn't work since the 
> instances then got clustered also.
> Then I tried to use Apache as a second web server tied to the admin root, but 
> I cannot find a way to connect that via the JRun connector.
> 
> So,
> Has anyone else experienced this?
> Have you got a solution on how to access the admin instances without JWS and 
> "outside" of the cluster?
> 
> Maybe there is a setting in JWS I've missed?
> 
> Thanks,
> Helge
> 
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315008
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Access individual instances in a cluster without JWS?

2008-11-09 Thread WebSite CFTalk
Hi,

That would work if our app was less complex, too much work involved..

We've developed on it the last 8 years and have used the session scope since it 
was possible.

We use sticky sessions and also cookie based persistence in the load balancer 
(Coyote) and it's pretty stable, users is seldom balanced over to the other 
servers - but session replication would make it even more stable.

Helge

-Original Message-
From: Jason Fisher [mailto:[EMAIL PROTECTED]
Sent: 7. november 2008 19:39
To: cf-talk
Subject: Re: Access individual instances in a cluster without JWS?

The other clustering approach is to use Client scope rather than Session scope. 
 To overly simplify things, Client scope is a contract between the user's 
browser and the application, whereas Session scope is a contract between the 
user's browser and the server.  Since Client scope can maintain state with the 
application, a user can be seamlessly bounced from server to server without 
loss of data / connection.  Works really well behind hardware load balancing, 
for example.  Not so sure it fits your situation, but thought I'd at least 
mention it in case.

Just remember to never, ever use Registry as your Client scope store.  It's the 
CF default, but it can quickly overwhelm server swapspace.  Go ahead and use a 
datasource instead.



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315004
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Access individual instances in a cluster without JWS?

2008-11-09 Thread WebSite CFTalk
Hello,

Not sure if it's a bug or if it's by design - maybe session replication and JWS 
doesn't work together and cannot work together.

I've tried this on 2 separate setups
Both with 2 physical servers and 2 jrun instances on each, 2 network cards. No 
probles with the clustering itself, it all happens with JWS and session 
replication enabled at the same time.

As soon as I enable session replication in the cluster the logs goes "bananas" 
with "setup of session replication failed".

I've filed a bug report.

I'll keep looking, and if anyone have experienced this and found a way out I 
would be grateful for suggestions.

Thanks,
Helge

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: 7. november 2008 19:30
To: cf-talk
Subject: Re: Access individual instances in a cluster without JWS?

> I should have mentioned that we have about 150 websites (running the same app 
> code) on > the server. And we add new sites every week..
>
> So I dismissed that option without investigating it a lot, recreating the 
> cluster every few
> days doesn't look like fun. So therefore we use the "all virtual servers" 
> option.
>
> Any other options?
>
> Is this a bug in JWS or will it stay this way "forever"?
> I cannot hope for a fix from Adobe on this?

Well, I wasn't aware of a bug in JWS that would cause this, as I've
set up clusters that used JWS to address the individual members and
IIS or Apache to address the cluster. But I don't use session
replication that much, honestly. Can you provide more information
about the bug?

Alternatively, you could configure a management interface in Apache
for each instance. You'll have to do that by hand, though - the
wsconfig tool only gets you so far with Apache.

Ultimately, you'll have to contact Adobe about a fix; I have no inside
information or access to their bugbase, etc.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315003
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Access individual instances in a cluster without JWS?

2008-11-09 Thread WebSite CFTalk
Hello,

I tried to set up as you suggested, but the admin instances still gets 
clustered as soon as I recreate the cluster.

I set up the individual admin instances to separate virtual servers - and the 
apps is on other instances.

After the setup there is 2 admin virtual servers not clustered in wsconfig, and 
the app instances clustered.

I's give up for now, clustering with session replication is working if I don't 
use the internal JWS.

Thanks,
Helge


-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: 7. november 2008 18:46
To: cf-talk
Subject: Re: Access individual instances in a cluster without JWS?

> 2 physical servers with 2 JRun instances on each on W2003/iis6.0. (CFMX 8.01 
> Ent.)
>
> Since 6.1 I've had no success with session replication across the cluster.
>
> I finally found a solution for that;
> Session replication was failing until I disabled JWS (and that took quite 
> some time to find > out.)
>
> So now the cluster is running fine, but since JWS is disabled I cannot access 
> the admin
> instances on the cluster. (And not having access to the server monitor is not 
> good..)
>
> I tried to add the admin roots to IIS but that didn't work since the 
> instances then got
> clustered also. Then I tried to use Apache as a second web server tied to the 
> admin root, > but I cannot find a way to connect that via the JRun connector.

First, you'll need to create multiple virtual servers in IIS - one for
the cluster, and one for each instance.

Next, you'll need to use wsconfig to delete the current connection
between your cluster and IIS, then delete the cluster itself (not the
cluster members, just the cluster).

Then, use wsconfig to connect each instance to the appropriate IIS
virtual server only - don't connect it to "all" IIS virtual servers.

Finally, recreate your cluster, and reconnect it to the appropriate
IIS virtual server, and you should be all set.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315002
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Access individual instances in a cluster without JWS?

2008-11-07 Thread Jason Fisher
The other clustering approach is to use Client scope rather than Session scope. 
 To overly simplify things, Client scope is a contract between the user's 
browser and the application, whereas Session scope is a contract between the 
user's browser and the server.  Since Client scope can maintain state with the 
application, a user can be seamlessly bounced from server to server without 
loss of data / connection.  Works really well behind hardware load balancing, 
for example.  Not so sure it fits your situation, but thought I'd at least 
mention it in case.

Just remember to never, ever use Registry as your Client scope store.  It's the 
CF default, but it can quickly overwhelm server swapspace.  Go ahead and use a 
datasource instead. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314959
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Access individual instances in a cluster without JWS?

2008-11-07 Thread Dave Watts
> I should have mentioned that we have about 150 websites (running the same app 
> code) on > the server. And we add new sites every week..
>
> So I dismissed that option without investigating it a lot, recreating the 
> cluster every few
> days doesn't look like fun. So therefore we use the "all virtual servers" 
> option.
>
> Any other options?
>
> Is this a bug in JWS or will it stay this way "forever"?
> I cannot hope for a fix from Adobe on this?

Well, I wasn't aware of a bug in JWS that would cause this, as I've
set up clusters that used JWS to address the individual members and
IIS or Apache to address the cluster. But I don't use session
replication that much, honestly. Can you provide more information
about the bug?

Alternatively, you could configure a management interface in Apache
for each instance. You'll have to do that by hand, though - the
wsconfig tool only gets you so far with Apache.

Ultimately, you'll have to contact Adobe about a fix; I have no inside
information or access to their bugbase, etc.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314957
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Access individual instances in a cluster without JWS?

2008-11-07 Thread Matthew Williams
We leave the built-in JRun webserver turned on.  You can then just call 
http://{servername}:{jrunserver port}/cfide/administrator to access each 
instance.  You can even use SSL (as long as you don't have JVM 1.6 
installed!).  This assumes that you're using JRun... I'm not sure how 
other J2EE platforms are set up.  This has worked for us from MX 6.1 - 8.01.

Matthew Williams
Geodesic GraFX

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314956
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Access individual instances in a cluster without JWS?

2008-11-07 Thread WebSite CFTalk
Hello Dave,

I should have mentioned that we have about 150 websites (running the same app 
code) on the server.
And we add new sites every week..

So I dismissed that option without investigating it a lot, recreating the 
cluster every few days doesn't look like fun..
So therefore we use the "all virtual servers" option.

Any other options?

Is this a bug in JWS or will it stay this way "forever"?
I cannot hope for a fix from Adobe on this?

Thanks,
Helge

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: 7. november 2008 18:46
To: cf-talk
Subject: Re: Access individual instances in a cluster without JWS?

> 2 physical servers with 2 JRun instances on each on W2003/iis6.0. (CFMX 8.01 
> Ent.)
>
> Since 6.1 I've had no success with session replication across the cluster.
>
> I finally found a solution for that;
> Session replication was failing until I disabled JWS (and that took quite 
> some time to find > out.)
>
> So now the cluster is running fine, but since JWS is disabled I cannot access 
> the admin
> instances on the cluster. (And not having access to the server monitor is not 
> good..)
>
> I tried to add the admin roots to IIS but that didn't work since the 
> instances then got
> clustered also. Then I tried to use Apache as a second web server tied to the 
> admin root, > but I cannot find a way to connect that via the JRun connector.

First, you'll need to create multiple virtual servers in IIS - one for
the cluster, and one for each instance.

Next, you'll need to use wsconfig to delete the current connection
between your cluster and IIS, then delete the cluster itself (not the
cluster members, just the cluster).

Then, use wsconfig to connect each instance to the appropriate IIS
virtual server only - don't connect it to "all" IIS virtual servers.

Finally, recreate your cluster, and reconnect it to the appropriate
IIS virtual server, and you should be all set.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314953
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Access individual instances in a cluster without JWS?

2008-11-07 Thread Dave Watts
> 2 physical servers with 2 JRun instances on each on W2003/iis6.0. (CFMX 8.01 
> Ent.)
>
> Since 6.1 I've had no success with session replication across the cluster.
>
> I finally found a solution for that;
> Session replication was failing until I disabled JWS (and that took quite 
> some time to find > out.)
>
> So now the cluster is running fine, but since JWS is disabled I cannot access 
> the admin
> instances on the cluster. (And not having access to the server monitor is not 
> good..)
>
> I tried to add the admin roots to IIS but that didn't work since the 
> instances then got
> clustered also. Then I tried to use Apache as a second web server tied to the 
> admin root, > but I cannot find a way to connect that via the JRun connector.

First, you'll need to create multiple virtual servers in IIS - one for
the cluster, and one for each instance.

Next, you'll need to use wsconfig to delete the current connection
between your cluster and IIS, then delete the cluster itself (not the
cluster members, just the cluster).

Then, use wsconfig to connect each instance to the appropriate IIS
virtual server only - don't connect it to "all" IIS virtual servers.

Finally, recreate your cluster, and reconnect it to the appropriate
IIS virtual server, and you should be all set.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314952
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Access individual instances in a cluster without JWS?

2008-11-07 Thread WebSite CFTalk
Hello,

I've been struggling with clustering for a while now..

2 physical servers with 2 JRun instances on each on W2003/iis6.0. (CFMX 8.01 
Ent.)

Since 6.1 I've had no success with session replication across the cluster.

I finally found a solution for that;
Session replication was failing until I disabled JWS (and that took quite some 
time to find out.)

So now the cluster is running fine, but since JWS is disabled I cannot access 
the admin instances on the cluster.
(And not having access to the server monitor is not good..)

I tried to add the admin roots to IIS but that didn't work since the instances 
then got clustered also.
Then I tried to use Apache as a second web server tied to the admin root, but I 
cannot find a way to connect that via the JRun connector.

So,
Has anyone else experienced this?
Have you got a solution on how to access the admin instances without JWS and 
"outside" of the cluster?

Maybe there is a setting in JWS I've missed?

Thanks,
Helge

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314951
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4