Setup and Configure Diameter on SailFin

Configure Diameter on SailFin 2.0

In continuation with my previous blog about Introduction to Diameter Protocol, I am adding more details about the Configuration of Diameter on SailFin 2.0 in this blog. SailFin 2.0 is supporting Diameter protocol as the standard. SailFin 2.0 is supporting Sh, Ro and Rf Interface.

How to Setup Diameter?

Diameter is available as addon for SailFin 2.0. Download the Diameter Patch(142949-1.0.zip) from SunSolve. This patch contains Diameter Installer jar and README file.

% Extract 142949-1.0.zip location of your choice.

% Go to 'bin' directory of SailFin Install location on your System.
    cd install_location_sailfin/bin

% Stop the domain if it is running.

% ./asadmin install_addon extract_location/142949-1.0/SunDiameter_installer.jar

% Accept the license to Continue.

% Restart the Domain.

These set of commands Setup Diameter on SailFin 2.0.

How to Configure Diameter?

After restarting the Domain user needs to configure Diameter on SailFin. SailFin 2.0 supports set of CLI commands or Admin GUI to configure the same.

% Go to 'bin' directory of SailFin Install location on your System.
    cd install_location_sailfin/bin

% ./asadmin create-diameter-service
    This command adds Diameter Service on SailFin 2.0

% ./asadmin create-diameter-application
    This command creates Diameter Application for Diameter Service. It requires some mandatory parameters.
    Usage: create-diameter-application --applicationsid applicationsid [--terse=false] [--echo=false] [--interactive=true] [--host localhost]
    [--port 4848] [--secure|-s=true] [--user admin_user] [--passwordfile file_name] [--authappid authappid] [--acctappid acctappid]
    [--target target(Default server)] vendorid

% ./asadmin create-peer
    This command creates Peer for Diameter Service. It requires some mandatory parameters.
    Usage: create-peer --appref appref --connectiondefinition connectiondefinition --realm realm [--terse=false] [--echo=false] [--interactive=true]
    [--host localhost] [--port 4848] [--secure|-s=true] [--user admin_user] [--passwordfile file_name] [--pool pname] [--jndiname jndiname]
    [--peerhost localhost] [--peerport 3868] [--target target(Default server)] id

These set of commands Configure Diameter on SailFin 2.0.

Can I use SailFin 1.0 to Setup Diameter?

You CAN'T use SailFin 1.0 to Setup Diameter as all configuration commands are available as part of SailFin 2.0. User needs to upgrade from SailFin 1.0 to SailFin 2.0. User can follow these instructions to upgrade SailFin.


Comments:

sorry I don't understand this point: "Diameter is available as addon for SailFin 2.0. Download the Diameter Patch(142949-1.0.zip) from SunSolve. This patch contains Diameter Installer jar and README file."

I've visit http://sunsolve.sun.com and found no diameter patch as you mentioned so could you please give some more information on this. I would like to thanks a lot because I'm working in this field and prepare for my graduate project and of course having no clue on how to build a diameter simple application.

Posted by Zang on November 18, 2009 at 07:48 AM IST #

Can You give us a sort of direct link (or search expression) to this patch, because I can't find neither in SunSolve nor in google. Thx a lot!

Posted by Attila on December 18, 2009 at 12:07 PM IST #

http://sunsolve.sun.com/patchfinder/?patchId=142949

Posted by David on January 06, 2010 at 08:16 PM IST #

It's available on SunSlolve now.

URL For the same @ http://sunsolve.sun.com/search/document.do?assetkey=1-21-142949-01-1

Posted by Nama on January 21, 2010 at 07:25 AM IST #

I am trying to install the diameter.
When I try to create diameter service
I get CLI020 operand is required and I see that the 'target' is not optional >> What it the Default Server ?

Posted by amir aharon on February 03, 2010 at 12:59 PM IST #

Is this patch restricted to some kind of Oracle client??? I´m trying to downloat it from the above links and it tells me i´m not entilted....

Posted by Amanda on August 13, 2010 at 04:28 PM IST #

I've got patch but the exact archive name is 142949-01.zip.

install-addon completed successfully

but "asadmin create-diameter-service server" output is
"Diameter Support Not Installed CLI137 Command create-diameter-service failed."

1. target is not optional, and default target is server
2. server.log shows some NoClassDefFoundError for DiameterApplicationsEventListener after domain start
workaround: sailfin "sailfin-installer-v2-b31g-windows.jar" misses diameter classes so I pick sources from cvs and add classes to comms-appserv-rt.jar
3. then server.log shows
"can't find j2eeType for com.sun.appserv type=diameter-service" after "asadmin create-diameter-service server"

I have feeling that whole time use wrong sailfin build:
- mandatory target
- slightly different outputs e.g. "Diameter Support Not Installed" instead "Diameter addon not installed."
- no diameter classes in comms-appserv-rt.jar

Does anybody have success with this diameter addon?

Posted by Ivica on November 05, 2010 at 02:15 PM IST #

The same situation as Ivica described above. Tried to use diameter with sailfin from sailfin-installer-v2-b31g-windows.jar. Below the log from console:
asadmin> version
Version = Sun GlassFish Communications Server 2.0
Command version executed successfully.
asadmin> create-diameter-service
Usage: create-diameter-service [--terse=false] [--echo=false] [--interactive=true] [--host localhost
] [--port 4848] [--secure|-s=true] [--user admin_user] [--passwordfile file_name] target
CLI020 Operand is required.
asadmin> create-diameter-service server
Diameter Support Not Installed
CLI137 Command create-diameter-service failed.
Could somebody suggest some workaround?

Posted by Vlad on December 28, 2010 at 08:33 AM IST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Naman

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today