Loader

Zip Software Upgrade

Note: This procedure is only for initial system turnup.

This section defines the software upgrade procedure that is used when the user wants to upgrade the system via ZTP or Zero Touch Provisioning. This feature is only activated on the first system initialization or when the system is returned to factory defaults.

To perform an upgrade first log onto the zip server via ssh: 

sshztp@172.28.152.65

password: ztp

  1. Go to the configuration directory. There is an alias cdconfig to go to this directory.

Directory is: /opt/tellabs/ztp/httpfile/config

  1. Use nano or your favorite editor to edit the file:

ztp-config-<your serial number>.xml

  1. Find the following lines and modify the version numbers to the loads desired:

<primary-download-config-version>"SR33.0_620094"</primary-download-config-version>

<secondary-download-config-version>"SR33.0_620893"</secondary-download-config-version>

Note: The software must be present on the server for proper operation.  Ensure your secondary bank has a valid load.
Go onto your BOLT board and log in.
  1. Go to the directory: /usr/bob/bin

Execute: ./reset_to_factory_defaults.sh pdo

  1. The pdo will bypass the dram optimization step and preserve the settings.  This makes things go a lot faster and is only needed on new factory units.
Note: This is currently necessary as we are rapidly evolving the schema.  In the future, the Yang interface will start to settle, and most configs can be preserved.  Only schema changes affect upgrade capabilities.

 

  1. The pdo command will delete your database, and it will upgrade to the releases specified above.
  2. The system will reboot several times before completing the update. This is normal.
Note: Access to the network is necessary to initiate the pdo command.

 

The user can attempt to upgrade while preserving the user's database by doing the following command. There are no guarantees that the user will have service after the upgrade, as schema changes will likely cause conflicts that confd will not be able to resolve and will halt the configuration process.

To do a software update without wiping the database:

  1. Go to the directory: cd /usr/bob/bin

Execute: Python ztp.py -- mode ZTPSW


 

FEEDBACK: Are you happy with this material?