Upgrade Jump server or Bastion host installation?

Upgrade Ezeelogin jump server on Primary / Master Node

Here is a video to make it easier for you.


If you are running Version 5.x.x, you would first need to upgrade to Version 6.0.x before upgrading to Version 7.0.x.

  • To upgrade to Version 6.0.x, download 6.0.0 and upgrade to Version 6.0.0 first.
  • To upgrade to Version 7.0.x, download 7.0.x and upgrade

If you are already running Version 6.x.x, you would first need to upgrade to Version 7.0.x before upgrading to Version 7.1.6 

  • To upgrade to Version 7.0.x, download 
  •   Once you have upgraded to Version 7.0.0, download version 7.1.6 or latest from the portal on to your gateway server.

If you are already running Version 7.x.x ,you can upgrade to latest Version 

 

Check out the latest system requirements

You are required to upgrade your Ioncube encoder to the latest version 6 and above. Refer the following article to upgrade Ioncube to the latest.

It is recommended to have the secondary node configured and synchronized (cluster setup) to ensure that we can still login to servers via the secondary node and not locked out in the event of an unsuccessful upgrade.



Backup existing jump server installation 

Execute the following script on your server to generate a backup of your installation so that you can restore the backup in case the upgrade breaks.

[email protected]:~$/usr/local/sbin/backup_ezlogin.php


This would create a executable archive of your ezeelogin installation in /var/ezlogin_backup_v6.2.0_b167_Fri_Mar_02_2012_04_23_22_CST.bin

Execute the backup bin file to restore if something goes wrong and you would live to revert.

Now that we have the backups ready, let go ahead with the update on the primary node as follows, preferably in screen


Upgrading Ezeelogin jump server 


 To upgrade ezeelogin, download and run the ezeelogin setup file as follows

[email protected]:~$ sh ezlogin_7.x.x.bin -- -update

Follow the onscreen prompts to complete the upgrade.


Restoring Ezeelogin jump server from backup 


If something is broken after the upgrade, no worries. We will restore the backup from the archive that was created. You would first need to uninstall the current installation on the gateway. Run the following script to uninstall

 

[email protected]:~$ /usr/local/sbin/uninstall_ezlogin.php


Now that we have uninstalled, we can go ahead restore the binary backup archive that was created.

sh /var/ezlogin_backup_v7.0.0_b167_Fri_Mar_02_2012_04_23_22_CST.bin


Follow the onscreen prompts to complete the restoration.



Upgrading Ezeelogin jump server on the Secondary Node
 

Unfortunately, the secondary nodes needs to be re-installed and we are working toward a seamless secondary upgrade as well. 

On the secondary node do the following to set it up again.

  • Uninstall ezeelogin with following command

    [email protected]:~$ /usr/local/sbin/uninstall_ezlogin.php

  • Download the same package used for the primary

    wget https://downloads.ezeelogin.com/ezlogin_7.x.x.bin

     

  • Execute the following command

    sh ezlogin_7.x.x.bin -- -secondary -othernode <ip_address of master node>

 

Refer the following article to setup secondary node.

Refer the video

 

 

5 (1)
Article Rating (1 Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    Install slave / secondary node for high availability in jump server
    Viewed 1216 times since Wed, Jun 14, 2017
    The IP field must contain a valid public IP or how to install Ezeelogin on a machine in lan
    Viewed 1512 times since Wed, Jun 14, 2017
    How to secure SSH jump server / SSH bastion host / SSH gateway
    Viewed 2289 times since Thu, Jun 15, 2017
    How to install ioncube on jump server?
    Viewed 14802 times since Wed, Jun 14, 2017
    What operating systems and platforms are supported to install jump server?
    Viewed 1589 times since Wed, Jun 14, 2017
    Installing Jump server or Bastion host on a linux host in Google or AWS instance ?
    Viewed 1395 times since Thu, Sep 21, 2017