Glassfish Node Clustering - glassfish-3

Excuse Me sir , I have a research project to clustering glassfish3 on different server.
My simple implementation is :
When u have 2 Glassfish servers on different server , called Server A and Server B.
When glassfish on Server A suddenly off or down , it will do 'failover' to Glassfish on Server B , and session doesnt loss or change ?
I have tried for glassfish session clustering from link JavaDUDE.
But it just works on 1 instance of glassfish server , any idea?

Are you using a webapp for testing the failover? If so, have you made it distributable? (Check: http://docs.oracle.com/cd/E18930_01/html/821-2426/abdle.html#scrolltoc for details)

Related

UseProxyToSpaDevelopmentServer problem angular 11 .net core

Ive just taken over an app that has this line of code in startup.cs
spa.UseProxyToSpaDevelopmentServer("http://localhost:4200")
when the app runs, I get this error
HttpRequestException : no connection could be made because the target machine actively refused it
Failed to proxy the request to http://localhost:4200 because the request to the proxy target failed: check that the proxy target server is running and accepting requests to http://localhost:4200
I had initially thought this was a sql server error , its similar in syntax to a sql network error, but after some searching its down to spa architecture/design ?
What should the proxy server be ? Am I missing the activation of a server somewhere ?
Im using .net core 3 and angular 11 (which im new to)
thanks in advance for any help
When using UseProxyToSpaDevelopmentServer during development you need to start the angular app as another process at that address- usually this just means npm run start in the angular apps directory.

Load balancing not working OSB

I am trying to understand the Oracle Service Bus Load Balancing. I have:
One weblogic server 10.3.6.0, with
3 Managed servers (lb,osb1,osb2):
2 Managed servers are in cluster configuration:
osb1 - with port 7101 and
osb2 - with port 7202
The manager Server called lb was configured as proxy server with port 7301.
Using Eclipse, I have done a "Hello World" application ( I used a proxy service and wsdl). But when I go to browser with http://localhost:7301/osb-101-helloworld/HelloWorld the application is not working,
If I go to http://localhost:7001/osb-101-helloworld/HelloWorld the application works and I can see the code using ?wsdl instruction at the end of the URL. Code displays the following information:
<WL5G3N0:service name="HelloWorld">
<WL5G3N0:port binding="WL5G3N1:HelloWorldSOAP" name="HelloWorldSOAP">
<WL5G3N2:address location="http://gaia:7001/osb-101-helloworld/HelloWorld"/>
**gaia is the server name.**
The 7001 port is used by AdminServer.
I am using this blog Oracle Fusion Middleware - Oracle Service Bus & SOA Suite--Gang Of Two : OSB Clustering & Load Balancer as a guide, but I don't know how to make the "hello world" application work using correct manager server (7301 - proxyserver).
See http://docs.oracle.com/cd/E17904_01/doc.1111/e15022/cluster.htm#OSBDG164 and Appendix B that is linked from it. You need to use the WLST script or the Wizard to properly create the extended Managed Servers visible to SBConsole.

How to configure BizTalk server with active/passive sql cluster

I've installed BizTalk 2013 Standard on a dedicated server. SQL is set up as an active / passive cluster (there are 2 virtual machines set aside for this) i.e. SQLDB1, SQLDB2. Now while configuring BizTalk, do I need to mention SQLDB1, SQLDB2 or cluster DNS name? If cluster DNS name, then how do I find this?
From Clustering the BizTalk Server Databases
Procedures for Clustering the Databases
Make sure you meet the following prerequisites before you start
clustering the BizTalk Server databases. When you create the domain
groups for your BizTalk Server environment, you must create global
domain accounts.
Configure the SQL Server cluster before you install and configure
BizTalk Server. For more information about clustering SQL Server 2008
R2, see Getting Started with SQL Server 2008 R2 Failover Clustering
(http://go.microsoft.com/fwlink/?LinkId=156820).
If you are also clustering the master secret server, configure that
server first. For more information about high availability for
Enterprise Single Sign-On, see High Availability for the Master Secret Server.
To run the BizTalk Server Configuration Wizard
Install BizTalk Server 2010 on a runtime server.
Launch the BizTalk Server Configuration program. Click Start, point to Programs, point to Microsoft BizTalk Server 2010, and then click
BizTalk Server Configuration.
To apply a custom configuration, follow the steps in Working with the Custom Configuration Manager
(http://go.microsoft.com/fwlink/?LinkId=156822) in BizTalk Server
Help. To specify the SQL Server cluster for the BizTalk Server
databases enter the name of the SQL Server cluster in the
Databases dialog of the configuration.
Complete the BizTalk Server configuration by following the instructions in Custom Configuration
(http://go.microsoft.com/fwlink/?LinkId=156823) in BizTalk Server
Help.
Launch "Cluster Administrator" on any one of the SQL Server nodes i.e. SQLDB1 or SQLDB2
Take a look at the SQL Cluster group properties and see what the "Network Name" is.
If you hadn't provided a network name prior to now, you should do so now.
This is the name you should use to connect to your SQL cluster. You could test this out using SQL Management Studio to be sure.
Best of Luck

BizTalk SSO Configuration - There are no more endpoints available from the endpoint mapper

I have a two node BTS2010 group with a separate SQL Server hosting the BTS databases including SSODB; Biz01, Biz02 and Sql01. This environment was configured by a previous employee and I have no documentation available.
There seems to be something not right with the SSO config but I'm not sure how to resolve it.
When I run ssoconfig -status on Biz02 all looks good - it tells me that the SSO Server is Biz02 and the SQL Server is Sql01 plus a load of other stuff. However, when I run the same command on Biz01 I get the message: "Error 0xC0002A0F: Could not contact the SSO server 'Sql01'. Check that SSO is configured and that the SSO service is running on that server'
I'm not clear on what Biz01 is trying to do here - is it trying to reach the EntSSO windows service on Biz02 via an RPC call, before ultimately attempting to retrie config info from Sql01?
I have checked that the ENTSSO service is running on Biz01, Biz02 and that the RPC service is running on each of the three servers.
Can anyone help advise what further steps I can take to determine the root cause of this configuration problem?
Many thanks
Rob.
I'm not sure if you have your servers clustered or not but I've run into something similar before within a cluster. Your SSO name should be your network name and not the individual computers name. Here's an post about the issue I had. Hope it helps.

How do I configure webfarm for a simple asp.net demo application

I am just making a demo application and want to configure asp.net to use webfarm. How can I do so?
I have already configured my session mode to use SQL Server and it works perfectly. What should I do next? I am using Windows 7, SQL Server 2008 and Asp.Net 4.0 webforms.
You need multiple machines - set up the application on both of them and configure both web sites to have a common host name/header. You also need to setup a common machine key for encrypting view-state etc. In real web farm setup, you will have a s/w or h/w load balancer that will be route requests to either server based on load. In case, you don't have a load balancer then use your local hosts file to resolve the common host name - for example, for first couple of request, use machine 1 and then switch it to machine 2 for next few and so on.

Resources