Stop NumberUpdate.
cd $NumberUpdate_HOME/unix/run
./stop_NumberUpdate.sh
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 -
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
Edit the .last-transaction-id.memo file to have the new string.
cd $NumberUpdate_HOME/etc
vi .last-transaction-id.memo
Stop OSPrey server.
cd $OSPrey_HOME
./stop_osp_server.sh
Copy new ported*.cfg files to the etc directory.
cd $OSPrey_HOME/etc
cp $NumberUpdate_HOME/unix/utils/ported*.cfg .
Restart OSPrey.
cd OSPrey_HOME
./start_osp_server.sh
When OSPrey is back up (you can see the GUI), restart NumberUpdate.
cd $NumberUpdate_HOME/unix/run
./run_NumberUpdate.sh