- 2 minutes to read
- Print
- DarkLight
- PDF
How to update senhasegura online
- 2 minutes to read
- Print
- DarkLight
- PDF
If you’re using a version prior to 3.33 and wish to update senhasegura to version 3.33 or later, please refer to the article How to update versions prior to 3.33.
If you use Zabbix, it will be necessary to reconfigure it after updating senhasegura to version 3.30 via Orbit Command Line Interface (CLI). For instructions on how to configure Zabbix via Orbit CLI, refer to the article How to configure Zabbix via Orbit CLI.
In this article, you’ll find a guide on how to update senhasegura online.
Requirements
- Firewall Rules: Ensure your firewall settings allow communication with the senhasegura repositories. Detailed firewall rules can be found in the documentation.
- Server Time: Verify that the server's time is correctly set.
- (Situational) Arbitrator: If your environment includes an Arbitrator, remove it from the cluster.
- Snapshot: Take a system snapshot before proceeding with the update.
- Updating Sequentially: For versions that are at least two releases old, update sequentially as instructed in this article.
- New senhasegura Repository: Learn how to set up the new senhasegura repository.
When senhasegura initiates the update process, all features will be unavailable until all nodes in the cluster have been fully updated.
Before updating senhasegura, always run a snapshot on your hypervisor and backup using the Orbit CLI.
If you use the senhasegura Arbitrator, remove it from the cluster before updating senhasegura. Learn more in our documentation.
Take a snapshot
Snapshots should be taken only when senhasegura instances are offline. This ensures the ability to revert to a previous version if necessary.
- You can shut down a senhasegura instance using the following command:
sudo orbit shutdown
- Once the instance is completely shut down, take a snapshot in the hypervisor.
- Reboot your senhasegura instance and update the application.
How to update senhasegura online
As an option, you can download update packages to install at a later time. Download update packages for later installation
In the senhasegura platform, go to Settings > Execution processes, and turn the following items OFF:
- Expired password.
- Expired operation cancellation.
- Operation executor.
- Operation executor: Retry.
Take a snapshot.
Start an SSH session using senhasegura’s administrative user.
Run the following command:
apt-get update
Run the following command:
apt-get install orbit-cli
Run the command below to update senhasegura to the newest version:
orbit update
After the update, restart the system to ensure that all changes were correctly applied. Use the following command:
orbit shutdown -r
Do you still have questions? Reach out to the senhasegura Community.