Changes between Version 8 and Version 9 of GENILTE/LTEDeployment


Ignore:
Timestamp:
04/11/17 11:00:21 (7 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENILTE/LTEDeployment

    v8 v9  
    33GENI !OpenAirInterface Evolved Packet Core (ePC) software deployment is captured in this page.  See the [wiki:GENILTE/LTEDeployment/Sites GENI LTE EPc Sites] page for details about sites where this setup is deployed.
    44
    5 GOllowing are reference OAI pages, that provide details about the Kernel and Softwre deployed at the GENI LTE sites:
     5These are reference OAI pages, that provide details about the Kernel and Software deployed at the GENI LTE sites:
    66  * [https://gitlab.eurecom.fr/oai/openairinterface5g/wikis/home OpenAirInterface Project]
    77  * [https://gitlab.eurecom.fr/oai/openairinterface5g/wikis/GetSources OAI Repository]
     
    2828Request the appropriate device for you site (IG, EG).
    2929
     30== Expand Disk Space for IG Raw PC ===
     31
     32InstaGENI Raw PCs have 1 TB drives, but by default the disk space allocation is for 16 GBytes, you must test steps to allocate more disk space, as the RAN kernel installation requires ~ 13GB of disk space.
     33
     34First check to see how available disk resources:
     35{{{
     36lnevers@ltebase:~$  sudo fdisk -l /dev/sda*
     37
     38Disk /dev/sda: 1000.2 GB, 1000171331584 bytes
     39255 heads, 63 sectors/track, 121597 cylinders, total 1953459632 sectors
     40Units = sectors of 1 * 512 = 512 bytes
     41Sector size (logical/physical): 512 bytes / 4096 bytes
     42I/O size (minimum/optimal): 4096 bytes / 4096 bytes
     43Disk identifier: 0x90909090
     44
     45   Device Boot      Start         End      Blocks   Id  System
     46/dev/sda1   *        2048    33556479    16777216   83  Linux
     47/dev/sda2        33556480    39847935     3145728    0  Empty
     48/dev/sda3        39847936    46139391     3145728   82  Linux swap / Solaris
     49/dev/sda4        46139392  1953455039   953657824    0  Empty
     50
     51Disk /dev/sda1: 17.2 GB, 17179869184 bytes
     52255 heads, 63 sectors/track, 2088 cylinders, total 33554432 sectors
     53Units = sectors of 1 * 512 = 512 bytes
     54Sector size (logical/physical): 512 bytes / 4096 bytes
     55I/O size (minimum/optimal): 4096 bytes / 4096 bytes
     56Disk identifier: 0x00000000
     57
     58     Device Boot      Start         End      Blocks   Id  System
     59
     60Disk /dev/sda2: 3221 MB, 3221225472 bytes
     61255 heads, 63 sectors/track, 391 cylinders, total 6291456 sectors
     62Units = sectors of 1 * 512 = 512 bytes
     63Sector size (logical/physical): 512 bytes / 4096 bytes
     64I/O size (minimum/optimal): 4096 bytes / 4096 bytes
     65Disk identifier: 0x00000000
     66
     67Disk /dev/sda2 doesn't contain a valid partition table
     68
     69Disk /dev/sda3: 3221 MB, 3221225472 bytes
     70255 heads, 63 sectors/track, 391 cylinders, total 6291456 sectors
     71Units = sectors of 1 * 512 = 512 bytes
     72Sector size (logical/physical): 512 bytes / 4096 bytes
     73I/O size (minimum/optimal): 4096 bytes / 4096 bytes
     74Disk identifier: 0x00000000
     75
     76Disk /dev/sda3 doesn't contain a valid partition table
     77
     78Disk /dev/sda4: 976.5 GB, 976545611776 bytes
     79255 heads, 63 sectors/track, 118724 cylinders, total 1907315648 sectors
     80Units = sectors of 1 * 512 = 512 bytes
     81Sector size (logical/physical): 512 bytes / 4096 bytes
     82I/O size (minimum/optimal): 4096 bytes / 4096 bytes
     83Disk identifier: 0x00000000
     84
     85Disk /dev/sda4 doesn't contain a valid partition table
     86lnevers@ltebase:~$
     87}}}
     88
     89The above shows that ''/dev/dsa4'' is space available, we will create a partition on /dev/sda4, note that your disk may differ.
     90{{{
     91lnevers@ltebase:~$ sudo mkfs -t ext3 /dev/sda4
     92mke2fs 1.42.9 (4-Feb-2014)
     93Filesystem label=
     94OS type: Linux
     95Block size=4096 (log=2)
     96Fragment size=4096 (log=2)
     97Stride=0 blocks, Stripe width=0 blocks
     9859604992 inodes, 238414456 blocks
     9911920722 blocks (5.00%) reserved for the super user
     100First data block=0
     101Maximum filesystem blocks=4294967296
     1027276 block groups
     10332768 blocks per group, 32768 fragments per group
     1048192 inodes per group
     105Superblock backups stored on blocks:
     106        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
     107        4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
     108        102400000, 214990848
     109
     110Allocating group tables: done                           
     111Writing inode tables: done                           
     112Creating journal (32768 blocks): done
     113Writing superblocks and filesystem accounting information: done     
     114
     115lnevers@ltebase:~$
     116}}}
     117
     118Now we can mount the disk partition to use for the installation:
     119{{{
     120lnevers@ltebase:~$ sudo mkdir /space
     121lnevers@ltebase:~$ sudo mount /dev/sda4 /space
     122lnevers@ltebase:~$ df -kh
     123Filesystem                                        Size  Used Avail Use% Mounted on
     124/dev/sda1                                          16G  1.8G   14G  12% /
     125none                                              4.0K     0  4.0K   0% /sys/fs/cgroup
     126udev                                               24G  4.0K   24G   1% /dev
     127tmpfs                                             4.8G  860K  4.8G   1% /run
     128none                                              5.0M     0  5.0M   0% /run/lock
     129none                                               24G     0   24G   0% /run/shm
     130none                                              100M     0  100M   0% /run/user
     131ops.instageni.gpolab.bbn.com:/q/proj/ch-geni-net  119G  102G  8.0G  93% /proj/ch-geni-net
     132/dev/sda4                                         896G   72M  850G   1% /space
     133lnevers@ltebase:~$
     134
     135}}}
     136
     137Note the kernel installation steps below will download files in the "/space" directory.
     138
    30139== Installing the RAN Kernel ==
    31140
    32 Login to the Dedicated Host and execute the following:
     141If on an InstaGENI with HP Gen8 hosts for the raw-pc reserved, login to the dedicated Host and execute the following:
    33142
    341431. Installing the RAN Kernel:
     
    38147sudo dpkg -i linux-headers-4.7.7-oaiepc_4.7.7-oaiepc-10.00.Custom_amd64.deb linux-image-4.7.7-oaiepc_4.7.7-oaiepc-10.00.Custom_amd64.deb
    39148}}}
     149
     150If your site has HP Gen7 hosts,