| 1 | [[PageOutline]] |
| 2 | |
| 3 | = 6 Case 1b: WimaxRF-Aggr Mgr Software Installation, Configuration and Operation = |
| 4 | |
| 5 | 6.1 Key Configuration Parameters |
| 6 | |
| 7 | These are the key parameters, that are gathered and then held in the wimaxrf.yaml configuration file. Please modify the ip address of the asngw and bs sections. |
| 8 | |
| 9 | # NOTE: use only 'spaces' to indent ! |
| 10 | # ('tab' indents are not supported by the ruby yaml parser used to read this file) |
| 11 | # |
| 12 | # This is the Config file for the WiMAXRF GridService |
| 13 | # |
| 14 | --- |
| 15 | wimaxrf: |
| 16 | |
| 17 | asngw: |
| 18 | if: eth1 |
| 19 | ip: 192.168.1.50 |
| 20 | port: 2231 |
| 21 | id: ASNGW000 |
| 22 | tecnh: 3 |
| 23 | dsc: IP-Config-Mgmt |
| 24 | |
| 25 | click: |
| 26 | def_gw: 10.41.0.1 |
| 27 | net_mask: 255.255.0.0 |
| 28 | def_ip: 10.41.0.254 |
| 29 | |
| 30 | bs: |
| 31 | ip: 192.168.1.10 |
| 32 | mask: 255.255.255.0 |
| 33 | bsid: 44:51:db:00:00:01 |
| 34 | frequency: 2590000 |
| 35 | |
| 36 | 5.3.3 Install Required Packages ¶ |
| 37 | |
| 38 | 1. Configure apt/sources to include mytestbed.net and orbit-lab.org. Edit the /etc/apt/sources.list and add the following lines: |
| 39 | |
| 40 | deb http://pkg.mytestbed.net/ubuntu karmic/ |
| 41 | deb http://packages.orbit-lab.org/ubuntu jaunty main |
| 42 | |
| 43 | 2. Update information based on the changed sources.list. |
| 44 | |
| 45 | sudo apt-get update |
| 46 | |
| 47 | 3. Now install the ASN-GW software |
| 48 | |
| 49 | sudo apt-get install asn-gw0.9.0 click1.6.0 omf-wimaxrf-aggmgr-5.2 |
| 50 | |
| 51 | 5.6 Configuration of ASN-GW Controller ¶ |
| 52 | |
| 53 | Configuration of software both for the ASN-GW and the WiMAX BTS is done through a single yaml configuration file on the ASN. |
| 54 | |
| 55 | 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. |
| 56 | |
| 57 | Execute the init-wimax.rb file. The file imports all MIBs into local libraries. This needs to be done only once during initialization. |
| 58 | |
| 59 | ruby /usr/share/omf-aggmgr-5.2/omf-aggmgr/ogs_wimaxrf/init-wimax.rb |
| 60 | |
| 61 | 5.8.4 WimaxRF Grid Service operation ¶ |
| 62 | |
| 63 | 1. Start the omf aggregate manager. This is required for the grid service to be in operation. |
| 64 | |
| 65 | /etc/init.d/omf-aggmgr-5.2 restart |
| 66 | |
| 67 | 2. Check the service starts by looking at the process table as well as tailing the logs |
| 68 | |
| 69 | /var/log/omf-aggmgr-5.2.log |
| 70 | |
| 71 | 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 |
| 72 | |
| 73 | 3. Start a web browser on the asn_gw. Make sure the WimaxRf? grid service is working. |
| 74 | |
| 75 | localhost:5052/wimaxrf |
| 76 | |
| 77 | 4. The web page has all the commands the service supports |
| 78 | |
| 79 | <service name="get"> |
| 80 | <info>Get Basestation Static Parameter</info> |
| 81 | </service> |
| 82 | − |
| 83 | <service name="info"> |
| 84 | <info>Get information about the Base Station</info> |
| 85 | </service> |
| 86 | − |
| 87 | <service name="restart"> |
| 88 | <info>Restart the Base Station</info> |
| 89 | </service> |
| 90 | − |
| 91 | <service name="restore"> |
| 92 | − |
| 93 | <info> |
| 94 | Restore Base Station parameters from saved configuration |
| 95 | </info> |
| 96 | </service> |
| 97 | − |
| 98 | <service name="set"> |
| 99 | <info>Set Basestation Static Parameter</info> |
| 100 | </service> |
| 101 | − |
| 102 | <service name="status"> |
| 103 | <info>Get status of WiMAX RF service</info> |
| 104 | </service> |
| 105 | − |
| 106 | <service name="testService"> |
| 107 | <info>Test service</info> |
| 108 | </service> |
| 109 | <service name="uploadr"/> |
| 110 | |
| 111 | 5. Saving and Restoring BTS config |
| 112 | |
| 113 | Before starting any experiments, save the xml page output for the following web page |
| 114 | |
| 115 | localhost:5052/wimaxrf/get?all |
| 116 | |
| 117 | To restore the BTS in any event,visit the page |
| 118 | |
| 119 | localhost:5052/wimaxrf/restore |
| 120 | |
| 121 | Upload the golden xml file you saved earlier and then visit |
| 122 | |
| 123 | localhost:5052/wimaxrf/restart |
| 124 | |
| 125 | Ping the BTS machine and make sure the changes are reflected by pulling up the BTS config. |