Admin Console Series: Create and Start Clusters
This is the first of the Admin Console Series which will cover different topic or functions in GlassFish V2, and show you how to accomplish a special task in Admin Console.
This time, we create a domain with cluster profile and then create a cluster with 2 instances running on 2 different machines. I assume you have downloaded and installed a copy of GlassFish V2. You will need to install GlassFish on all the machines where you want your instance running.
You can find the step by step instructions below, but it maybe better to see this in action. So, just click the Screen Cast on the left and enjoy !!
1. Install and create domain with cluster profile
Download GlassFish and Install it on your machine where you want you want your DAS and instances running
From now on, the following instructions assumes your
DAS is running on DasMachine
instance 1 running on FirstMachine
instance 2 running on SecondMachine
If you do not have Cluster profile (ie, if you didn't run setup-cluster.xml during installation), create the cluster profile on DasMachine
create-domain --profile cluster --adminport 4848 domainEE
-
Start your cluster profile domain
-
start-domain domainEE