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.
- Timestamp:
-
Nov 8, 2013, 5:14:06 PM (9 years ago)
- Author:
-
davide
- Comment:
-
Update installation and configuration for new wimaxrf.
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v22
|
v23
|
|
5 | 5 | [[TOC(WiMAX/17*, depth=2, heading=WiMAX RF Aggregate Manager)]] |
6 | 6 | |
7 | | == Installation == |
| 7 | == Installation for NEC BS == |
8 | 8 | |
9 | 9 | {{{ |
… |
… |
|
31 | 31 | }}} |
32 | 32 | |
| 33 | == Installation for Airspan BS == |
| 34 | |
| 35 | {{{ |
| 36 | apt-get install click wimaxrf |
| 37 | }}} |
| 38 | |
| 39 | This 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. |
| 40 | Please confirm that the most current packages of the software are installed. You can check them with the following command. |
| 41 | |
| 42 | {{{ |
| 43 | dpkg -l | egrep 'omf-|click|wimaxrf' |
| 44 | }}} |
| 45 | The output should be similar to this: |
| 46 | {{{ |
| 47 | ii omf-aggmgr-5.2 ubuntu6 OMF Aggregate Manager |
| 48 | ii omf-common-5.2 ubuntu4 Common ruby classes for OMF |
| 49 | }}} |
| 50 | |
| 51 | |
33 | 52 | == Configuration == |
34 | 53 | |
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. |
| 54 | The 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. |
36 | 55 | |
37 | 56 | Default parameter values are shown in []; Bold font indicates mandatory parameters. |
… |
… |
|
41 | 60 | }}} |
42 | 61 | |
43 | | === Database section === |
| 62 | === database section === |
44 | 63 | {{{ |
45 | 64 | database: |
46 | | dbFile: '/db/wimaxrf.db' |
| 65 | dbFile: 'db/wimaxrf.db' |
47 | 66 | reset: |
48 | 67 | file: '/defaults/reset.xml' |
49 | 68 | }}} |
50 | 69 | |
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 | |
| 75 | This section is unused on Airspan and thus ignored. |
55 | 76 | {{{ |
56 | 77 | asngw: |
… |
… |
|
64 | 85 | }}} |
65 | 86 | |
66 | | === bs: section === |
67 | | {{{ |
| 87 | === bs section === |
| 88 | {{{ |
68 | 89 | 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 | {{{ |
| 113 | apt-get install oml2-server |
84 | 114 | }}} |
85 | 115 | 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) |
87 | 117 | |
88 | 118 | === datapath: section === |
89 | | |
90 | | Default interface for datapath outside endpoint: |
91 | 119 | |
92 | 120 | {{{ |
93 | 121 | 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 | |
| 127 | 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 a symbolic link in /etc/omf-aggmgr-5.4/enabled: |
| 128 | |
| 129 | {{{ |
| 130 | cd /etc/omf-aggmgr-5.4/enabled |
100 | 131 | ln -s ../available/wimaxrf.yaml |
101 | 132 | }}} |
… |
… |
|
103 | 134 | and restarting the OMF aggregate manager service: |
104 | 135 | {{{ |
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 === |
109 | 140 | |
110 | 141 | {{{ |
… |
… |
|
117 | 148 | wimaxrf: |
118 | 149 | database: |
119 | | #sqlite db file |
120 | 150 | dbFile: '/db/wimaxrf.db' |
121 | 151 | reset: |
… |
… |
|
131 | 161 | dsc: IP-Config-Mgmt |
132 | 162 | |
133 | | bs: |
| 163 | bs: |
| 164 | type: nec |
134 | 165 | ip: 10.3.0.61 |
135 | 166 | mask: 255.255.0.0 |
… |
… |
|
147 | 178 | }}} |
148 | 179 | |
| 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 | --- |
| 189 | wimaxrf: |
| 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 | }}} |