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

ProcedureTo Create a Diameter Peer

Use the create-diameter-peer command in remote mode to add peer host information to the known peer list in the specified cluster or server instance. 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.

Before You Begin

A Diameter application must be created before a Diameter peer can be created.

  1. Ensure that the server is running.

    Remote commands require a running server.

  2. Add peer host information to the Diameter peer list by using the create-diameter-peer(1) command.

    Information about the options and properties of the command is included in this help page.


Example 2–11 Adding Peer Information to a Diameter Application Set

This example creates a peer named peer_1 on the default instance.


asadmin> create-diameter-peer --applicationsref apps_1 --realm Sun.com --peerhost nyx
--peerport 3878 --transport tls peer_1
Command create-diameter-peer executed successfully.

See Also

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