Diameter is a networking protocol for authentication, authorization, and accounting (AAA). Many internet providers use AAA before allowing users to connect to their networks. Sun GlassFishTM Communications Server Diameter Adapter 1.0 integrates the Diameter stack into Communications Server.
Diameter Adapter is available to Sun customers as a patch on SunSolve. A Diameter installer and a README file are included in the patch.
This chapter provides instructions for installing Diameter Adapter to an existing installation of Communications Server. The following topics are addressed:
For information on requirements, support, and known issues, see Sun GlassFish Communications Server Diameter Adapter 1.0 Release Notes.
This section provides instructions for installing Diameter Adapter on a single instance of Communications Server.
Communications Server must be installed before attempting to install the Diameter Adapter software.
Download the Diameter Patch from SunSolve.
You must be a registered Sun customer to access SunSolve.
Extract the .zip file to a location of your choice.
The .zip file includes an installer JAR file and a README file.
Navigate to the bin directory of your Communications Server installation.
cd as-install/bin |
Stop the Communications Server domain if it is running.
asadmin> stop-domain domain_name |
Run the Diameter Adapter installer.
asadmin> install-addon path_to_installer_jar |
The Licensing page is displayed.
Accept the license to start the installation.
When installation is complete, a message similar to the following is displayed:
Installation of the addon SunDiameter completed. CLI207 The installation of the addon /home/user1234/ SunDiameter_installer.jar completed. |
Start the domain.
asadmin> start-domain domain_name |
For configuration instructions, proceed to Configuring Diameter for Communications Server.
This section provides instructions for installing Diameter Adapter on multiple instances of Communications Server.
If you are using an existing domain, that domain must support clustering.
Create the domain if not already created.
You can use the create-domain(1) command. Be sure the domain supports clustering.
Download the Diameter Patch from SunSolve.
You must be a registered Sun customer to access SunSolve.
Extract the .zip file to a location of your choice.
The .zip file includes an installer JAR file and a README file.
Navigate to the bin directory of your Communications Server installation.
cd as-install/bin |
Stop the Communications Server domain if it is running.
asadmin> stop-domain domain_name |
Run the Diameter Adapter installer.
asadmin> install-addon path_to_installer_jar |
The Licensing page is displayed.
Accept the license to start the installation.
When installation is complete, a message similar to the following is displayed:
Installation of the addon SunDiameter completed. CLI207 The installation of the addon /home/user1234/ SunDiameter_installer.jar completed. |
Start the domain.
asadmin> start-domain domain_name |
Start the database.
asadmin> start-database |
Create new instances.
The new instances can be located on the same machine as the DAS or on different machines.
To apply the Diameter service to a cluster, do the following:
If not already created, create a cluster by using the create-cluster(1) command.
For example:
asadmin> create-cluster diameter-cluster Command create-cluster executed successfully. |
Create the Diameter service for that cluster by using the create-diameter-service(1) command.
For example:
asadmin> create-diameter-service diameter-cluster Command create-diameter-service executed successfully. |
Create instances for the cluster by using the create-instance(1) command.
Because the Diameter service is enabled at the cluster config level, instances automatically inherit the Diameter service feature. However, some custom properties (required for Diameter stack initialization) pertaining to the instance host address must be created explicitly while creating the instances. The hostname can be specified in IP address format as well.
Specify DIAMETER_TCP_ADDRESS and DIAMETER_SSL_ADDRESS as the instance_hostname by using the --systemproperties option.
For example:
asadmin> create-instance --nodeagent nodeagent_name --cluster cluster_name --systemproperties DIAMETER_TCP_ADDRESS=instance_hostname :DIAMETER_SSL_ADDRESS=instance_hostname instance_name |
If you did not specify the system properties during instance creation, use the following command:
asadmin> create-system-properties --target instance_name DIAMETER_TCP_ADDRESS=instance hostname:DIAMETER_SSL_ADDRESS=instance hostname |
Restart the cluster.
Use the stop-cluster(1) and start-cluster(1) commands.
For configuration instructions, proceed to Configuring Diameter for Communications Server.