Skip to Content

Trying to install or update a seondary as primary. Use -as_primary option to force it.

Error: Trying to install or update a secondary as primary. Use -as_primary option to force it.


Overview: This article addresses the error encountered when attempting to install or upgrade a master node that has been issued a secondary license. To resolve this, use the -as_primary option. Run the installation script with -as_primary for new installations or the upgrade script with -update -as_primary for upgrades.


This is because you are trying to install or upgrade the master node that has been issued a secondary license for its IP in the customer portal.

Step 1. If you want to install secondary as primary, run the below install script.

root@localhost:# sh ezlogin_7.x.x_php71.bin -- -as_primary

Step 2. If you want to upgrade secondary as primary, run the below upgrade script.

root@localhost:# sh ezlogin_7.x.x_php71.bin -- -update -as_primary


Related Article

Install slave / secondary node for high availability in jump server

How to restore primary using slave node?

Upgrade Ezeelogin Jump server to the latest version