Please look at my previous blogs on Application Server Plugin and the Provisioning of GlassFish in general to get an overview and details on the Application Server Plugin Version 6.0 for N1SPS.
In this blog we will look at some of the Infrastructure tasks which involves the administration of following Application server components
Domain
Cluster
Node Agent
Instance
Click to Enlarge
Domain
Domain Instrastructure tasks allow you
to Create, Create (markOnly), Start, Stop, Delete and
Delete(markOnly) the Domain on the specified set of Target hosts. It
will also allow you to view the list of Domains installed. Here we will
see how to Create and Delete a Domain.
Creating a Domain
Allows you to create a Domain. You need to select the Target host where you want to create the domain. Note that the host list you see in that dialog will only show the hosts where you have an Application Server installed.You need to create a variable set in order for you to be able to run the 'Create' domain procedure. Clicke on 'Edit Variable Set' in the above dialog and click on 'New Variable Set'. There are defaults, you may change them as you feel appropriate (ex., the name of the domain is defaulted to 'domain1').
Once you created a new variable set, click 'Run'. You will see the result after the 'create domain' plan is run.
Deleting a Domain
Allows you to Delete a Domain. You need to select the domain virtual host, which will appear in the list.Once you select the 'domain' host, you will see the following dialog. Click on 'Run'. You will the see status of the run once it is completed.
Also see how to do this with CLI (a real scenario with code) at link.
Cluster
Cluster Infrastructure tasks allows to
Create, Create (markOnly), Start, Stop, Setup In-Memory Replication,
Delete and
Delete(markOnly) the Cluster associated to an existing Domain. It
will also allow you to view the list of Clusters. Here we will see how
to Create and Delete a Cluster.
Creating a Cluster
This task will allow you to create a cluster. You need to select the Target host where you want to create the Cluster. Note that the host list you see in that dialog will only show the Domain Virtual hosts.You need to create a variable set in order for you to be able to run the 'Create' cluster procedure. Clicke on 'Edit Variable Set' in the above dialog and click on 'New Variable Set'. There are defaults, you may change them as you feel appropriate (ex., the targetName is defaulted to 'cluster1').
Deleting a Cluster
Allows you to Delete a Cluster. You need to select the virtual host of the Cluster, which will appear in the list.Once you select the 'cluster' host, you will see the following dialog. Click on 'Run'. You will the see status of the run once it is completed.
Node Agent
Node Agent Infrastructure tasks allows
to
Create, Create (markOnly), Start, Stop, Delete and
Delete(markOnly) the Node Agent on the specified set of Target hosts
and associated to an existing DAS. It
will also allow you to view the list of Node Agents installed. Here we
will see how to Create and Delete a Node Agent.
Creating a Node Agent
Allows you to create a Node Agent. You need to select the Target host where you want to create the Node Agent and where your instances. Note that the host list you see in that dialog will only show the hosts where you have an Application Server installed.You need to create a variable set in order for you to be able to run the 'Create' Node Agent procedure. Clicke on 'Edit Variable Set' in the above dialog and click on 'New Variable Set'. You need to provide the virtual host name of the Domain. There are defaults for other variables, you may change them as you feel appropriate (ex., the name of the node-agent is defaulted to 'nodeagent1').
Deleting a Node Agent
Allows you to Delete a Node Agent. You need to select the virtual host of the Node Agent, which will appear in the list. Once you select the 'Node Agent' host, you will see the following dialog. Click on 'Run'. You will see the status of the run once it is completed.Clustered Instance
(Clustered) Instance Infrastructure
tasks allows
to Create, Create (markOnly), Start, Stop, Delete and
Delete(markOnly) the Instance (Clustered) associated to an
existing Cluster and a Node Agent. It
will also allow you to view the list of Clustered instances. Here we
will see how to Create and Delete a Clustered Instance.
Creating an Instance
Allows you to create a Clustered Instance. You need to select the Node Agent virtual host on which you want to create your instances. Note that the host list you see in that dialog will only show the virtual hosts of existing Node Agents.You need to create a variable set in order for you to be able to run the 'Create' Instance procedure. Clicke on 'Edit Variable Set' in the above dialog and click on 'New Variable Set'. You need to provide the name of the Cluster to which this instance needs to be associated to. There are defaults for other variables, you may change them as you feel appropriate (ex., the name of the instance is defaulted to 'server1').
