Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am interested in a way to have private cloud which would host Glassfish (or Tomcat) server.

Which option from Eucalyptus, Openstack or Nimbus would be best to deploy java applications on it? Or maybe there is something other and I am looking wrong at the problem?

The way I imagine this, that I should have some shared storage that I could expand by introducing new nodes to this cluster and have easy management for glassfish instances: something like virtual machines images that I can start and stop on demand and that image is shared among nodes.

I don't need concrete step-by-step solution here but guidelines how this should be done are very welcome.

share|improve this question
    
you probably want to reverse the question, and specify your requirements in terms of performance, reliability, scalability etc. –  Tom H May 12 '12 at 7:23
    
glassfish supports centralized administration of glassfish clusters using the web console - docs.oracle.com/cd/E26576_01/doc.312/e24934/ssh-setup.htm#gkshg –  Tom H May 12 '12 at 7:39
add comment

4 Answers

Typically Eucalyptus and Openstack are about scaling server instances (or S3/swift storage) rather than clustering individual applications.

Hence if you wish to deploy a cluster of a specific java application for performance, reliability and scalability, then for the 2 types of java application server you mentioned, you should consider either a Glassfish server cluster, or a tomcat cluster.

Glassfish high availability supports load balancing over glassfish server clusters in the open source edition, session replication and fail over. You can achieve further protection by using the various database High availability strategies, such as MySQL replication or some NoSQL or Postgresql equivalent.

You can achieve similar results (some would argue..;-) with tomcat session replication, or other high availability, and failover strategies with tomcat clusters.

Obviously it very much depends on what you are trying to achieve, and the structure and components of your Java Application.

share|improve this answer
add comment

You should check Open PaaS like Cloudify, which I'm one of its contributors (see http://www.cloudifysource.org). Using such Open PaaS can really give you the freedom to pick any Private Cloud. Cloudify can easily on board any service (e.g. Websphere), on any cloud.

share|improve this answer
add comment

Take a look at OpenShift

OpenShift is Red Hat's free, auto-scaling Platform as a Service (PaaS) for applications. As an application platform in the cloud, OpenShift manages the stack so you can focus on your code.

share|improve this answer
add comment

I'm looking for something similar and posted a question on StackOverflow... Maybe it has to be moved here.

The question is here: http://bit.ly/QjCnuu

I've watched deep into vFabric and Stackato and built two POCs for a scenario similar to yours, so I hope this reference to the question on SO, could be a contribution to your issue.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.