Sun GlassFish Enterprise Manager SNMP Monitoring 1.0 Reference

Creating the Topology

Examples in this section use the following topology:

The asadmin commands to create this topology are as follows:

asadmin start-domain
asadmin create-node-agent nodeagent1
asadmin create-instance --nodeagent nodeagent1 standalone-instance1
asadmin create-cluster cluster1
asadmin create-instance --nodeagent nodeagent1 --cluster cluster1 clustered-instance1
asadmin create-instance --nodeagent nodeagent1 --cluster cluster1 clustered-instance2

Note that all of the server instances use the same node agent. This is possible because all are on the same machine. This will come in handy in Starting the Server Instances.