Skip to Content

How to reset cluster keys in ezeelogin Master-slave Configuration ?

How to reset the cluster key in order to use the RSA key?


Regenerate cluster key

You need to reinstall the secondary/slave (cluster) node after resetting the cluster key 


1. Enter the following command to reset the cluster key on Primary(master) Ezeelogin.

root@jumpserver:~# /usr/local/ezlogin/eztool.php -regenerate_cluster_key

   This will change the DSA key to RSA as well.
 

The cluster key is located at /usr/local/etc/ezlogin/id_clkey


2. Uninstall on ezeelogin on secondary /slave.
 
  Enter the following command to Uninstall Ezeelogin

root@jumpserver:~# /usr/local/sbin/uninstall_ezlogin.php


3. Install ezeelogin secondary /slave node
 

  Execute the following command

root@jumpserver:~# sh ezlogin_7.x.x.bin -- -secondary -othernode <ip_address of master node>

   Refer to this article to install the Secondary/slave node