Upgrading High Availability Installation
Please follow the below steps to upgrade your current PBX HA.
Back up data
Before upgrading, please back up the PBX data.
Stop the PBX service
Perform the below command only on the pbx01.
cd /opt/portsip-pbx-ha-guide && sudo /bin/bash ha_ctl.sh stop -s pbx
Check the current master node
Perform the below command only on the pbx01.
cd /opt/portsip-pbx-ha-guide && sudo /bin/bash ha_ctl.sh master
For example, the below output indicates the current master node is pbx01.

Back up data
Log in to the current master node, and back up the PBX data directory: /var/lib/portsip
Download and update resources
Perform the below command only on the pbx01.
cd /opt && rm -rf portsip-pbx-ha-guide-16-online.tar.gz && \
sudo wget -N https://www.portsip.com/downloads/ha/v16/portsip-pbx-ha-guide-16-online.tar.gz \
&& sudo tar xf portsip-pbx-ha-guide-16-online.tar.gz
Update
Use the new version image of PortSIP PBX to update the PBX.
Please contact PortSIP support to obtain the <PortSIP PBX new version image> before upgrading.
Perform the below command only on the pbx01.
cd /opt/portsip-pbx-ha-guide/ && /bin/bash update.sh <PortSIP PBX new version image>
For example:
cd /opt/portsip-pbx-ha-guide/ && /bin/bash update.sh portsip/pbx:16.4.4.2814-release
Last updated