Sun GlassFish Communications Server Diameter Adapter 1.0 Installation and Quick Start Guide

Administering the Diameter Service

The Diameter service itself can only be administered on the command line. You cannot create or delete the Diameter service by using the Admin Console. However, all the other Diameter tasks can be performed either on the command line or in the Admin Console.

The following topics are addressed here:

ProcedureTo Create the Diameter Service

Use the create-diameter-service command in remote mode to create the Diameter service on an instance or cluster. The default Diameter stack configuration is applied. If you do not specify the target operand, the default instance is used. If the task applies to a cluster, target must specify the cluster name.

The Diameter service can only be created from the command line. After you create the Diameter service by using the create-diameter-service command, the Diameter node appears in the Communications Server Admin Console. Then you can use the Admin Console for other Diameter tasks if you prefer.

Before You Begin

The Diameter Adapter must be installed before the Diameter service can be created.

  1. Ensure that the server is running.

    Remote commands require a running server.

  2. Create the Diameter service by using the create-diameter-service(1) command.


Example 2–2 Creating the Diameter Service on a Server Instance

This example creates the Diameter service on the default instance.


asadmin> create-diameter-service
Command create-diameter-service executed successfully.

See Also

You can also view the full syntax and options of the command by typing asadmin help create-diameter-service at the command line.

ProcedureTo Delete the Diameter Service

Use the delete-diameter-service command in remote mode to delete the Diameter service configuration on a cluster or server instance. The Diameter service can only be deleted from the command line. This command disables the Diameter service and removes the Diameter node in the Admin Console until you recreate the Diameter service. As child elements of the Diameter service, all Diameter configuration elements will be deleted.

If you do not specify the --target option, the default instance is used. If the task applies to a cluster, the --target option must specify the cluster name.

  1. Ensure that the server is running.

    Remote commands require a running server.

  2. Delete the Diameter service by using the delete-diameter-service(1) command.


Example 2–3 Deleting the Diameter Service

This example disables the Diameter service on the default instance.


asadmin> delete-diameter-service
Command delete-diameter-service executed successfully.

See Also

You can also view the full syntax and options of the command by typing asadmin help delete-diameter-service at the command line.