260 | | To enable the features we will need to copy the '''wimaxrf.yaml''' from '''/etc/omf-aggmgr-5.2/available''' to '''/etc/omf-aggmgr-5.2/enabled/'''. |
261 | | |
262 | | Edit this file change settings (if needed) |
263 | | {{{ |
264 | | # NOTE: use only 'spaces' to indent ! |
265 | | # ('tab' indents are not supported by the ruby yaml parser used to read this file) |
266 | | # |
267 | | # This is the Config file for the WiMAXRF GridService |
268 | | # |
269 | | --- |
270 | | wimaxrf: |
271 | | |
272 | | asngw: |
273 | | if: eth1 |
274 | | ip: 192.168.1.50 |
275 | | port: 2231 |
276 | | id: ASNGW000 |
277 | | tecnh: 3 |
278 | | dsc: IP-Config-Mgmt |
279 | | |
280 | | click: |
281 | | def_gw: 10.41.0.1 |
282 | | net_mask: 255.255.0.0 |
283 | | def_ip: 10.41.0.254 |
284 | | |
285 | | bs: |
286 | | ip: 192.168.1.10 |
287 | | mask: 255.255.255.0 |
288 | | bsid: 44:51:DB:00:00:XX |
289 | | frequency: 2590000 |
290 | | }}} |
291 | | |
292 | | Making changes in this file should propagate changes to the ASN software and the BTS (IDU) software. |
293 | | |
294 | | |
295 | | These are the files which are located in the /etc directory on the asn-gw machine. |
| 261 | To enable the features we will need to copy the modified '''wimaxrf.yaml''' from '''/etc/omf-aggmgr-5.2/available''' to '''/etc/omf-aggmgr-5.2/enabled/'''. Remove all other services that are pre-installed in '''/etc/omf-aggmgr-5.2/enabled/''' as the other services are used in Case 2 installation. |
| 262 | |
| 263 | Execute the init-wimax.rb file. The file imports all MIBs into local libraries. This needs to be done only once during initialization. |
| 264 | |
| 265 | {{{ |
| 266 | ruby /usr/share/omf-aggmgr-5.2/omf-aggmgr/ogs_wimaxrf/init-wimax.rb |
| 267 | }}} |
452 | | |
453 | | |
454 | | === 5.8.4 RF Transmission === |
| 424 | === 5.8.4 WimaxRF Grid Service operation === |
| 425 | |
| 426 | 1. Start the omf aggregate manager. This is required for the grid service to be in operation. |
| 427 | {{{ |
| 428 | /etc/init.d/omf-aggmgr-5.2 restart |
| 429 | }}} |
| 430 | |
| 431 | 2. Check the service starts by looking at the process table as well as tailing the logs |
| 432 | |
| 433 | '''/var/log/omf-aggmgr-5.2.log''' |
| 434 | |
| 435 | {{{ |
| 436 | root 31394 1 0 Jan24 ? 00:08:53 ruby1.8 -I/usr/share/omf-aggmgr-5.2 -I/usr/share/omf-common-5.2 /usr/share/omf-aggmgr-5.2/omf-aggmgr/ogs.rb --port 5052 |
| 437 | }}} |
| 438 | |
| 439 | 3. Start a web browser on the asn_gw. Make sure the WimaxRf grid service is working. |
| 440 | {{{ |
| 441 | localhost:5052/wimaxrf |
| 442 | }}} |
| 443 | |
| 444 | 4. The web page has all the commands the service supports |
| 445 | {{{ |
| 446 | <service name="get"> |
| 447 | <info>Get Basestation Static Parameter</info> |
| 448 | </service> |
| 449 | − |
| 450 | <service name="info"> |
| 451 | <info>Get information about the Base Station</info> |
| 452 | </service> |
| 453 | − |
| 454 | <service name="restart"> |
| 455 | <info>Restart the Base Station</info> |
| 456 | </service> |
| 457 | − |
| 458 | <service name="restore"> |
| 459 | − |
| 460 | <info> |
| 461 | Restore Base Station parameters from saved configuration |
| 462 | </info> |
| 463 | </service> |
| 464 | − |
| 465 | <service name="set"> |
| 466 | <info>Set Basestation Static Parameter</info> |
| 467 | </service> |
| 468 | − |
| 469 | <service name="status"> |
| 470 | <info>Get status of WiMAX RF service</info> |
| 471 | </service> |
| 472 | − |
| 473 | <service name="testService"> |
| 474 | <info>Test service</info> |
| 475 | </service> |
| 476 | <service name="uploadr"/> |
| 477 | }}} |
| 478 | |
| 479 | 5. Saving and Restoring BTS config |
| 480 | |
| 481 | Before starting any experiments, save the xml page output for the following web page |
| 482 | {{{ |
| 483 | localhost:5052/wimaxrf/get?all |
| 484 | }}} |
| 485 | |
| 486 | To restore the BTS in any event,visit the page |
| 487 | {{{ |
| 488 | localhost:5052/wimaxrf/restore |
| 489 | }}} |
| 490 | |
| 491 | Upload the golden xml file you saved earlier and then visit |
| 492 | {{{ |
| 493 | localhost:5052/wimaxrf/restart |
| 494 | }}} |
| 495 | |
| 496 | Ping the BTS machine and make sure the changes are reflected by pulling up the BTS config. |
| 497 | |
| 498 | === 5.8.5 RF Transmission === |