Skip to main content

Which domain profile should be used in production system

4 replies [Last post]
exialai
Offline
Joined: 2009-01-01

Sun Java System Application Server 9.1 Deployment Planning Guide (http://docs.sun.com/app/docs/doc/819-3680/abfay?l=en&a=view)
In Domain Administration Server(DAS) chapter:
Since the DAS is an application server instance, it can also host J2EE applications for testing purposes. However, do not use it to host production applications. You might want to deploy applications to the DAS, for example, if the clusters and instances that will host the production application have not yet been created.

is it better to create a new server instance than using the default one? so we should not use default profile and use cluster profile to create domain?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
j_lsy
Offline
Joined: 2009-02-25

it depends on the job you want to do..

We user glassfish as shared platform (one GF-installation, many autonomic application) in a productive environment, and we installed the cluster-profile.
The DAS-Instance is only used for administration work, each Application gets an own Single-Instance

What is your purpose?

exialai
Offline
Joined: 2009-01-01

our purpose is similiar to you.
since we use the default profile, we create another domain than single-instance to host different application.
but the question is: if you use cluster-profile, you need to create agent for single-instance. it will bring more jobs, for example, add the agent to OS service.
why you choose different single instance than different domain?

exialai
Offline
Joined: 2009-01-01

I also found DAS could be configurated to use other profiles than developer.
in GF_Install_DIR/config/asadminenv.conf, it is possible to change the value of AS_ADMIN_PROFILE to other profiles.
does it mean we could use this way to deploy the production applications into DAS?

exialai
Offline
Joined: 2009-01-01

Actually, GF have three profile (developer,cluster and enterprise).
The admin server (DAS, current PAS is running on) is using developer profile.

More information about profile: http://docs.sun.com/app/docs/doc/819-3671/gelvk?a=view