Update BDD

  1. Stop NumberUpdate.

    cd $NumberUpdate_HOME/unix/run
    ./stop_NumberUpdate.sh
    
  2. Deposit and unpack new BDD file into the utils directory and take note of the last-transaction-id in the file name.

    cd $NumberUpdate_HOME/unix/utils
    gunzip -c bddfile.tar.gz | tar -xvf -
    
  3. Execute the two scripts that will generate new ported_numbers.cfg & ported_regions.cfg.

    ./NPAC_BDD-2-OSPrey_ported_numbers.sh
    ./NPAC_BDD-2-OSPrey_ported_regions.sh
    
  4. Edit the .last-transaction-id.memo file to have the new string.

    cd $NumberUpdate_HOME/etc
    vi .last-transaction-id.memo
    
  5. Stop OSPrey server.

    cd $OSPrey_HOME
    ./stop_osp_server.sh
    
  6. Copy new ported*.cfg files to the etc directory.

    cd $OSPrey_HOME/etc
    cp $NumberUpdate_HOME/unix/utils/ported*.cfg .
    
  7. Restart OSPrey.

    cd OSPrey_HOME
    ./start_osp_server.sh
    
  8. When OSPrey is back up (you can see the GUI), restart NumberUpdate.

    cd $NumberUpdate_HOME/unix/run
    ./run_NumberUpdate.sh