Last reviewed: 2019-03-26
Two node upgrade process
The idea is to set up a new two node system and to keep the current two node system as a backup.
- Install a new two node system. During installation:
- Transfer configuration files from old two node system from corresponding nodes to the new two node system.
- the whole
custom
folder linux.config
Do this by running from old master node:
scp /usr/local/ubisecure/customerid/application/linux.config <new_master_node_user>@<new_master_node>: scp -r /usr/local/ubisecure/customerid/application/custom <new_master_node_user>@<new_master_node>:
Then on new master node, run:
mv /home/<new_master_node_user>/custom /usr/local/ubisecure/customerid/application/ chown -R wildfly. /usr/local/ubisecure/customerid/application/custom chmod 644 /usr/local/ubisecure/customerid/application/custom/jndi.properties
- the whole
- Correct properties included in the
linux.config
file. Execute setup script on both nodes:
cd /usr/local/ubisecure/customerid/application ./setup.sh
- Perform database schema update depending on versions.
See Database Changes.
- Point the new installation to the same data storages that the old two node system used.
- Transfer configuration files from old two node system from corresponding nodes to the new two node system.
- Move traffic to the new two node installation.
- Shutdown old two node system.
- Backup and remove old two node system.