close Warning: Can't synchronize with repository "(default)" (/common/SVN/wimax does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Version 22 and Version 23 of Old/WiMAX/17


Ignore:
Timestamp:
Nov 8, 2013, 5:14:06 PM (10 years ago)
Author:
davide
Comment:

Update installation and configuration for new wimaxrf.

Legend:

Unmodified
Added
Removed
Modified
  • Old/WiMAX/17

    v22 v23  
    55[[TOC(WiMAX/17*, depth=2, heading=WiMAX RF Aggregate Manager)]]
    66
    7 == Installation ==
     7== Installation for NEC BS ==
    88
    99{{{
     
    3131}}}
    3232
     33== Installation for Airspan BS ==
     34
     35{{{
     36apt-get install click wimaxrf
     37}}}
     38
     39This will install the WimaxRF AM service along with the required OMF packages and the Click software router. An ASN gateway is not needed to operate the Airspan base station.
     40Please confirm that the most current packages of the software are installed. You can check them with the following command.
     41
     42{{{
     43dpkg -l | egrep 'omf-|click|wimaxrf'
     44}}}
     45The output should be similar to this:
     46{{{
     47ii  omf-aggmgr-5.2                      ubuntu6                                  OMF Aggregate Manager
     48ii  omf-common-5.2                      ubuntu4                                  Common ruby classes for OMF
     49}}}
     50
     51
    3352== Configuration ==
    3453
    35 The configuration file for wimxrf AM is in the same location as for all the other OMF AM services in /etc/omf-agggr-5.2/available/wimaxrf.yaml. The configuration file consists of multiple section sections relating to different components of the services.
     54The configuration file for wimaxrf AM is in the same location as for all the other OMF AM services in `/etc/omf-aggmgr-5.4/available/wimaxrf.yaml`. The configuration file consists of multiple sections relating to different components of the services.
    3655
    3756Default parameter values are shown in []; Bold font indicates mandatory parameters.
     
    4160}}}
    4261
    43 === Database section ===
     62=== database section ===
    4463{{{
    4564  database:
    46    dbFile: '/db/wimaxrf.db'
     65   dbFile: 'db/wimaxrf.db'
    4766  reset:
    4867   file: '/defaults/reset.xml'
    4968}}}
    5069
    51  * '''file''': location of the default configuration [none]. The file is an XML file that containes default BS parameters and is used with '''/default''' wimaxrf service
    52 
    53 === asngw: Section ===
    54 
     70 * '''dbFile''': SQLite 3.x database file that contains datapaths configuration and authorized clients.
     71 * file: location of the default configuration [none]. The file is an XML file that contains default BS parameters and is used with '''/default''' wimaxrf service.
     72
     73=== asngw section ===
     74
     75This section is unused on Airspan and thus ignored.
    5576{{{
    5677  asngw:
     
    6485}}}
    6586
    66 === bs: section ===
    67 {{{ 
     87=== bs section ===
     88{{{
    6889  bs:
    69    ip: 10.3.0.1
    70    mask: 255.255.0.0
    71    bsid: 44:51:DB:00:00:01
    72    frequency: 2590000
    73    stats:
    74      localoml:
    75        :omlServer: oml.orbit-lab.org
    76        interval: 10
    77      globaloml:
    78        :omlServer: oml.orbit-lab.org
    79 }}}
    80 '''localoml''' section is used to specify OML server that will receive client related measurements while '''globaloml''' server section is used to configure parameters that are used by global GENI-wide logging process (should point at '''oml.orbit-lab.org''' until GENI gmoc takes over reporting function). Both are configured with two parameters:
    81   * ''':omlServer:''': value is the hostname of your OML server. If you wish to install the oml2 server on your host[[BR]] locally, please do so by the following commands.
    82 {{{
    83   apt-get install oml2-server
     90    type: airspan/nec
     91    bsid: 44:51:db:00:xx:yy
     92    ip: 10.3.x.y
     93    mask: 255.255.0.0
     94    mgmt_if: eth0.1
     95    data_if: eth0
     96    frequency: 2590000
     97    stats:
     98      localoml:
     99        :omlServer: oml.orbit-lab.org
     100        interval: 20
     101      globaloml:
     102        :omlServer: oml.orbit-lab.org
     103}}}
     104
     105 * '''type''': BS type, `airspan` and `nec` are currently supported
     106 * '''bsid''': globally-assigned ID of the base station
     107 * '''ip''': the base station IP address
     108 * '''mgmt_if''': the name of the network interface on the local machine that is used to communicate with the base station for management purposes (e.g. SNMP calls, traps, etc...)
     109 * '''data_if''': the name of the network interface over which data traffic to and from the BS will flow. Can be the same as `mgmt_if`
     110 * The '''localoml''' section is used to specify the OML server that will receive client-related measurements while '''globaloml''' server section is used to configure parameters that are used by global GENI-wide logging process (should point at `oml.orbit-lab.org` until GENI gmoc takes over reporting function). Both are configured with two parameters:
     111  * ''':omlServer:''': value is the hostname of your OML server. If you wish to install the oml2 server on your host locally, please do so by the following commands.
     112{{{
     113apt-get install oml2-server
    84114}}}
    85115 and then point the omlServer value to your localhost.
    86   * '''interval:''': collection itnerval in seconds (defaults: [10] for localoml and [300] for globaloml)
     116  * interval: collection interval in seconds (defaults: [10] for localoml and [300] for globaloml)
    87117
    88118=== datapath: section ===
    89 
    90 Default interface for datapath outside endpoint:
    91119
    92120{{{       
    93121  datapath:
    94     datapathif: eth0
    95 }}}
    96 
    97 Each of the sections in this file should be modified to reflect your deployment configuration (please keep in mind that this is a YAML file and that it depends heavily on spaces and not TABs). Once the configuration file is ready, you have to enable the service by creating the symbolic link in /etc/omf-aggmgr-5.2/enabled:
    98 
    99 {{{
     122    manage_interface: true
     123}}}
     124
     125 * manage_interface [false]: whether wimaxrf is allowed to create and destroy VLANs on the datapath interface when adding or deleting datapaths via `/datapath/add` and `/datapath/delete`. If set to false, the system administrator must ensure that any required VLANs have been properly setup prior to adding the datapath to wimaxrf.
     126
     127Each of the sections in this file should be modified to reflect your deployment configuration (please keep in mind that this is a YAML file and that it depends heavily on spaces and not TABs). Once the configuration file is ready, you have to enable the service by creating a symbolic link in /etc/omf-aggmgr-5.4/enabled:
     128
     129{{{
     130cd /etc/omf-aggmgr-5.4/enabled
    100131ln -s ../available/wimaxrf.yaml
    101132}}}
     
    103134and restarting the OMF aggregate manager service:
    104135{{{
    105 /etc/init.d/omf-aggmgr-5.2 restart
    106 }}}
    107 
    108 === Example configuration ===
     136/etc/init.d/omf-aggmgr-5.4 restart
     137}}}
     138
     139=== Example NEC configuration ===
    109140
    110141{{{
     
    117148wimaxrf:
    118149  database:
    119    #sqlite db file
    120150   dbFile: '/db/wimaxrf.db'
    121151  reset:
     
    131161   dsc: IP-Config-Mgmt
    132162 
    133   bs:
     163  bs:
     164   type: nec
    134165   ip: 10.3.0.61
    135166   mask: 255.255.0.0
     
    147178}}}
    148179
     180=== Example Airspan configuration ===
     181
     182{{{
     183# NOTE: use only 'spaces' to indent !
     184# ('tab' indents are not supported by the ruby yaml parser used to read this file)
     185#
     186# This is the Config file for the WiMAXRF GridService
     187#
     188---
     189wimaxrf:
     190
     191  database:
     192    dbFile: 'db/wimaxrf.db'
     193
     194  bs:
     195    type: airspan
     196    bsid: 44:51:db:00:00:10
     197    ip: 10.3.0.10
     198    mask: 255.255.0.0
     199    mgmt_if: eth1
     200    data_if: eth1.500
     201    frequency: 2572000
     202    stats:
     203      localoml:
     204       :omlServer: oml.orbit-lab.org
     205      globaloml:
     206        :omlServer: oml.orbit-lab.org
     207
     208  datapath:
     209    manage_interface: true
     210}}}