Tridion deployer configuration using the broker database in loadbalanced scenario [closed] - tridion-2011

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm currently upgrading an application to Tridion 2011.
We have two loadbalanced webservers and a single database server hosting the broker database. All content is stored in the broker database and all pages are deployed locally on the webserver (the Tridion deployer is installed on the webservers).
Because the broker will write the content and metadata to a shared database, we'll get errors when we deploy to both webservers, as they will both try to store the content. There's a couple of ways to solve this that I know of..
Deploy to one webserver that writes the content to the Broker DB and use ftp sync to copy pages and directories to the second webserver.
Deploy to one webserver and have the broker write the files to a shared network disk and point both webservers to the shared network disk instead of storing the files locally.
Deploy to both webservers and have them work on a seperate database.
I was wondering if Tridion 2011 has more advanced broker features to enable the scenario where I publish to both webservers, but only have one of the webservers actually write the content to the database (but both read), so I can use 1 broker database instead of 2.
I hope this is a bit more clear.

Tridion is no clustering server and thus cannot manage your high availability requirements for you. You should see clustering separate from Tridion and then think, how would I solve this without Tridion.
If you have your web/application server setup as high availability with some form of sync in place (for both the filesystem and the broker database), then Tridion can just publish to one of the nodes (which technically can even be behind a load balancer).
If you do not consider clustering software and want a "poor mans" cluster, you should set up both your web/application servers with their own deployer and their own database. Then Tridion can just publish to both nodes and all will be automatically in sync (as long as both nodes are online).

Related

