Search This Blog........

Sunday, 19 June 2016

Seagull tool...

Seagull

Seagull Installation: 

          1) Download and install seagull using below steps.
wget https://sourceforge.net/projects/gull/files/seagull/1.8.2/seagull-1.8.2-Linux_RHEL6U1_X86_64.tar.gz/ 
tar -xvf  seagull-1.8.2-Linux_RHEL6U1_X86_64.tar.gz
cd packages
rpm -ivh *.rpm

If you are facing any problems in installing seagull click below link.
Follow below procedure
 yum groupinstall 'Development Tools' -y
sudo rpm -ivh  rpm -ivh seagull-core-1.8.2-linux-2.6-intel.rpm
sudo rpm -ivh seagull-diameter-protocol-1.8.2-linux-2.6-intel.rpm

Still facing problems paste the errors in the comments section. 


Testing the installation:

-> Go to cd /opt/seagull/ directory and type ls.
-> You should see below dir's and files.
config  diameter  doc  logs  run  scenario  sip

Installation is completed............. 



Generating the traffic: 

Before generating the traffic lets discuss about below files.

 
 
/opt/seagull/doc directory contains documentation for all the installed protocols (if available) /opt/seagull/[protocol]/doc directory contains documentation for a specific protocol
NOTE: As we are focused on Diameter, we’ll use the diameter protocol from now on for this example.
/opt/seagull/diameter/config directory contains the XML configuration files and dictionary files /opt/seagull/diameter/logs directory contains is initially empty but will contain execution log files /opt/seagull/diameter/run directory contains the shell scripts used to run the client and server in order to execute your scenarios /opt/seagull/diameter/scenario directory contains the scenarios

Step 1. Define the client configuration

Define the correct client configuration in
/opt/seagull/diameter/config/conf.client.xml

Step 2. Define the dictionary

Define the correct dictionary file in
/opt/seagull/diameter/config/base_ro.xml

Step 3. Define the scenario

Define the correct scenario file
/opt/seagull/diameter/scenario/ccr-cca.client.xml

Step 4. Create the run script

Edit the run script and make sure it uses the correct files that you have created
cd /opt/seagull/diameter/run
vi start_client_gx_ccr_cca.ksh
#!/bin/ksh
export LD_LIBRARY_PATH=/usr/local/bin seagull -conf ../config/conf.client.xml -dico ../config/base_ro.xml -scen ../scenario/ccr-cca.client.xml -log ../logs/ccr-cca.client.log -llevel ET

Step 5. Run the test!

Execute the run script to start the client
cd /opt/seagull/diameter/run
./start_client_gx_ccr_cca.ksh
   

 

1 comment: