I have 2 websphere servers in a cluster and configured a Bus couple of Messaging engines in the bus using DB data store .It is all starting indepenedently but not starting as a cluster .IT shows some Database connection error .But individual connection to DB from servers working fine .Both Messaging engine uses different schema
Related
Why we want to configure that setup?
We would like to have a Blue/Green zero downtime setup for our CF2018 App.
We currently have a basic CF Server Install (IIS + CF2018) in one server that connects to another Server for the DB (we are using CF2018 Standard).
Our app uses J2EE sessions
There are posts that explain how to use the External Session Storage feature included in CF (redis) but that won’t work with J2EE sessions, the CF admin interface wont allow it.
How can I setup 2 servers in a cluster (behind a load balancer) with J2EE session failover functionality by using CF2018 Standard Edition?
I was looking at 12 factor app principle and saw this statement. I believe this statement states that the application must respond to any backing service such database or message broker and connect to them irrespective of what they are. How does it differ from traditional way of connecting? For eg: in my microservice , I was defined database and kafka broker as user provided service in cloud foundry. It just provides the connection parameters as vcap service variables. I still have code to connect to a database and kafka broker which are entirely different. What does this statement signify and how does it differ from what we do in non-cloud environment?
As stated in the below article:
https://12factor.net/backing-services
It states that :
A backing service is any service the app consumes over the network as part of its normal operation. Examples include datastores (such as MySQL or CouchDB), messaging/queueing systems (such as RabbitMQ or Beanstalkd), SMTP services for outbound email (such as Postfix), and caching systems (such as Memcached).
Microservice can connect to any backing service irrespective of the platform. In PCF, you are binding services to your microservices to connect. In other cloud environment, you can point to any backing service like AWS RDS or other services provided by the Platform.
The real difference is this :
Backing services like the database are traditionally managed by the same systems administrators as the app’s runtime deploy. In addition to these locally-managed services, the app may also have services provided and managed by third parties. Resources can be attached and detached to deploys at will. For example, if the app’s database is misbehaving due to a hardware issue, the app’s administrator might spin up a new database server restored from a recent backup. The current production database could be detached, and the new database attached – all without any code changes.
Is it possible to setup a signalr backplane based on an oracle database?
We have 2 servers which have a signalr hub. Clients can be connected to server A or to server B. When we send a message through the hub on server A we also want that the users on server B get that message. We don't use azure since it's a internal company site. No sql server or redis as well.
Thanks.
Currently SignalR supports scale out by backplane only on ,
1. Azure Service Bus
2. Redis
3. SQL Server
see here : http://www.asp.net/signalr/overview/performance/scaleout-in-signalr
Edit : SignalR source code is hosted on Git https://github.com/SignalR/SignalR
you can implement your own backplane to use Oracle DB
Some one has written an Oracle backplane. https://github.com/sdl/SignalR-OracleMessageBus
I have configured Application Express 4.2.2.00.11, using Oracle Apex Listener 2.0.3, connected to an apex instance on a different Server. It is playing well except when i try to consume a web service (Amazon S3, Google Geocode, etc.), i noticed that need Oracle Database instance to have internet connection. It is surprising because i was expected only to allow Listener container server connect to internet.
So i want know if is there any way to consume Web Services in Oracle Apex without expose database server to internet (connecting Apex Listener only to internet).
I just deployed a .NET application using SQL Server via Elastic Beanstalk.
It seems like my newly deployed application can't connect to my database. I just followed this video: http://www.youtube.com/watch?v=z-N0z5K_WFI (except I encountered issues during deployment where I had to untick incremental deploy)
I was able to connect to the db using SQL management studio. I also tried running the app locally while connecting to the amazon RDS db and has success. After deployment, checking the site and trying to login/register, I get this error:
No data received
Unable to load the webpage because the server sent no data.
Here are some suggestions:
Reload this webpage later.
Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.
The only thing in my mind right now is that my EC2 or application can't connect to the Database.
Is this a CIDR issue?
Couple of things to consider -
Is the port for your RDS database instance being blocked?
When you deployed your app, you should have seen a page in the wizard asking if you wanted the EC2 security group for your deployed Elastic Beanstalk instance to be added to the RDS security group for your database instance. You need to checkmark the relevant RDS security group too.
There's also an updated video from last year's AWS re:Invent conference that shows deployment of a SQL Server based app to RDS/Elastic Beanstalk - http://youtu.be/5N352oeYmqE
Hope this helps.