Which cloud system to choose for spring-mvc project deployment [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
In my company we are working on a spring-mvc based product. We currently deploy projects .war file in tomcat 7 on a server machine (which has its own static ip) to access it globally while the database ( oracle ) is on a different machine.This server machine and db machine are currently in my office.
So basically when we need to access the project outside of our office we access the static ip of serve machine.
Now I have been told by my project manager to find a way to deploy .war of the spring-mvc project on a cloud based system.I don't have the slightest clue where to begin.
What I need is any guidance / document / tutorial which can help on getting started.
Which cloud based system will be best for me to do so? Should I use Convrgd or AWS [Elastic Beanstalk Or EC2] or any other service?
[ Note: I know this is a opinion based question but what I want is opinion on which I could begin to get a clean idea of which path should choose. ]
Let me know if you need any additional information. Any help is appreciated.
Definitely it is a good idea to move your application to the cloud.
There are many cloud service provider(s) are offering the cloud services now a days which you can make use of. like AWS, Azure, Rackspace etc.
Rightnow, AWS is in the leader position in the cloud space. Definitely, you can give a try in Amazon Web Services.
Elastic Beanstalk is a container service where you can easily deploy your application (war) file. Just upload a war file, AWS will launch Load balancer, Auto Scaling on your behalf.
For the database, for now you can launch a Amazon RDS (with Oracle). Transfer the data copy from your existing database to the Amazon RDS.
Hope this helps.
Note:
AWS costs you based on the type of the instance, database per hour basis.

How come that The response time is very different when calling the same action/page in different times of day? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
How come that The response time is very different when calling the same action/page in different times of day ? I'm working in an internal server where I'm the only one who uses the application (which doesn't work with internet connection)
I'm not connected to a network, and there is only one user who is running the app (which is me). It's a ASP site with a remote database
Once again, where are you going to start? You're seriously going to need to look at all aspects of the server that the application is on.
If you have a connected database then you'll need to look at whether:
the database is on a remote server - network issues can interfere quite heavily with your timings here.
the same server - if this is an instanced database you will need to take into account the performance impact of the service that is managing your database and all of the related aspects of that (e.g. do you have any kind of agents running background tasks for the database?).
Are you running a standalone database like Ms Access? - this may cause the least disruption in some ways but can be disastrous in others.
What type of web-application are you looking at?
A simple scripted non-managed IIS ASP site - Very little to manage via IIS here; no need to section off a pool for the application.
A full blown IIS managed application - IIS managed, passing of cookies, credentials etc (all takes slices of time).
If you are connected to a network, then...
How many users are on the network - Though every machine on the network may have a negligible impact on your application server or PC, there are definitely some that do, such as DNC servers and what have you; they need to gather network information for the successful management and running of the network as a whole. Your application server will also communicate with other servers to say things like: "Hi! I'm over here!".
Perhaps the most important question should be regarding your server(s):
What services are running - every service that runs on your server swallows time slices.
What services are not running on your server? - to keep your timings realistic should you stop any services or (more importantly) not?
What services are running on your database server? - just as important as your main application server, your database server needs time to furnish data to your application. If there are other services running on here then this can impact heavily on your time.
Please everyone, chip in here - there's just so much to take into account.
By not giving an adequate qualification for your task it's very difficult for anyone to give a wholly valid answer.

is oracle database architecture single tier, two tier or multi tier? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm currently learning oracle database administration 10g. I was wondering to which tier oracle architecture belongs?
The traditional three tier model is
client -> application server -> data storage
The data storage is usually a database, so this tier is nomrally referred to as the database tier.
So that's where the Oracle database sits. Other parts of the Oracle architecture will sit in other places. For instance SQL Plus is a client and sits in the client layer with direct access to the database (two-tier), where as OEM these days is a browser based client with an app server layer (three-tier).
Of course, modern enterprises often have more complicated arcitecturs with many tiers (in-memory databases/caches, SANs, etc)
Oracle database has a client server architecture.
From the documentation:
In the Oracle client/server architecture, the database application and
the database are separated into two parts: a front-end or client
portion, and a back-end or server portion. The client executes the
database application that accesses database information and interacts
with a user through the keyboard, screen, and pointing device such as
a mouse. The server executes the Oracle software and handles the
functions required for concurrent, shared data access to an Oracle
database.
The Client in this case could be a number of things including sqlplus, Toad (or any other IDE), Java, .net among others.

Consultation on APEX and Cloud [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I am given a project which is very small project for small clinic which may be contains of five departments reception or registration and billing, pharmacy, store, laboratory, payroll so far, and as you know most of the operations for this project would be like CRUD operations if we will take first module as example:
for the first department "Registration and billing "
there will be form which contains the details of the patient and then the billing part will contain the entry fee and then if the patient goes to Dr then goes to pharmacy his details should be there in the pharmacy page where the medicine that he is going to buy will be added to his profile and then print the receipt.
My questions now are:
Can apex do this project.
Can I use the bar code to get the product details.
Can I add figure print machine for the employees attendance.
Can I integrate apex with some pages from JSP in case if I have dynamic module needs more control driven mechanisms.
Questions related to apex with 11g XE and cloud:
Can I use apex and 11g xe for free and install them in server in my organization? If yes, so What are the limitations ?
If am going to deploy it on cloud shall they will use Oracle 11g XE or Oracle SE or EE, or it depends on my request ?
If I greed to start apex and I would like to deploy it on cloud is there any requirements , like Do I have to first contact Oracle and ask them to give me the login to apex on cloud and work remotely , Or
Can first develop it here in my machine and then contact oracle and deploy it on cloud .
If apex is not recommended for such projects please tell me before I start , and I will replace it with Java EE6
Can apex do this project.
Yes.
Can I use the bar code to get the product details.
Client-side interactions are notoriously tricky with web applications. It you have a bar code reader which can turn the barcode into JQuery or something then yes. But this will be the hardest part of the project.
Can I add figure print machine for the employees attendance.
Same as 2. Can your FPS do JQuery?
Can I integrate apex with some pages from JSP in case if I have dynamic module needs more control driven mechanisms.
By default Apex operates out of the http server in the database. If you want to include Java Server Pages you need a separate web server and your architecture has just got way more complicated. The good news is that Apex is capable of supporting pretty sophisticated interactions, so the chances that you'll need JSP are slight.
Can I use apex and 11g xe for free and install them in server in my organization?
Yes. For limitations I suggest ion you read the documentation.
If am going to deploy it on cloud shall they will use Oracle 11g XE or Oracle SE or EE, or it depends on my request ?
What cloud? "cloud" is just a generic term of remote hosting. But generally the point about cloud is you get to choose. Also, remember that the Oracle licensing will still apply: when you deploy Oracle SE or EE you will need to pay the Per CPU license, so be careful if you plump for something flexible such as AWS Elastic Cloud.
If I greed to start apex and I would like to deploy it on cloud is there any requirements
Again, what cloud? Oracle don't host apps, so why would you need to contact them? There are a load of companies which do specialise in host Apex apps. Find out more.
(OTN does offer workspaces but purely for evaluating Apex, not for actually running - or even developing - production systems).
"I have several comments on your answer "
Your original questions rather strained the remit of SO, which is a programming site. Your follow-up questions are utterly off-topic, as they are largely business questions and the answer to pretty much all of them is "it depends".
Dependencies include:
budget
available skill set
privacy and data protection compliance
number of users
amount of data
usage profile
complexity of application
on-site facilities
reliability and availability requirements
If you don't know how to analyze these factors and use them to evaluate architectural solutions you really ought to hire somebody who can. This is work which would be measured in hours, if not days, and is way beyond what you can reasonably expect people to do for you on a Q&A site.
Remember: the free advice you get from some random bloke on the internet is worth exactly what you paid for it.

Hosting, deploying and running web applications in the cloud [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
So far I've read some blog articles about cloud computing and services for hosting applications in the grid.
If I'd wanted to have a web application running in the cloud for as little cost as possible, what would be the best solution?
Let's assume the following configuration:
J2EE web application
Any free database (MySQL, PostgreSQL)
Any web container to deploy the web application to
What application stack would you suggest to be the best combination of services to
host
deploy
run
web applications?
As an additional requirement, the services chosen shouldn't require a lot about server management like firewall settings etc.
This space is changing very quickly right now so I think you will find a lot of different good answers. If I where to do something on the cheap right now I would probably pick the following stack:
Web server: apache
App server: tomcat - use the clustering support if you need to grow or split at the apache level or even introduce a load balancer box at the very front
DB server: MySql - mainly because it is easy to cluster
Platform: scalr - The cloud setup is simple and cheap. It uses Amazon's cloud on the backend and that gets you a lot of extras like putting servers in different datacenters for redundancy.
Now you can add in or remove parts of this. You may not need a web tier out there and can just expose tomcat directly. You may need EJBs and in that case you can just fire up more nodes for that and create another tier. You may want to add a tier for load balancing in front of apache. You may want to use the Amazon cloudfront service to push static files to their edge network.
I have investigated Amazon's ec2 solution recently. It is quite good and there are many pre-built boxes that you can use if you find one that suits your need. I think there will still be some server management involved...you cannot get away from that. But the pre built boxes will make it easier.
The cost is reasonable as you only pay for what you use.
[EDIT] The pre-built boxes are called Amazon Machine Images (AMIs).
I think you can get no where closer to Jelastic. It has all the stuffs that #carson mentioned. Specially I will mention their unique web console and they do not have any dependency for any API or console to be installed. I use their platform for many of the clients for my startup. Also additionally you get a nginx support for load balancing and configuring it right away from the console.

Resources